Jan 07, 2024 04:50 AM
Hi. Still learning here! This support is invaluable, thank you. 🙏
I have an automation that sends an email with when 3 specified fields are 'not empty'. The email contains an invoice as an attachment. I want to make absolutely sure that the automation will never run again on that record under any circumstances, - even if I accidentally change a field and the record records a new modified date/time.
Is this possible please?
Solved! Go to Solution.
Jan 07, 2024 09:29 AM
Hey @hauwi!
While it's not a built-in feature, there are a few ways to approach this problem.
The most straightforward way is to create a new field that you can use to represent the state change. A checkbox is an easy pick, but you could use other field types depending on your required level of complexity.
Change the permissions on that checkbox field to restrict anyone from editing the value of the field. You will, however, want to leave the option enabled for automations to edit the field value.
Now, head into the automation workflow in question. Here, you'll need to do two things.
First, add a new condition to your trigger that specifies that the trigger should not continue if that newly created field returns true.
Lastly, in your Update record action, have the automation set the value of the checkbox field to true.
Now, I can foresee a world in which you might want to manually retrigger an automation flow for a record. If that's something that's applicable to your use case, you can update the field permissions to only allow specific users to edit the values of your checkbox field.
Jan 07, 2024 09:29 AM
Hey @hauwi!
While it's not a built-in feature, there are a few ways to approach this problem.
The most straightforward way is to create a new field that you can use to represent the state change. A checkbox is an easy pick, but you could use other field types depending on your required level of complexity.
Change the permissions on that checkbox field to restrict anyone from editing the value of the field. You will, however, want to leave the option enabled for automations to edit the field value.
Now, head into the automation workflow in question. Here, you'll need to do two things.
First, add a new condition to your trigger that specifies that the trigger should not continue if that newly created field returns true.
Lastly, in your Update record action, have the automation set the value of the checkbox field to true.
Now, I can foresee a world in which you might want to manually retrigger an automation flow for a record. If that's something that's applicable to your use case, you can update the field permissions to only allow specific users to edit the values of your checkbox field.
Jan 08, 2024 11:37 AM
If you want to restrict automation to trigger only once per record, regardless of subsequent data changes, you'll need to implement a mechanism to keep track of whether the record has already been processed. Here are some general steps you can take, depending on the tools or platforms you are using:
Use a Field to Track Processing:
Update Field on Initial Trigger:
Set Conditions in Automation Platform:
Jan 09, 2024 05:28 AM
Thanks so much to both of you. That works perfectly. 😁