Recent searches


No recent searches

How do I prevent an automation from running more than 1 time every 5 days



image avatar

Rusty Wilson

Zendesk Luminary

Posted Sep 26, 2024

I have an automation that is currently working fine. All I want to do is add some logic to ensure that it wont run more than 1 time every 5 days.

I thought this would be simple:
1. add an action to automation to set a custom field on the user object to DATE
2. add an addition check to the automation for NOW - DATE ≥ 5, if that condition isn't met, automation won't run. If condition is met, then per step 1, a new DATE will be written to the custom field on the user object.

Apparently there is no way to make this simple process work - unless I'm missing something. Am I missing something?!?

Problem 1: in the actions I've discovered I cant use something like {{now}}, or {{date}} for the custom date field as it will take only numbers or a pick from the calendar object.

Problem 2: even IF I could get a date into the custom field, there's no logic it seems to do a simple {{now}}-{{today}}

So what solutions has anyone come up with to limit the rate of an automation? 


0

0

0 comments

Please sign in to leave a comment.

Didn't find what you're looking for?

New post