Trigger automation using action button!!

I want to trigger an automation that I have created, basis an action button. Please assist on how to do it.

Solved Solved
0 3 426
2 ACCEPTED SOLUTIONS

Please read the part "Send an email from an action button" in the help article below. The example describes sending an email. But you can invoke  other automations also from an action button. Basically the action button changes a column value and that in turn acts as a data change event condition. 

Example automations - AppSheet Help

Suvrutt_Gurjar_0-1717597234552.png

 

 

 

View solution in original post

The easiest way to do this is to have a "trigger" column on your data table, then use the action to modify that trigger field. 

The automation should look for a data change on that specific field

This will look for any change to that specific column:

[_THISROW_BEFORE].[triggerColumn]<>[_THISROW_AFTER].[triggerColumn]

This will look for a specific change to your column:

AND(

[_THISROW_BEFORE].[triggerColumn]<>[_THISROW_AFTER].[triggerColumn],

[_THISROW_BEFORE].[triggerColumn]="your desired trigger value (from the action)"

then have as the last step in the automation to clear the value in the trigger column. 

 

I hope this helps!

View solution in original post

3 REPLIES 3

Please read the part "Send an email from an action button" in the help article below. The example describes sending an email. But you can invoke  other automations also from an action button. Basically the action button changes a column value and that in turn acts as a data change event condition. 

Example automations - AppSheet Help

Suvrutt_Gurjar_0-1717597234552.png

 

 

 

The easiest way to do this is to have a "trigger" column on your data table, then use the action to modify that trigger field. 

The automation should look for a data change on that specific field

This will look for any change to that specific column:

[_THISROW_BEFORE].[triggerColumn]<>[_THISROW_AFTER].[triggerColumn]

This will look for a specific change to your column:

AND(

[_THISROW_BEFORE].[triggerColumn]<>[_THISROW_AFTER].[triggerColumn],

[_THISROW_BEFORE].[triggerColumn]="your desired trigger value (from the action)"

then have as the last step in the automation to clear the value in the trigger column. 

 

I hope this helps!

Thank you guys got it!