基于语言合并用户问候语
初级
这是一个Building Blocks领域的自动化工作流,包含 4 个节点。主要使用 Merge, Function, ManualTrigger 等节点。 根据语言合并用户问候语
前置要求
- •无特殊前置要求,导入即可使用
使用的节点 (4)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "257476b1ef58bf3cb6a46e65fac7ee34a53a5e1a8492d5c6e4da5f87c9b82833"
},
"nodes": [
{
"id": "f7f8068b-52c9-4038-bd67-9ee50136e4fd",
"name": "点击“测试工作流”时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
380,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "860e5e46-a04d-41cb-b91a-c9f02603bcdf",
"name": "示例数据(姓名 + 语言)",
"type": "n8n-nodes-base.code",
"position": [
600,
160
],
"parameters": {
"jsCode": "return [\n {\n json: {\n name: 'Stefan',\n language: 'de',\n }\n },\n {\n json: {\n name: 'Jim',\n language: 'en',\n }\n },\n {\n json: {\n name: 'Hans',\n language: 'de',\n }\n }\n];"
},
"typeVersion": 2
},
{
"id": "5c6a867b-fd8a-49b7-ac35-ff84ed6d89f7",
"name": "示例数据(问候语 + 语言)",
"type": "n8n-nodes-base.code",
"position": [
600,
320
],
"parameters": {
"jsCode": "return [\n\t {\n json: {\n greeting: 'Hello',\n language: 'en',\n }\n },\n {\n json: {\n greeting: 'Hallo',\n language: 'de',\n }\n }\n];"
},
"typeVersion": 2
},
{
"id": "08fca489-8f4c-4327-9919-922bd1be1cd5",
"name": "合并(姓名 + 语言 + 问候语)",
"type": "n8n-nodes-base.merge",
"position": [
820,
240
],
"parameters": {
"mode": "combine",
"options": {},
"fieldsToMatchString": "language"
},
"typeVersion": 3
}
],
"pinData": {},
"connections": {
"860e5e46-a04d-41cb-b91a-c9f02603bcdf": {
"main": [
[
{
"node": "08fca489-8f4c-4327-9919-922bd1be1cd5",
"type": "main",
"index": 0
}
]
]
},
"5c6a867b-fd8a-49b7-ac35-ff84ed6d89f7": {
"main": [
[
{
"node": "08fca489-8f4c-4327-9919-922bd1be1cd5",
"type": "main",
"index": 1
}
]
]
},
"f7f8068b-52c9-4038-bd67-9ee50136e4fd": {
"main": [
[
{
"node": "860e5e46-a04d-41cb-b91a-c9f02603bcdf",
"type": "main",
"index": 0
},
{
"node": "5c6a867b-fd8a-49b7-ac35-ff84ed6d89f7",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
初级 - 构建模块
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
从URL导入CSV到GoogleSheet
从URL导入CSV到Google Sheets
0 节点n8n Team
构建模块
导入多个CSV到GoogleSheet
导入多个CSV到Google Sheets
0 节点n8n Team
构建模块
itemMatching()示例
itemMatching()使用示例
0 节点n8n Team
构建模块
Pipedrive中添加产品时在Stripe中添加新产品
Pipedrive中添加产品时在Stripe中添加新产品
Set
Merge
Item Lists
+
Set
Merge
Item Lists
7 节点n8n Team
销售
自动剪辑 – 自动生成视频剪辑并上传到YouTube
使用FFmpeg自动创建并上传包含泰语引文的YouTube视频
Set
Code
Merge
+
Set
Code
Merge
23 节点Jaruphat J.
产品
使用 Anthropic Claude API 批量处理提示
使用 Anthropic Claude API 批量处理提示
If
Set
Code
+
If
Set
Code
39 节点Greg Evseev
构建模块
工作流信息
难度等级
初级
节点数量4
分类1
节点类型3
作者
n8n Team
@n8n-teamMeet the official n8n team. We specialize in building workflows that transform intricate tasks into seamless operations.
外部链接
在 n8n.io 查看 →
分享此工作流