8
n8n 中文网amn8n.com

货币转换工作流

中级

这是一个Finance, Product领域的自动化工作流,包含 10 个节点。主要使用 Set, Html, Webhook, HttpRequest, RespondToWebhook 等节点。 货币转换工作流

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "pDDOf7oK0FAxGLtm",
  "meta": {
    "instanceId": "92786e96ce436aecd3a1d62d818a74e51ca684bb36c805928bef93a3b46549ad"
  },
  "tags": [],
  "nodes": [
    {
      "id": "6346b221-a6ca-4938-a37e-7e564b43735b",
      "name": "获取汇率",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -100,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a07c206e-b044-4acb-b50c-c81406370355",
      "name": "提取转换数据",
      "type": "n8n-nodes-base.html",
      "position": [
        220,
        160
      ],
      "parameters": {},
      "executeOnce": true,
      "retryOnFail": false,
      "typeVersion": 1.2,
      "alwaysOutputData": true
    },
    {
      "id": "b07c69c6-f956-423b-8457-d706139f94e2",
      "name": "格式化货币响应",
      "type": "n8n-nodes-base.set",
      "position": [
        560,
        160
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "23a66449-3d22-40f9-b3c3-22fa4daf5c39",
      "name": "捕获转换查询",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -420,
        160
      ],
      "webhookId": "974e55e6-7898-41ec-8981-d265fb814213",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f017000a-1fd0-4041-925d-1086c00727d7",
      "name": "发送转换响应",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        920,
        160
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "44529e37-f945-45ca-8364-abb1f7c890f1",
      "name": "注意 - Webhook",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f3cca102-159c-4062-90d8-c0c753a7bff9",
      "name": "注意 - HTTP 请求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "507cbf79-be3c-4d2e-b16f-74342a0ac51d",
      "name": "注意 - HTML 提取",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "484992d6-3aad-4190-8894-7d8c360c12f6",
      "name": "注意 - 格式化响应",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "029a1ab8-2005-46d9-b1c4-01299a17ea12",
      "name": "注意 - 发送响应",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "11e4c097-dfb8-4c1d-8851-3988751c9927",
  "connections": {
    "Fetch Exchange Rate": {
      "main": [
        [
          {
            "node": "Extract Conversion Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Conversion Data": {
      "main": [
        [
          {
            "node": "Format Currency Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Capture Conversion Query": {
      "main": [
        [
          {
            "node": "Fetch Exchange Rate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Currency Response": {
      "main": [
        [
          {
            "node": "Send Conversion Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 财务, 产品

需要付费吗?

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

工作流信息
难度等级
中级
节点数量10
分类2
节点类型6
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Mauricio Perera

Mauricio Perera

@rckflr

Automation consultant with over 10 years of experience specializing in AI, no-code, and workflow optimization. I’ve delivered tailored AI and NLP solutions across real estate, healthcare, and more, enhancing efficiency and customer experiences. Proficient in tools like Make, Airtable, and Zapier, I also integrate GPT models to create scalable, innovative automations. Contact me to discuss custom n8n workflows or advanced automations to streamline your processes.

外部链接
在 n8n.io 查看

分享此工作流