The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"meta": {
"versionId": "1.0.0",
"createdAt": "2025-09-29T07:07:52.259008",
"updatedAt": "2025-09-29T07:07:52.259019",
"owner": "n8n-user",
"license": "MIT",
"category": "automation",
"status": "active",
"priority": "high",
"environment": "production"
},
"nodes": [
{
"id": "5cb9cd37-a73d-4f3f-b4dd-4b56e79f4056",
"name": "On order updated",
"type": "n8n-nodes-base.shopifyTrigger",
"position": [
380,
200
],
"parameters": {
"topic": "orders/updated"
},
"credentials": {
"shopifyApi": {
"name": "<your credential>"
}
},
"typeVersion": 1,
"notes": "This shopifyTrigger node performs automated tasks as part of the workflow."
},
{
"id": "720e35c7-387e-428a-8930-0dfb67536382",
"name": "Keep only userId",
"type": "n8n-nodes-base.set",
"position": [
860,
280
],
"parameters": {
"values": {
"number": [
{
"name": "userId",
"value": "={{ $json[\"vid\"] }}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1,
"notes": "This set node performs automated tasks as part of the workflow."
},
{
"id": "3bb1f676-6733-4c1f-b3d0-4604f8baa0c8",
"name": "New Order, deal not found",
"type": "n8n-nodes-base.if",
"position": [
1560,
220
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json}}",
"operation": "isEmpty"
}
]
}
},
"typeVersion": 1,
"notes": "This if node performs automated tasks as part of the workflow."
},
{
"id": "7f4b86a1-9ea7-4c5d-a336-eea2ec6dc341",
"name": "Do Nothing",
"type": "n8n-nodes-base.noOp",
"position": [
1800,
320
],
"parameters": {},
"typeVersion": 1,
"notes": "This noOp node performs automated tasks as part of the workflow."
},
{
"id": "f60c88f1-8dab-498e-9f18-d7842dfa60c6",
"name": "Create new deal",
"type": "n8n-nodes-base.hubspot",
"position": [
1800,
120
],
"parameters": {
"stage": "closedwon",
"authentication": "{{ $credentials.oAuth2 }}",
"additionalFields": {
"amount": "={{ $(\"Add Hubspot userId to data\").item.json[\"current_total_price\"] }}",
"dealName": "={{ $(\"Add Hubspot userId to data\").item.json[\"name\"] }}",
"closeDate": "={{ $(\"Add Hubspot userId to data\").item.json[\"created_at\"] }}",
"associatedVids": "={{ $(\"Add Hubspot userId to data\").item.json[\"userId\"] }}"
}
},
"credentials": {
"hubspotOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 1,
"notes": "This hubspot node performs automated tasks as part of the workflow."
},
{
"id": "3d9de7e0-8cd4-4cea-a78c-8a862c32edeb",
"name": "Find if order already exists as deal",
"type": "n8n-nodes-base.hubspot",
"position": [
1340,
220
],
"parameters": {
"operation": "search",
"authentication": "{{ $credentials.oAuth2 }}",
"additionalFields": {
"query": "={{ $json[\"name\"] }}"
}
},
"credentials": {
"hubspotOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 1,
"alwaysOutputData": true,
"notes": "This hubspot node performs automated tasks as part of the workflow."
},
{
"id": "f85b698a-872a-477b-9466-e35622b381a2",
"name": "Add Hubspot userId to data",
"type": "n8n-nodes-base.merge",
"position": [
1140,
220
],
"parameters": {
"mode": "mergeByIndex"
},
"typeVersion": 1,
"notes": "This merge node performs automated tasks as part of the workflow."
},
{
"id": "11502ac7-1e57-4614-9dd5-31f5fc62c91c",
"name": "Create or update contact",
"type": "n8n-nodes-base.hubspot",
"position": [
640,
280
],
"parameters": {
"email": "={{ $json[\"contact_email\"] }}",
"resource": "contact",
"authentication": "{{ $credentials.oAuth2 }}",
"additionalFields": {
"city": "={{ $json[\"customer\"][\"default_address\"][\"city\"] }}",
"country": "={{ $json[\"customer\"][\"default_address\"][\"country\"] }}",
"lastName": "={{ $json[\"customer\"][\"default_address\"][\"last_name\"] }}",
"firstName": "={{ $json[\"customer\"][\"default_address\"][\"first_name\"] }}"
}
},
"credentials": {
"hubspotOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 1,
"notes": "This hubspot node performs automated tasks as part of the workflow."
},
{
"id": "error-c41fbad1",
"name": "Error Handler",
"type": "n8n-nodes-base.stopAndError",
"typeVersion": 1,
"position": [
1000,
400
],
"parameters": {
"message": "Workflow execution error",
"options": {}
}
}
],
"connections": {},
"name": "Shopifytrigger Workflow",
"description": "Automated workflow: Shopifytrigger Workflow. This workflow processes data and performs automated tasks.",
"settings": {
"executionOrder": "v1",
"saveManualExecutions": true,
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": null,
"timezone": "UTC",
"executionTimeout": 3600,
"maxExecutions": 1000,
"retryOnFail": true,
"retryCount": 3,
"retryDelay": 1000
},
"notes": "Excellent quality workflow: Shopifytrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation.",
"id": "wf430ee65db033"
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
hubspotOAuth2ApishopifyApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Shopifytrigger Workflow. Uses shopifyTrigger, hubspot, stopAndError. Event-driven trigger; 9 nodes.
Source: https://github.com/basictechorg/n8n-business-automation/blob/main/workflows/e-commerce/0265_Shopify_HubSpot_Create_Triggered.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
The workflow triggers on a new checkout event from Shopify and extracts all relevant cart data. It filters carts based on value and age to isolate qualified abandoned checkouts. For each qualified car
Shopify Hubspot. Uses shopifyTrigger, noOp, hubspot. Event-driven trigger; 8 nodes.
This workflow syncs Shopify customers to your HubSpot account as contacts. Whenever somebody makes a purchase on Shopify, it automatically adds them as a new customer to your Hubspot account if the cu
Sync Shopify customers to your HubSpot contacts. Uses shopifyTrigger, hubspot. Event-driven trigger; 8 nodes.
Sync New Shopify Products to Odoo Product. Uses odoo, shopifyTrigger, stopAndError. Event-driven trigger; 6 nodes.