Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Oct 24, 2021 09:08 AM
Hey all,
In the new automations dashboard, is it possible to add a conditional action - one that only runs if a condition is met.
My use case is that I’m trying to create a 2-way sync with a Google calendar. If I create an event in Google Calendar, I want it to first search my base by event ID to see if it already exists. If it does not, then I want it to create a new record. If it does, then I want it to update any fields that have changed in Google.
I may be going about this all wrong. Any suggestions?
Thanks!
Joel
Solved! Go to Solution.
Jan 19, 2022 11:26 AM
Hey @Joel_Andrews1 - I hope you’re doing well! Wanted to reach out and let you know that as of today, conditional automations are now available in Airtable. You can read more here and I hope this is helpful news :tada:
Oct 24, 2021 10:32 AM
Currently there is not a no-code way of having conditional actions in Airtable automations. You can include conditional logic in a Scripting action.
Oct 24, 2021 11:18 AM
It seems like conditional automations will be coming soon to Airtable, but nobody outside of Airtable staff knows when that will happen.
In the meantime, as @kuovonne said, you can write your own conditional JavaScripts.
For non-coders, my personal favorite way to create conditional automations is to use Integromat. It’s immensely powerful yet very easy to use… it’s just point and click and drag! :slightly_smiling_face:
Oct 25, 2021 05:51 AM
I guess I don’t understand how the Update function works, then. How does it identify which record needs to be updated without first searching for a unique ID?
I can’t figure out how to create 2-way sync either, because if I set up automations to go both directions, it creates a loop that will start duplicating events indefinitely.
Oct 25, 2021 09:48 AM
The automation was first designed so that the record to be updated was the triggering record.
Jan 03, 2022 04:16 AM
Ok, so here’s another use case that I can’t figure out how to do without conditionals. I want to send a daily digest of events occurring that day, but only if there are events occurring that day (I don’t want to send a blank digest). Is there any way to manage that currently? Also, I’d like it to only occur on weekdays.
Thanks for the help!
Jan 03, 2022 04:53 AM
Scripting or an external automation tool like Integromat.
Jan 03, 2022 06:15 AM
To send the email only on weekdays, you can setup the automation to run on a schedule and select your days of the week.
To send the email only if there are events, you have a few choices
Jan 03, 2022 08:42 AM
I like that clever 2-automation trick.
Jan 19, 2022 11:26 AM
Hey @Joel_Andrews1 - I hope you’re doing well! Wanted to reach out and let you know that as of today, conditional automations are now available in Airtable. You can read more here and I hope this is helpful news :tada: