Shopify + Mautic
Configured with Crypto, Graphql, Mautic, Shopify Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Routing
- Integration
- Transform
- Web / API
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Shopify Trigger | Trigger | Shopify Trigger | See node parameters |
| Accepts Marketing? | Routing | If | See node parameters |
| Accepts Marketing?1 | Routing | If | See node parameters |
| No Operation, do nothing | Routing | No Op | See node parameters |
| Add to confirmed segment | Integration | Mautic | contactSegment |
| Remove from confirmed segment | Integration | Mautic | contactSegment / remove |
| Webhook | Trigger | Webhook | See node parameters |
| Crypto | Transform | Crypto | See node parameters |
| If | Routing | If | See node parameters |
| No Operation, do nothing1 | Routing | No Op | See node parameters |
| GraphQL | Web / API | Graphql | See node parameters |
| Marketing Consent - subscribed | Web / API | Graphql | See node parameters |
| Marketing Consent - unsubscribed | Web / API | Graphql | See node parameters |
| Mautic - Accepts Marketing? | Routing | If | See node parameters |
| Customer exists? | Routing | If | See node parameters |
| No Operation, do nothing2 | Routing | No Op | See node parameters |
| Set Shopify Subdomain | Transform | Edit Fields | See node parameters |
| Search for Contact by Email | Integration | Mautic | getAll |
| Contact exists? | Routing | If | See node parameters |
| Create a new contact | Integration | Mautic | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
httpHeaderAuthmauticOAuth2ApishopifyAccessTokenApi
Workflow notes
Webhook Validation
Webhook Validation
We use the same key shared with Mautic to hash the incoming request. If the computed hash is identical to the one delivered the request is valid and can be processed
Mautic Segments
Mautic Segments
The n8n Shopify node cannot Please make sure to select your segment on both nodes
Shopify
Shopify
The n8n Shopify node cannot get customer marketing consent, so we get this from the Shopify GraphQL API
Mautic to Shopify
Mautic to Shopify
This part uses GraphQL calls to the Shopify Admin API. In order to get a better understanding for the queries and mutations please check the API Docs.
Examples from the Shopify Docs used in this workflow:
Get the first ten customers with an enabled customer account
Shopify to Mautic
Shopify to Mautic
This part uses the Shopify Trigger to watch for changes on customer data.
To use the Mautic nodes please make sure you have the API enabled in your Mautic Instance.
Shopify + Mautic
Shopify + Mautic
Purpose and structure
This folder contains the Shopify + Mautic workflow. Its executable nodes use crypto, graphql, if, mautic, noOp, set, shopifyTrigger, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Shopify Trigger, Webhook
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Mautic/1526_Mautic_Webhook_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Set your Shopify Subdomain here