Email Automation Workflow Failed, Want to Repeat Until Successful

Teranis
Excursionist
11 0 1

Hello, I tried looking for a solution online and didn't find anything. I also tried to make a workflow by myself but I guess I couldn't figure out the proper wording or commands to use.

 

A little background, we had some issues with discount codes and had to disable some and then reactivate them when we worked out the kinks. Doing that basically broke one of our email automations inadvertently, as it includes a discount code for becoming a subscriber. I have the automation back up and running now, but this isn't the first mishap with this damn automation, and there's no "resend" function to just send the email to customers that it failed to send to.

 

I use the Shopify Email app for this. What I'd like to do, is after the final step of the workflow "Send Marketing Email" have a repeating fail-safe that checks on the workflow run history every 5 days or so to see if it was successful, and then it would stop for that customer as soon as it recognizes a Successful run.

 

This is my current workflow, it's simple I know. A template if I remember right.

New Subscribers Automation.png

Any insight would be helpful and welcome.

 

Thank you

Replies 4 (4)

Kalen_Jordan
Shopify Partner
446 15 64

You probably want to use this new error handling feature they released for this:

https://changelog.shopify.com/posts/shopify-flow-get-notified-when-errors-happen

Kalen Jordan
Platform Advocate
MESA - Shopify Automation You've Love
Teranis
Excursionist
11 0 1

Okay thank you. I definitely needed that since there are no other notifications that any of the automations send out when they fail. I appreciate that. Any recommendation on how I should send my introductory email out to the customers that were affected by the failed workflow runs?

Kalen_Jordan
Shopify Partner
446 15 64

Hmm not sure there would be an easy way to grab all of the failed ones. If you had been tagging the customer after a successful email send then you could go back through all customers that were missing that tag and resend...hindsight is 20/20 😅

Kalen Jordan
Platform Advocate
MESA - Shopify Automation You've Love
Kalen_Jordan
Shopify Partner
446 15 64

Actually there is some API access to marketing activities - I'm not sure whether they would pull in marketing email sends. But if they do, you could use that to determine which customers didn't receive the email yet.

 

I'd be happy to look into this if you wanted to give me some access to check it out.

Kalen Jordan
Platform Advocate
MESA - Shopify Automation You've Love