Hi Expert,
Recently, our business department requires that if the customer status meets certain conditions, send an email after 2 hours
E.g
John Smith’s record was created at 12:00 PM, his status is new, and the stream should run at 2:00 PM to send him an email.
Joanne White record was created at 12:01 PM, her status is new, and the stream should run at 2:01 PM to send her an email.
Thank you!
Cindy
Hi @Cindy0908,
You could use a delay until action and use an expression which adds 2 hours to the created on date/time value of the record.
Below is an example of that approach.
formatdateTime(addHours(triggerOutputs()?['body/createdon'], 2), 'yyyy-MM-ddTHH:mm:ssZ')