-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom attributes as triggers, conditions and actions for automations and macros #5886
Comments
+1 |
@ASchneiderBR Thanks for the report. Custom attributes are now available in automation trigger conditions We will consider the other requests for actions and macros for future releases. |
Thank you @sojan-official! I'm trying a self-hosted version, is it possible to update my instance so I can try this now? Thanks. |
@ASchneiderBR You can cherry-pick the commit from the above PR, but we would suggest you wait until we add it in the sooner release so that we would know if there are any impacts of the above changes on our staging. |
@tejaswinichile Perfect! Thanks a lot! Are actions also planned? It would be great to set custom properties in automations as well. |
@ASchneiderBR Right now, we are not supporting actions for custom attributes but the conditions filters based on the custom attributes are there. Could you give an example of what sort of actions you required?
I did not get this |
Helllo @tejaswinichile! It would be nice to have in the Having this done, if we could use simple operations like add, subtract, to certain types of custom attributes, like number, we could update its field using simple math, for example: Custom attribute - This is a simple example but it could be use with text, to add something to the left/right of a text custom attribute, even use regex or something like this. Not only with automations, but with macros as well. Thank you! |
Related to this, would it be possible to consider adding/removing labels as trigger for automation? Would be helpful especially when using the mobile app, as there is no option to trigger macros from the mobile app. |
+1 |
+1 (and labels also) |
Is your feature request related to a problem? Please describe.
Hello! A really nice feature that I miss when using automation and macros, is the ability to use custom attributes for triggering, conditions and actions. I believe this could unlock so many possibilities, like using custom attributes as variables, creating very powerful "pseudo-bots" natively.
Describe the solution you'd like
It would be great to be able to choose custom attributes when creating automations and macros, so, for example, I could set this automation to only work when a message is triggered and this custom attribute is set to continue. Or to set a custom attribute as an action. Also, having the ability for basic functions in actions, like adding/subtracting to a number type custom attribute, adding text after/before, would also be great. I think this would be a simple way of creating bots.
Thanks!
The text was updated successfully, but these errors were encountered: