cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mdjanz
Regular Visitor

Add Member to Mailchimp Varying Delay

I have this flow setup (thanks to help from these fourms!) to add an email to my mailchimp list off required attendees of a created calendar event.

 

I want to have the addition to that list be delayed until 24 hours before the event is scheduled to occur (using the "Start Time" dynamic content from outlook calendar). Obviously the times between when the event is put on the books and when it will occur will vary. 

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @mdjanz,

 

Could you please share a bit more about your flow's configuration?

Do you want your flow to be delayed until 24 hours to add member to your Mailchimp list?

 

I agree with @douglasromao's thought almost, if you want your flow to be delayed until 24 hours to add member to your Mailchimp list, I think the "Delay Until" action could achieve your needs.

 

If you want your flow to be delayed until 24 hours based on the "Start Time" of the created Outlook event, I have made a test on my side, please take a try with the following workaround:1.JPG

 

Within "Delay Until" action, the Timestamp field set to following formulas:

formatDateTime(addHours(triggerBody()?['Start'],24),'yyyy-MM-ddTHH:mm:ssZ')

or 

formatDateTime(addDays(triggerBody()?['Start'],1),'yyyy-MM-ddTHH:mm:ssZ')

The flow works successfully as below:2.JPG

 

 

More details about using expression in flow actions, please check the following article:

Use expression in flow actions

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
douglasromao
Kudo Kingpin
Kudo Kingpin

Hi @mdjanz,

 

You can use the "Delay until" action, you just need to calculate adding the 24 hours based on the event scheduled date on this action and the workflow will be stopped until this time.

 

I think this might help you.

 

Regards,

Douglas

v-xida-msft
Community Support
Community Support

Hi @mdjanz,

 

Could you please share a bit more about your flow's configuration?

Do you want your flow to be delayed until 24 hours to add member to your Mailchimp list?

 

I agree with @douglasromao's thought almost, if you want your flow to be delayed until 24 hours to add member to your Mailchimp list, I think the "Delay Until" action could achieve your needs.

 

If you want your flow to be delayed until 24 hours based on the "Start Time" of the created Outlook event, I have made a test on my side, please take a try with the following workaround:1.JPG

 

Within "Delay Until" action, the Timestamp field set to following formulas:

formatDateTime(addHours(triggerBody()?['Start'],24),'yyyy-MM-ddTHH:mm:ssZ')

or 

formatDateTime(addDays(triggerBody()?['Start'],1),'yyyy-MM-ddTHH:mm:ssZ')

The flow works successfully as below:2.JPG

 

 

More details about using expression in flow actions, please check the following article:

Use expression in flow actions

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,588)