Keep email marketing consent in sync between Shopify customers and Mautic segments. Built for ecommerce teams that send campaigns and need accurate consent in both systems. You get clean lists and quick updates without manual edits.
Two event paths keep data aligned. When Shopify updates a customer, the workflow finds or creates the contact in Mautic, then adds or removes the person from a confirmed segment based on the marketing consent flags. When Mautic changes a contact’s email subscription, a secure webhook hits n8n, the request is checked with an HMAC signature, and the flow looks up the Shopify customer by email through the Admin GraphQL API. A mutation then sets the email marketing consent to subscribed or unsubscribed. The logic uses If nodes for decisions, Mautic OAuth2 for contacts and segments, and Shopify header auth for GraphQL.
Setup needs a Shopify Admin API token, your store subdomain, a Mautic instance with API enabled, a segment ID, and a shared secret for the webhook. Expect faster list updates, fewer consent errors, and better compliance. It works well for post purchase opt in, GDPR requests, and support driven opt outs. Follow the steps below to configure and test the sync.