Shopify Flow - Exclude certain Emails from sending Emails

Shopify Flow - Exclude certain Emails from sending Emails

Wwwes
New Member
4 0 0

Dear,

 

I'm recently moved to Shopify and I try to work with the app "Flows". 
This is pretty straight forward, however I want to exclude certain emails from our mailing list. 
Emails such as tracking and other marketing emails.

The emails are all ending on the same part @xxx.com. So I can build a flow on that part, but the "then" option is not possible unfortunately... 

Hopefully you can help me.

Thank you very much. 

With kind regards,
Wwes

Replies 5 (5)

paul_n
Shopify Staff
1509 164 353

For emails send through Flow, you can add a condition that checks if the email "includes" a certain string like a domain. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Wwwes
New Member
4 0 0

Hey Paul,

Thank you for replying. 
This part of the workflow is now running, however I'm not able to exclude this customers from the mailing list. 
The "Then" action doesn't include such a thing as "don't send an email to these customers". 

Could you maybe tell me a workaround for this? 

paul_n
Shopify Staff
1509 164 353

A condition if checking is a condition is true. If not, it goes to the "Then" path. So if you check for that email, the then path will be when it doesn't have that email.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Wwwes
New Member
4 0 0

So that part I can get working, but within the "Then" options I want an option where we can say: "Then don't send any emails to this customer from Shopify"

paul_n
Shopify Staff
1509 164 353

You can't prevent them from getting Order confirmation emails and stuff like that, but you can block marketing emails by unsubscribing them from marketing (use Send Admin API request) 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.