Hey! So I’ve been using Zapier for almost a year now, I’ve got a series of Zaps that once they were setup worked FLAWLESSLY. For context, I’ve got automations so that if an edit gets approved it’ll duplicate the edit. Move it to a client edit folder. Notify a producer within a slack channel specific for that frame project with review links, comments to original, etc…
A few days ago I’ve noticed that my Zaps are randomly repeating 2-5 times despite the asset label change trigger only happening once. The repeating sometimes happens within half of a second of each other or sometimes multiple seconds.
What can I do to stop frame sending multiple triggers for one action. Alternatively, I’ve tried adding a comment to a video and adding a filter to the start of the zap so if it finds the “repeat test” comment sop it won’t continue with the zap. The find comment action within Zapier is really buggy, often just providing app says “Not Found” errors…
I’m using tasks like crazy with this issue so I’d really appreciate any help please!!!
Frame.io: Triggers repeating randomly, how do slow down/reduce version update triggers?
Best answer by CannonBallBest answer by CannonBall
So what I did was start by capturing the start time & date for when the zap started using: zap_meta_utc_iso:YYYY-MM-DDTHH:mm:ss+00:00
Using formatter I also converted this to X format (this is important for greater than filtering later)
I’ve got another formatter which get the current time value and subtracts 2 minutes.
The find record action searches my notification relay table for the Asset ID, Label & Start Time. If it finds the exact same result as the trigger it’ll filter out. If it doesn’t, it’ll add the data to the table based on the trigger and continue down the chain.
After that there’s a filter that checks the start time value returned by the find record function and compares it to the current time-2minutes output. If the start time returned from the table is greater than that value the rest of the function will continue. This allows me to filter out/ignore repeated Frame triggers as long as it’s not within a 2 minute window.
Finally to clean up the table, after a 3 minute delay it’ll delete the record that was added.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.