将新的 Shopify 客户同步到 Odoo 联系人
初级
这是一个Marketing, IT Ops领域的自动化工作流,包含 5 个节点。主要使用 Code, Odoo, Filter, ShopifyTrigger 等节点。 将新的 Shopify 客户同步至 Odoo 联系人
前置要求
- •Shopify Admin API 凭证
使用的节点 (5)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Zp0R3I1dUjZOIz2l",
"meta": {
"instanceId": "6b3e8c6c30cdfbf06283a3fa57016932c6b4ec959896c5c546ef5865ff697ff1",
"templateCredsSetupCompleted": true
},
"name": "将新的 Shopify 客户同步到 Odoo 联系人",
"tags": [],
"nodes": [
{
"id": "ae072919-4f88-4722-b139-2628e24b89ba",
"name": "过滤器",
"type": "n8n-nodes-base.filter",
"position": [
-420,
-40
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{ $json.existing }}"
}
]
}
},
"typeVersion": 1
},
{
"id": "a36747d5-3381-43b8-9def-e3dbc8942dbd",
"name": "搜索 Odoo 联系人",
"type": "n8n-nodes-base.odoo",
"position": [
-800,
-40
],
"parameters": {
"limit": 1,
"options": {},
"resource": "custom",
"operation": "getAll",
"filterRequest": {
"filter": [
{
"value": "={{ $('Shopify Trigger').item.json.email }}",
"fieldName": "email"
}
]
},
"customResource": "res.partner"
},
"credentials": {
"odooApi": {
"id": "0qIK4Cq1BwOSbxT8",
"name": "Odoo 148.66.157.208:8069"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "a52d6acf-e8c2-48cd-b44c-903617c23e9e",
"name": "Shopify触发器",
"type": "n8n-nodes-base.shopifyTrigger",
"position": [
-1060,
-40
],
"webhookId": "30b89f06-e54c-4461-9e1e-9ef7f221e08b",
"parameters": {
"topic": "customers/create",
"authentication": "accessToken"
},
"credentials": {
"shopifyAccessTokenApi": {
"id": "zkXzZzc97XyALfN8",
"name": "Evozard - Shopify"
}
},
"typeVersion": 1
},
{
"id": "f3023805-dc0b-4745-ab7b-77b2d81137e3",
"name": "创建联系人",
"type": "n8n-nodes-base.odoo",
"position": [
-240,
-40
],
"parameters": {
"resource": "custom",
"customResource": "res.partner",
"fieldsToCreateOrUpdate": {
"fields": [
{
"fieldName": "name",
"fieldValue": "={{ $('Shopify Trigger').item.json.addresses[0].name }}"
},
{
"fieldName": "email",
"fieldValue": "={{ $('Shopify Trigger').item.json.email }}"
},
{
"fieldName": "street",
"fieldValue": "={{ $('Shopify Trigger').item.json.addresses[0].address1 }}"
},
{
"fieldName": "street2",
"fieldValue": "={{ $('Shopify Trigger').item.json.addresses[0].address2 }}"
},
{
"fieldName": "city",
"fieldValue": "={{ $('Shopify Trigger').item.json.addresses[0].city }}"
},
{
"fieldName": "zip",
"fieldValue": "={{ $('Shopify Trigger').item.json.addresses[0].zip }}"
},
{
"fieldName": "phone",
"fieldValue": "={{ $('Shopify Trigger').item.json.addresses[0].phone }}"
}
]
}
},
"credentials": {
"odooApi": {
"id": "0qIK4Cq1BwOSbxT8",
"name": "Odoo 148.66.157.208:8069"
}
},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "4cef59ef-0ba4-4eee-83b6-27254ffd5974",
"name": "代码",
"type": "n8n-nodes-base.code",
"position": [
-600,
-40
],
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "\n\nvar contact_detail = $('Shopify Trigger').item.json\nconsole.log('-------contact_detail--------',contact_detail)\nvar existing_contact = $('Search Odoo Contact').item.json\nconsole.log('-------existing_contact--------',existing_contact,existing_contact.valueOf)\nreturn {existing:existing_contact.id ? true:false,contact_detail:contact_detail}\n"
},
"typeVersion": 2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "4c04743a-c0c3-4900-9963-3ca05b65908c",
"connections": {
"Code": {
"main": [
[
{
"node": "Filter",
"type": "main",
"index": 0
}
]
]
},
"Filter": {
"main": [
[
{
"node": "Create Contact",
"type": "main",
"index": 0
}
]
]
},
"Shopify Trigger": {
"main": [
[
{
"node": "Search Odoo Contact",
"type": "main",
"index": 0
}
]
]
},
"Search Odoo Contact": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
初级 - 营销, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Shopify 到 Odoo 的联系人、产品和订单同步
完整的 Shopify 到 Odoo 集成:同步订单、产品和客户
Code
Odoo
Filter
+3
25 节点Evozard
营销
将新的 Shopify 产品同步到 Odoo 产品
将新的 Shopify 产品同步至 Odoo 产品
Code
Odoo
Filter
+1
5 节点Evozard
营销
CSV到HubSpot上传器(动态字段映射与Google Sheets集成)
具有动态字段映射和Google Sheets集成的CSV到HubSpot上传器
If
Set
Code
+10
36 节点PollupAI
人工智能
从Webhook生成潜在客户
捕获并结构化Web表单潜在客户,适用于Odoo CRM(兼容v15-v18)
Code
Odoo
Webhook
+2
7 节点Evozard
客户关系管理
通过Telegram创建销售报价单 - 单一JSON文件
通过Telegram使用Google Gemini AI在Odoo中实时创建销售报价单
Set
Code
Odoo
+11
51 节点Evozard
客户关系管理
WooCommerce 连接器 - Vivek
将 WooCommerce 订单、产品和客户与 Odoo 同步
If
Set
Code
+7
47 节点Evozard
客户关系管理
工作流信息
难度等级
初级
节点数量5
分类2
节点类型4
作者
Evozard
@evozardconsulting🚀 AI & Automation Expert | n8n Creator I specialize in building AI-powered automation and workflow solutions using n8n and no-code/low-code tools. With extensive experience in process automation, system integration, and AI-driven workflows, I help businesses streamline operations, enhance productivity, and reduce manual effort. Passionate about scalable automation that drives efficiency and growth.
外部链接
在 n8n.io 查看 →
分享此工作流