Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Shopify does not comply with Danish rules when it comes to marketing/newsletter sign-up.
I need the customer to complete the checkout before the newsletter sign-up event is actually stored.
Out of the box Shopify creates the customer in checkout and also saves the newsletter sign-up done in checkout even if the customer does not complete the checkout.
So I need a flow to check if the user does not complete the checkout but did opt-in to marketing.
In this case I need to unsubscribe them from marketing.
UNLESS if they were previously subscribed to marketing then I should not unsubscribe them.
I can't find a way to do this - probably because I'm not familiar with Flow.
I can see the Abandoned cart condition and I can find the condition if the customer accepts marketing, but I can't find any way to check if they already accepted marketing before they began checkout - and I also can't find the action to unsubscribe them.
Can anyone help?
I don't think there is a way in the API to know if they already had consent before it was updated. To do that, you could store the first consent when it happens to a metafield. You would also need to clear that if they ever revoke their consent. The app Flow helper has a "Customer unsubscribed from email marketing" trigger that may be helpful there
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025