Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I change email marketing status using Shopify Flow?

Solved

How can I change email marketing status using Shopify Flow?

hirokiazuma
Shopify Partner
3 0 0

I would like to change the Email marketing status of some of my account subscribers from subscribed to Unsubscribed using Shopify Flow.

 

Also, is it possible to figure out the actions, etc. just by looking at the API reference? I am a beginner and cannot grasp the information well. I would appreciate it if you could help me with this as well.

Accepted Solution (1)
paul_n
Shopify Staff
1426 156 330

This is an accepted solution.

This isn't an unsubscribe action yet in Flow. 

 

That said, you could do something like tag the customer with "no marketing" or "POS" and then check that tag in your marketing actions. 

 

It would be possible to unsubscribe via the API if you use Send HTTP Request using this API:
https://shopify.dev/docs/api/admin-graphql/2023-07/mutations/customerEmailMarketingConsentUpdate 

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.

View solution in original post

Replies 4 (4)

Gojiberry-Amee
Shopify Partner
190 12 49

Hi Hiroki san, 

This is Amee from Gojiberry - Shopify Survey & Feedback App

Are you using certain email clients to connect to Shopify API for email marketing? Usually, you should be able to unsubscribe certain emails from the email client directly. 

I am not sure if this answers your questions, perhaps some more clarification is needed. 

Hope this helps. 

Amee | Gojiberry Team 

If you like my suggestion please give it a LIKE or mark it as a solution! ★★★★★

Gojiberry - Best post-purchase survey and feedback app for Shopify | Install on App Store for free
Shopify Community is helpful, BUT... why not start asking your customers for feedback instead?


The Ultimate 12 Best Practices to Growing Your Shopify Store

hirokiazuma
Shopify Partner
3 0 0

Hi Amee

Thanks for the reply, I've only been touching Shopify Flow for a few days so getting replies helps.

The situation I'm envisioning now is special, but I want to set it up so that I don't send emails to any of my customers who have purchased via Point of Sale.

Therefore, we want the status to change automatically, not by customer control.

 

Thanks.

paul_n
Shopify Staff
1426 156 330

This is an accepted solution.

This isn't an unsubscribe action yet in Flow. 

 

That said, you could do something like tag the customer with "no marketing" or "POS" and then check that tag in your marketing actions. 

 

It would be possible to unsubscribe via the API if you use Send HTTP Request using this API:
https://shopify.dev/docs/api/admin-graphql/2023-07/mutations/customerEmailMarketingConsentUpdate 

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.
hirokiazuma
Shopify Partner
3 0 0

Hello, Paul

Thank you for your answer, I see that the Email marketing status cannot be changed in a direct action in Flow.

I will try to use the HTTP request method you mentioned instead.

Regards, Paul