Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

How to add a tag on a specific event

Topic Labels: Automations
244 2
Showing results for 
Search instead for 
Did you mean: 

We need an automation to tag a customer that is returning their purchase with 14 days.

We want to add the tag “to refund” upon these conditions;
They cancelled the order within 14 days of “activation date”

We have the following fields

  • “delivered date”
  • “cancellation date”

how do i make an automation to calculate the amount of days between those two fields and if the value is 1 through 14, add a tag to “line features”?

thanks for your help

2 Replies 2

You can do this without an automation using a simple formula field.

    {activation date},
    {cancellation date},
    DATETIME_DIFF({cancellation date}, {activation date}, 'days') < 15
  'to refund',

If you do want to use an automation, set your trigger to be “when Formula contains ‘to refund’”

no such trigger option.