将新的CentralStationCRM联系人同步到Rapidmail并经过Slack批准
高级
这是一个Social Media领域的自动化工作流,包含 17 个节点。主要使用 If, Slack, HttpRequest, ScheduleTrigger 等节点。 通过CentralStationCRM、Rapidmail和Slack同步联系人
前置要求
- •Slack Bot Token 或 Webhook URL
- •可能需要目标 API 的认证凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Gb148LV3fQumTIib",
"meta": {
"instanceId": "68ab8a7bd891eafb85f915471f38591da0135936f93fdf7e27d0ebea24fea950"
},
"name": "将新的 CentralStationCRM 联系人同步到 Rapidmail 并经过 Slack 批准",
"tags": [],
"nodes": [
{
"id": "2554daa2-472b-4b11-a085-f41099a04c44",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 460,
"height": 600,
"content": ""
},
"typeVersion": 1
},
{
"id": "1656ee49-2fff-4546-b6d7-beae921fb1df",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
0
],
"parameters": {
"color": 7,
"width": 420,
"height": 900,
"content": "## 1. 设置 CentralStationCRM API 密钥"
},
"typeVersion": 1
},
{
"id": "82d0791a-06e9-4290-8761-41843b1baf9c",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
1460,
280
],
"parameters": {
"color": 7,
"width": 220,
"height": 620,
"content": "## 3. 设置计划触发器"
},
"typeVersion": 1
},
{
"id": "a784ef35-0049-4b45-9bbc-74782f63dce7",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
0
],
"parameters": {
"color": 7,
"width": 440,
"height": 900,
"content": "## 2. 设置 CentralStationCRM n8n 凭据"
},
"typeVersion": 1
},
{
"id": "e97f9fc6-aea9-4338-8fff-8808c6da845d",
"name": "便签9",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
640
],
"parameters": {
"width": 460,
"height": 260,
"content": "## 此工作流中的工具"
},
"typeVersion": 1
},
{
"id": "7d0a24d7-ec4c-4ef6-bbc9-0ef06e9df75d",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
1740,
280
],
"parameters": {
"color": 7,
"height": 620,
"content": "## 4. 设置新人员/天"
},
"typeVersion": 1
},
{
"id": "73f5ec89-44ef-4a66-95ae-db8b7132a5c2",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2240,
280
],
"parameters": {
"color": 7,
"width": 260,
"height": 620,
"content": "## 5. 设置 Slack"
},
"typeVersion": 1
},
{
"id": "d7532ad9-3d99-46d0-92bd-b72954fc52bd",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2720,
280
],
"parameters": {
"color": 7,
"width": 300,
"height": 620,
"content": "## 6. 设置“新闻通讯”标签节点"
},
"typeVersion": 1
},
{
"id": "6a8f6aae-20e4-42a7-a48c-065786a761f2",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
3080,
-40
],
"parameters": {
"color": 7,
"width": 420,
"height": 940,
"content": "## 7. 设置 Rapidmail"
},
"typeVersion": 1
},
{
"id": "6a448ff0-4471-4518-a65f-77793c113d5e",
"name": "工作流每天下午 5 点触发",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
1520,
660
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 17
}
]
}
},
"typeVersion": 1.2
},
{
"id": "06c21060-8716-4ad3-8322-a266921d6266",
"name": "人员是否有“新闻通讯”标签?",
"type": "n8n-nodes-base.if",
"position": [
2060,
660
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "or",
"conditions": [
{
"id": "4b075c94-c553-4dee-a4f0-d0f501982c53",
"operator": {
"type": "string",
"operation": "contains"
},
"leftValue": "={{ $json.person.tags }}",
"rightValue": "\"Newsletter\""
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
},
{
"id": "26b86935-fdf9-408e-9bc5-21d90b288f2a",
"name": "从 CentralStationCRM 获取每天的新人员",
"type": "n8n-nodes-base.httpRequest",
"position": [
1800,
660
],
"parameters": {
"url": "https://api.centralstationcrm.net/api/people",
"options": {},
"jsonQuery": "={\"filter\" : {\"created_at\": {\"larger_than\": \"{{ new Date().beginningOf('day') }}\"}},\n\"includes\" : \"tags addrs companies emails\"}",
"sendQuery": true,
"sendHeaders": true,
"specifyQuery": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "pqUNcvQBnqpxmMAD",
"name": "Header Auth CSCRM test16"
}
},
"typeVersion": 4.2
},
{
"id": "dfa74ddb-d737-4aaa-85f7-057feae4b7c2",
"name": "在 Slack 中询问:添加“新闻通讯”标签?",
"type": "n8n-nodes-base.slack",
"position": [
2320,
720
],
"webhookId": "b3074b49-edc1-4fc4-95a8-ad3b44dc06f2",
"parameters": {
"user": {
"__rl": true,
"mode": "username",
"value": "@Christian"
},
"message": "=Hey! \n\nWould you like to add\n\n{{ $('Get new people per day from CentralStationCRM').item.json.person.first_name }} {{ $('Get new people per day from CentralStationCRM').item.json.person.name }}\n\nto your Newsletter?",
"options": {},
"operation": "sendAndWait",
"authentication": "oAuth2",
"approvalOptions": {
"values": {
"approvalType": "double",
"approveLabel": "Ja",
"disapproveLabel": "Nein"
}
}
},
"credentials": {
"slackOAuth2Api": {
"id": "5zdDeP9mj00DoND3",
"name": "Slack account 2"
}
},
"typeVersion": 2.3
},
{
"id": "b538acb5-0aec-466a-8628-15cd426931e6",
"name": "用户是否点击了“是”按钮?",
"type": "n8n-nodes-base.if",
"position": [
2560,
720
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "46a4026a-17ef-4db0-92c5-3e2d9b333565",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.approved }}",
"rightValue": "true"
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
},
{
"id": "a7eb00a7-2b13-48cd-af60-4d3261c28c8b",
"name": "结束工作流",
"type": "n8n-nodes-base.noOp",
"position": [
2820,
940
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c8ebeafa-0a8d-483c-b1d2-f961e412487a",
"name": "给人员添加“新闻通讯”标签",
"type": "n8n-nodes-base.httpRequest",
"position": [
2820,
760
],
"parameters": {
"url": "=https://api.centralstationcrm.net/api/people/{{ $('Does a person have a \"Newsletter\" tag?').item.json.person.id }}/tags",
"method": "POST",
"options": {
"response": {
"response": {
"responseFormat": "text"
}
}
},
"jsonBody": "{\n \"tag\": {\n \"name\": \"Newsletter\"}\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "=json",
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "pqUNcvQBnqpxmMAD",
"name": "Header Auth CSCRM test16"
}
},
"typeVersion": 4.2
},
{
"id": "1247d9f4-5524-4333-acce-1404fb336966",
"name": "将人员写入 Rapidmail 列表",
"type": "n8n-nodes-base.httpRequest",
"position": [
3240,
640
],
"parameters": {
"url": "https://apiv3.emailsys.net/v1/recipients",
"method": "POST",
"options": {},
"jsonBody": "={\n\"status\": \"active\",\n\"recipientlist_id\": ENTER-RAPIDMAIL-LIST-ID,\n\"email\": \"{{ $json.person.emails[0].name }}\",\n\"firstname\": \"{{ $json.person.first_name }}\",\n \"lastname\": \"{{ $json.person.name }}\"\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpBasicAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpBasicAuth": {
"id": "KQ2iia1wATkcAOK6",
"name": "Christian Rapidmail"
},
"httpHeaderAuth": {
"id": "pqUNcvQBnqpxmMAD",
"name": "Header Auth CSCRM test16"
}
},
"typeVersion": 4.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "9e0ee432-5ede-429f-9b08-3bbee620c6c9",
"connections": {
"Workflow triggers daily at 5AM": {
"main": [
[
{
"node": "Get new people per day from CentralStationCRM",
"type": "main",
"index": 0
}
]
]
},
"give person a \"Newsletter\" tag": {
"main": [
[
{
"node": "Write person to Rapidmail list",
"type": "main",
"index": 0
}
]
]
},
"ask in Slack: add \"Newsletter\" tag?": {
"main": [
[
{
"node": "Did the user click the \"Yes\" button?",
"type": "main",
"index": 0
}
]
]
},
"Did the user click the \"Yes\" button?": {
"main": [
[
{
"node": "give person a \"Newsletter\" tag",
"type": "main",
"index": 0
}
],
[
{
"node": "end Workflow",
"type": "main",
"index": 0
}
]
]
},
"Does a person have a \"Newsletter\" tag?": {
"main": [
[
{
"node": "Write person to Rapidmail list",
"type": "main",
"index": 0
}
],
[
{
"node": "ask in Slack: add \"Newsletter\" tag?",
"type": "main",
"index": 0
}
]
]
},
"Get new people per day from CentralStationCRM": {
"main": [
[
{
"node": "Does a person have a \"Newsletter\" tag?",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 社交媒体
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
CentralStationCRM中标记人员的简单邮件自动化
使用CentralStationCRM、Gmail和Slack提醒的自动邮件跟进系统
If
Wait
Gmail
+5
19 节点CentralStationCRM
客户培育
X 推文和 Meta Threads 发布器
使用 Late API 和 Google Sheets 自动发布平台优化内容到 X 和 Threads
If
Set
Code
+6
20 节点Fariez
社交媒体
NASA近地小行星警报系统
使用NASA API、Slack和Google Calendar的自动化小行星警报
If
Code
Nasa
+6
16 节点Yusuke Yamamoto
社交媒体
基于美国众议院法案使用Gemini AI生成周度动物权益行动简报
基于美国众议院法案使用Gemini AI生成周度动物权益行动简报
If
Set
Html
+13
26 节点Open Paws
社交媒体
自动化推荐工作流
使用GPT-4处理推荐信,并通过Google表格自动生成社交媒体卡片
If
Set
Code
+9
34 节点Jitesh Dugar
社交媒体
带定时功能的X账号自动取消转推清理
X/Twitter转推清理与定时功能
If
Set
Wait
+8
28 节点masaya kawabe
社交媒体
工作流信息
难度等级
高级
节点数量17
分类1
节点类型6
作者
CentralStationCRM
@centralstationcrmCentralStationCRM ist das einfache und intuitive CRM für kleine Teams. Auf n8n teilen wir unsere Workflow-Ideen: für schnellere Abläufe und einen besseren Arbeitsalltag. CentralStationCRM is the simple and intuitive CRM for small businesses. On n8, we share CRM-workflow ideas to speed up your working life!
外部链接
在 n8n.io 查看 →
分享此工作流