8
n8n 中文网amn8n.com

表单图像分析与Telegram交付

初级

这是一个Document Extraction, Multimodal AI领域的自动化工作流,包含 5 个节点。主要使用 Set, Telegram, FormTrigger, OpenAi 等节点。 使用GPT-4o-mini Vision分析表单图像并通过Telegram交付

前置要求
  • Telegram Bot Token
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "Csa8xD9gpSNYMfJv",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "表单图像分析与 Telegram 交付",
  "tags": [],
  "nodes": [
    {
      "id": "b034159b-2023-404f-a8d7-773f8830ccf1",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -40,
        120
      ],
      "webhookId": "2955b618-44fa-4c54-8cf6-4fb7c102b059",
      "parameters": {
        "options": {},
        "formTitle": "ANALYZE IMAGE",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "upload here"
            }
          ]
        },
        "formDescription": "input the image you want to analyse "
      },
      "typeVersion": 2.2
    },
    {
      "id": "671f9fc1-37c4-431c-a913-f29bacd3e467",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        220,
        120
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "GPT-4O-MINI"
        },
        "options": {},
        "resource": "image",
        "inputType": "base64",
        "operation": "analyze",
        "binaryPropertyName": "upload_here"
      },
      "credentials": {
        "openAiApi": {
          "id": "BXMUxnyGzjtZQOK4",
          "name": "OpenAi account Dave"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "dc70f08b-7674-4866-8bfb-b4220d3d13d4",
      "name": "设置您的 Telegram 聊天 ID",
      "type": "n8n-nodes-base.set",
      "position": [
        420,
        120
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "ceeb3e80-717f-4251-8a14-26d62674e030",
              "name": "telegram chat id ",
              "type": "string",
              "value": "60277172761"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "addf16be-d902-451b-b24d-d7d5a7b2f7ba",
      "name": "Telegram 交付",
      "type": "n8n-nodes-base.telegram",
      "position": [
        620,
        120
      ],
      "webhookId": "7bbbcd0d-b0ca-418a-8c9b-ad4d6870c7d8",
      "parameters": {
        "text": "={{ $('OpenAI').item.json.content }}",
        "chatId": "={{ $json['telegram chat id '] }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "W7s4K928CwuY1sKA",
          "name": "Telegram account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1f4a53ac-8b0a-466b-9be5-ea3efb8b06cd",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -380
      ],
      "parameters": {
        "width": 1140,
        "height": 700,
        "content": "## 此工作流使用 OpenAI Vision 分析通过表单提交的图像,然后将分析结果直接发送到您的 Telegram 聊天。"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "af00b421-6f5f-4692-9d36-726e82438a24",
  "connections": {
    "OpenAI": {
      "main": [
        [
          {
            "node": "Set your Telegram Chat ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set your Telegram Chat ID": {
      "main": [
        [
          {
            "node": "Telegram Delivery",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

初级 - 文档提取, 多模态 AI

需要付费吗?

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

工作流信息
难度等级
初级
节点数量5
分类2
节点类型5
难度说明

适合 n8n 新手,包含 1-5 个节点的简单工作流

作者
David Olusola

David Olusola

@dae221

AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com

外部链接
在 n8n.io 查看

分享此工作流