使用gotoHuman将AI生成的Markdown保存到Google Docs进行审批
中级
这是一个Miscellaneous, Multimodal AI领域的自动化工作流,包含 15 个节点。主要使用 If, Code, GoogleDrive, ConvertToFile, ManualTrigger 等节点。 使用gotoHuman将AI生成的Markdown保存到Google Docs进行审批
前置要求
- •Google Drive API 凭证
- •OpenAI API Key
使用的节点 (15)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "8267d3569bda2c6f198d17726ec68a346675a4cca67a114822601a01c8893f9b"
},
"nodes": [
{
"id": "5945e791-28e6-4d39-8400-8c87340933aa",
"name": "当点击“执行工作流”时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-544,
144
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8f5922a1-f13a-41e9-a6eb-f44a469aac3c",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-304,
144
],
"parameters": {
"text": "Write a content strategy based on the company description and the given overall strategy. Consider the channels LinkedIn, Instagram and Email Newsletter",
"options": {},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2.2
},
{
"id": "749793fe-528d-48a2-b8a0-dbd9937a41ed",
"name": "获取公司策略",
"type": "n8n-nodes-base.googleDocsTool",
"position": [
-144,
400
],
"parameters": {
"operation": "get"
},
"typeVersion": 2
},
{
"id": "28899559-c2b6-4854-ae47-bae9ff2b56d0",
"name": "获取公司描述",
"type": "n8n-nodes-base.googleDocsTool",
"position": [
-304,
400
],
"parameters": {
"operation": "get"
},
"typeVersion": 2
},
{
"id": "cbca9a87-37e7-48b8-a8e7-4ccb87defbcd",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-464,
400
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "e07b5c1a-2e18-4966-981f-a824badca121",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
0,
400
],
"parameters": {
"jsonSchemaExample": "{\n\t\"strategyMarkdown\": \"\"\n}"
},
"typeVersion": 1.3
},
{
"id": "43f16854-7f37-45dd-af7d-9bf5e175a78c",
"name": "发送审核请求并等待响应",
"type": "@gotohuman/n8n-nodes-gotohuman.gotoHuman",
"position": [
416,
144
],
"webhookId": "415d8131-73a5-46ef-8779-ed01d9d5b710",
"parameters": {
"fields": {
"value": {
"strategyMarkdown": "={{ $json.output.strategyMarkdown }}"
},
"schema": [
{
"id": "strategyMarkdown",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "strategyMarkdown (markdown)",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"strategyMarkdown"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"additionalFields": {},
"reviewTemplateID": {
"__rl": true,
"mode": "list"
}
},
"typeVersion": 1
},
{
"id": "f315babc-14fc-4621-966e-13fe88e5c773",
"name": "已批准?",
"type": "n8n-nodes-base.if",
"position": [
848,
144
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "fe38c1f1-781b-4c14-98e8-945de4cbfeb9",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.response }}",
"rightValue": "approved"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6942b5c9-f992-40aa-b80c-aa203615e3e9",
"name": "更新文件",
"type": "n8n-nodes-base.googleDrive",
"position": [
1424,
96
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "url",
"value": ""
},
"options": {},
"operation": "update",
"changeFileContent": true
},
"typeVersion": 3
},
{
"id": "2a2a3bb6-7515-40a4-ba26-beaf8fc824bf",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
1104,
96
],
"parameters": {
"options": {},
"operation": "toText",
"sourceProperty": "responseValues.strategyMarkdown.value"
},
"typeVersion": 1.1
},
{
"id": "d778ea6e-68bd-4b70-9acf-120d7adc729f",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
288,
16
],
"parameters": {
"color": 7,
"width": 340,
"height": 320,
"content": ""
},
"typeVersion": 1
},
{
"id": "755dadd8-4142-42a6-81e4-cc3524195ac3",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-688,
-208
],
"parameters": {
"color": 7,
"width": 2320,
"height": 864,
"content": "## 工作原理"
},
"typeVersion": 1
},
{
"id": "db7d3131-81e8-4839-a877-66d6c1fd9d4b",
"name": "将文件类型设置为markdown",
"type": "n8n-nodes-base.code",
"position": [
1264,
96
],
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "const item = $input.item;\n\nif (item.binary && item.binary.data) {\n item.binary.data.mimeType = 'text/markdown';\n}\n\nreturn item;"
},
"typeVersion": 2
},
{
"id": "fe856f6d-9e06-4cb1-ac60-d2f0ec87f242",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1408,
-208
],
"parameters": {
"width": 656,
"height": 864,
"content": "## 🎯 内容策略代理"
},
"typeVersion": 1
},
{
"id": "746e85d4-0e5d-4ddc-a8c5-296e6b4d0e9a",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
144,
384
],
"parameters": {
"width": 624,
"height": 416,
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send review request and wait for response",
"type": "main",
"index": 0
}
]
]
},
"Approved?": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "Set file type as markdown",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Get company strategy": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get company description": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Set file type as markdown": {
"main": [
[
{
"node": "Update file",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Send review request and wait for response": {
"main": [
[
{
"node": "Approved?",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用OpenAI、Firecrawl和gotoHuman的线索分析与个性化邮件生成
使用OpenAI、Firecrawl和gotoHuman的线索分析与个性化邮件生成
If
Code
Gmail
+10
22 节点gotoHuman
杂项
使用 GPT-4o、Fal.ai 和人工监督生成产品 AI 宣传视频
使用 GPT-4o、Fal.ai 和人工监督生成产品 AI 宣传视频
If
Set
Code
+12
72 节点gotoHuman
内容创作
Gemini_NanoBanana_模板
使用 Fal.ai 模型(nano-banana、WAN2.2、Veo3)从 Google Sheets 生成 UGC 广告
If
Set
Code
+13
36 节点Jaruphat J.
内容创作
💥 使用 NanoBanana 和 Seedance 创建病毒式广告,通过 upload-post 在社交媒体发布 VIDE II
使用 AI 创建病毒式多媒体广告:NanoBanana、Seedance 和 Suno 用于社交媒体
If
Set
Code
+13
45 节点Dr. Firas
杂项
使用 GPT-5、gotoHuman 和人工审核从 Gmail 自动回复并创建 Linear 工单
使用 GPT-5、gotoHuman 和人工审核从 Gmail 自动回复并创建 Linear 工单
Set
Code
Gmail
+13
37 节点gotoHuman
工单管理
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作
工作流信息
难度等级
中级
节点数量15
分类2
节点类型11
作者
gotoHuman
@gotohumanApprove critical actions in gotoHuman’s customizable review interface and edit AI outputs manually or by looping back to your workflow. Ensure AI-generated content is on-brand, messages to customers are accurate, and high-stakes decisions are made by humans.
外部链接
在 n8n.io 查看 →
分享此工作流