8
n8n 中文网amn8n.com

传记代理

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 17 个节点。主要使用 If, Set, GoogleDocs, Agent, ChatTrigger 等节点。 使用 GPT-5 和 Google Docs 自动生成并润色专业简历

前置要求
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "5rGmxFRzepAKlIKd",
  "meta": {
    "instanceId": "7b35059aff065837b1c7d24142b37474554b08b3370f3096b2e57345690d178e",
    "templateCredsSetupCompleted": true
  },
  "name": "传记代理",
  "tags": [],
  "nodes": [
    {
      "id": "c6a5af04-2ac6-4808-810d-9537343e8759",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -864,
        400
      ],
      "webhookId": "fab30ad7-8a5a-4477-be98-1aa43b92b052",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "fe5152d2-635d-4a4e-86a1-89345b6598b1",
      "name": "传记代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -544,
        400
      ],
      "parameters": {
        "options": {
          "systemMessage": "=# Overview\nYou are an expert biography writer. You will receive information about a person, and your job is to create an entire profile using the information they give you. You are allowed to be creative."
        }
      },
      "typeVersion": 1.7
    },
    {
      "id": "e1776bea-6a0e-4842-9a1d-6ab7576872ca",
      "name": "评估器智能体",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -80,
        400
      ],
      "parameters": {
        "text": "=Here is the biography:\n{{ $json.bio }}",
        "options": {
          "systemMessage": "=## Overview\nYou are an expert biography evaluator. Your job is to provide feedback on the biography.\n\n## Criteria\n- Make sure the biography includes a quote from the person. This could be their favorite saying or a piece of advice. It is essential that every biography has a quote.\n- Make sure the biography is light and humorous.\n- Make sure the biography has NO emojis.\n\n## Output\nYou only need to output feedback. If the biography is finished and all the criteria are met, simply output \"Finished\"."
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "216da347-3a94-42d1-b65e-3ae8e1d30a3d",
      "name": "评估",
      "type": "n8n-nodes-base.if",
      "position": [
        240,
        400
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "8d931f3d-b391-4be9-a50a-cc4a73c31b71",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.output }}",
              "rightValue": "Finished"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "5f0e5c45-6ce1-476e-a0cf-0ef3b7190217",
      "name": "优化器智能体",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        464,
        720
      ],
      "parameters": {
        "text": "=Biography: {{ $('Set Bio').item.json.bio }}\n\nFeedback: {{ $('Evaluator Agent').item.json.output }}",
        "options": {
          "systemMessage": "=# Overview\nYou are an expert biography revisor. Your job is to take the biography and optimize it based on the feedback."
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "c4f6ba91-8f5f-49da-9dfb-5590d38930f0",
      "name": "推送到文档",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        496,
        336
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "text": "={{ $('Set Bio').item.json.bio }}",
              "action": "insert"
            }
          ]
        },
        "operation": "update",
        "documentURL": "Add your document URL"
      },
      "credentials": {
        "googleDocsOAuth2Api": {
          "id": "3NYxUhqJSWbKCb0s",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "e11a6bbc-4e5d-4b55-8dd1-5af4adb49998",
      "name": "设置简介",
      "type": "n8n-nodes-base.set",
      "position": [
        -240,
        400
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "adf17d4d-a89e-4f97-9d31-5e74834428fc",
              "name": "bio",
              "type": "string",
              "value": "={{ $json.output }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "df68bca8-f356-4bd5-8487-acf7a28a3eaa",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        32
      ],
      "parameters": {
        "color": 5,
        "width": 1236,
        "height": 112,
        "content": "# Bio-Graphy 代理 — 使用 GPT-5 自动生成和润色个人简介"
      },
      "typeVersion": 1
    },
    {
      "id": "b86d5e02-c7c4-417d-bf0e-ef8f07fd4cbf",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        192
      ],
      "parameters": {
        "color": 6,
        "width": 352,
        "height": 432,
        "content": "### 🟩 当用户提交以下内容时,此节点触发工作流:"
      },
      "typeVersion": 1
    },
    {
      "id": "194d38b1-4f52-4862-9a26-daaf62197b9a",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        208
      ],
      "parameters": {
        "width": 256,
        "height": 432,
        "content": "### 🟩 这里我们在将输入文本发送给 GPT-5 之前,对其进行清理和结构化(删除多余空格、修正大小写等)。"
      },
      "typeVersion": 1
    },
    {
      "id": "d96244ce-1254-4363-90b4-d7a65a2f1781",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -304,
        224
      ],
      "parameters": {
        "color": 3,
        "width": 496,
        "height": 432,
        "content": "## 对简介提供反馈。"
      },
      "typeVersion": 1
    },
    {
      "id": "57bd7e84-76de-46ea-9636-ebb7bca97a19",
      "name": "GPT-5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        128,
        768
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "a0jh6VCqkdOTDXdO",
          "name": "OpenAi team@vohoai.com"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "d060485b-1878-4dc3-8524-cced926eb90b",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        224
      ],
      "parameters": {
        "width": 304,
        "height": 304,
        "content": "## 将文档保存到 Google Docs"
      },
      "typeVersion": 1
    },
    {
      "id": "b96d506b-6be0-461d-80cf-9ff842b65ead",
      "name": "便利贴5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        560
      ],
      "parameters": {
        "color": 5,
        "width": 384,
        "height": 400,
        "content": "## 优化简介"
      },
      "typeVersion": 1
    },
    {
      "id": "8ecca430-0176-4678-b599-5de32cc21b69",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        688
      ],
      "parameters": {
        "color": 4,
        "width": 400,
        "height": 224,
        "content": "## GPT-5 聊天模型"
      },
      "typeVersion": 1
    },
    {
      "id": "f0436e15-da3d-4104-8503-4de94e5b0a88",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1776,
        192
      ],
      "parameters": {
        "width": 800,
        "height": 1040,
        "content": "# 🟨 工作流概览"
      },
      "typeVersion": 1
    },
    {
      "id": "c03c6f54-61e7-416f-9df8-df1edbe7ed86",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -944,
        704
      ],
      "parameters": {
        "color": 4,
        "width": 880,
        "height": 560,
        "content": "# 🧠 适用人群"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "287f5ee0-48bf-4271-90ea-f0e9a08e0f53",
  "connections": {
    "GPT-5": {
      "ai_languageModel": [
        [
          {
            "node": "Biography Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Evaluator Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Optimizer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Bio": {
      "main": [
        [
          {
            "node": "Evaluator Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Evaluate": {
      "main": [
        [
          {
            "node": "Push to Docs",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Optimizer Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Biography Agent": {
      "main": [
        [
          {
            "node": "Set Bio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Evaluator Agent": {
      "main": [
        [
          {
            "node": "Evaluate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Optimizer Agent": {
      "main": [
        [
          {
            "node": "Set Bio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Biography Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 内容创作, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量17
分类2
节点类型7
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Asfandyar Malik

Asfandyar Malik

@asfandyar-malik

Building AI Calling | Voho Calling

外部链接
在 n8n.io 查看

分享此工作流