使用GPT-4为Slack和Airtable生成产品广告文案和行动号召
中级
这是一个AI, Marketing领域的自动化工作流,包含 10 个节点。主要使用 Slack, Airtable, FormTrigger, Agent, LmChatOpenAi 等节点,结合人工智能技术实现智能自动化。 使用GPT-4为Slack和Airtable生成产品广告文案和行动号召
前置要求
- •Slack Bot Token 或 Webhook URL
- •Airtable API Key
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "5aaf4236c70e34e423fbdb2c7b754d19253a933bb1476d548f75848a01e473cf",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "a8a6738c-9269-427d-821c-9793db821d88",
"name": "生成广告文案和行动号召",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1180,
3040
],
"parameters": {
"text": "=Generate a catchy 2-sentence ad copy and 3 strong CTAs for the following product.\n\nProduct Name: {{ $json['Product Name'] }}\nFeatures: {{ $json['Product Features'] }}",
"options": {},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.9
},
{
"id": "bc9d40c0-758a-490b-9c29-67c901c681c7",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1120,
3260
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "0b3e78c5-a59f-4eaa-8f10-c5110b64d6e6",
"name": "Slack",
"type": "n8n-nodes-base.slack",
"position": [
1760,
2940
],
"webhookId": "becca932-88e0-45d2-a72a-3ce2c7cb4f2b",
"parameters": {
"text": "=Ad copy: \n{{ $json.output.ad_copy }}\n\nCTAs: \n{{ $json.output.ctas }}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "list",
"value": "C08TTV0CC3E",
"cachedResultName": "all-nathing"
},
"otherOptions": {
"includeLinkToWorkflow": false
}
},
"typeVersion": 2.3
},
{
"id": "28bc17c8-1d47-4769-bd2b-38eadf33ad5f",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1360,
3260
],
"parameters": {
"jsonSchemaExample": "{\n \"ad_copy\": \"Stay refreshed and eco-friendly with the EcoSmart Bottle—your self-cleaning hydration companion that keeps drinks ice-cold for a full 24 hours! Join the movement towards a healthier planet with every sip!\",\n \"ctas\":\n \"Get Yours Now and Sip Sustainability!\"\n}"
},
"typeVersion": 1.2
},
{
"id": "9ee0cf4b-fa21-46bb-b64f-834da2762fdb",
"name": "Airtable",
"type": "n8n-nodes-base.airtable",
"position": [
1760,
3240
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appjaqV0O7FkXT2qj",
"cachedResultUrl": "https://airtable.com/appjaqV0O7FkXT2qj",
"cachedResultName": "Table no.1"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblTAvRqVFOo5AVDF",
"cachedResultUrl": "https://airtable.com/appjaqV0O7FkXT2qj/tblTAvRqVFOo5AVDF",
"cachedResultName": "Table 1"
},
"columns": {
"value": {
"CATs": "={{ $json.output.ctas }}",
"Ad copy": "={{ $json.output.ad_copy }}",
"Product Name": "={{ $('Product Info Input').item.json['Product Name'] }}",
"Product Features": "={{ $('Product Info Input').item.json['Product Features'] }}"
},
"schema": [
{
"id": "id",
"type": "string",
"display": true,
"removed": true,
"readOnly": true,
"required": false,
"displayName": "id",
"defaultMatch": true
},
{
"id": "Product Name",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Product Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Product Features",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Product Features",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Ad copy",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Ad copy",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "CATs",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "CATs",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update"
},
"typeVersion": 2.1
},
{
"id": "2c548ce7-c10b-47dd-b07d-4f2cc8f48881",
"name": "产品信息输入",
"type": "n8n-nodes-base.formTrigger",
"position": [
960,
3040
],
"webhookId": "70c94b37-904c-4e87-bca8-808cff7840de",
"parameters": {
"options": {},
"formTitle": "Product Info",
"formFields": {
"values": [
{
"fieldLabel": "Product Name"
},
{
"fieldLabel": "Product Features"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "3fb03bf6-7a54-4aad-afe5-4d4ebee70cda",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
3280
],
"parameters": {
"color": 4,
"width": 1289,
"height": 2078,
"content": "## ✍️ AI文案写作助手 – 从产品信息到广告文案+行动号召"
},
"typeVersion": 1
},
{
"id": "938469cb-f289-4796-9e36-cb7a393edc23",
"name": "便签9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
2940
],
"parameters": {
"color": 4,
"width": 1300,
"height": 320,
"content": "======================================="
},
"typeVersion": 1
},
{
"id": "ce22eac5-dc26-41ec-bc63-2dbc648335aa",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
900,
2540
],
"parameters": {
"width": 620,
"height": 880,
"content": "## 🧠 步骤1:使用AI生成广告文案和行动号召"
},
"typeVersion": 1
},
{
"id": "c8efbf29-0a40-4096-9db8-92ce16ded9c0",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1560,
2020
],
"parameters": {
"color": 6,
"width": 620,
"height": 1400,
"content": "## 📤 步骤2:分享和存储结果"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"bc9d40c0-758a-490b-9c29-67c901c681c7": {
"ai_languageModel": [
[
{
"node": "a8a6738c-9269-427d-821c-9793db821d88",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"2c548ce7-c10b-47dd-b07d-4f2cc8f48881": {
"main": [
[
{
"node": "a8a6738c-9269-427d-821c-9793db821d88",
"type": "main",
"index": 0
}
]
]
},
"28bc17c8-1d47-4769-bd2b-38eadf33ad5f": {
"ai_outputParser": [
[
{
"node": "a8a6738c-9269-427d-821c-9793db821d88",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"a8a6738c-9269-427d-821c-9793db821d88": {
"main": [
[
{
"node": "9ee0cf4b-fa21-46bb-b64f-834da2762fdb",
"type": "main",
"index": 0
},
{
"node": "0b3e78c5-a59f-4eaa-8f10-c5110b64d6e6",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 GPT-4 自动生成并分发 LinkedIn 帖子到个人资料和群组
使用 GPT-4 自动生成并分发 LinkedIn 帖子到个人资料和群组
If
Code
Limit
+
If
Code
Limit
14 节点Yaron Been
人工智能
使用GPT-4和Slack/Gmail分发自动化Reddit趋势分析
通过GPT-4和Slack/Gmail分发实现Reddit趋势分析的自动化
Gmail
Slack
Reddit
+
Gmail
Slack
Reddit
11 节点Yaron Been
人工智能
Crunchbase初创公司活动监控器
每日初创公司情报:使用GPT处理Crunchbase更新并发送电子邮件摘要
Set
Gmail
Http Request
+
Set
Gmail
Http Request
12 节点Yaron Been
人工智能
FireCrawl摘要机器人
Firecrawl AI驱动的市场情报机器人:自动新闻洞察交付
Code
Slack
Http Request
+
Code
Slack
Http Request
10 节点Yaron Been
人工智能
CFO 费用审核智能体
使用GPT-4、Airtable和Pinecone向量数据库的自动化费用审批系统
Airtable
Agent
Airtable Trigger
+
Airtable
Agent
Airtable Trigger
15 节点Yaron Been
人工智能
WordPress 内容生成器 v3
WordPress 内容生成器 v3
If
Set
Code
+
If
Set
Code
102 节点Alex Kim
人工智能
工作流信息
难度等级
中级
节点数量10
分类2
节点类型7
作者
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host
外部链接
在 n8n.io 查看 →
分享此工作流