8
n8n 中文网amn8n.com

BIN 查询 API MCP 服务器

中级

这是一个Engineering, AI Chatbot领域的自动化工作流,包含 7 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 BIN 卡信息查询 API 连接器,用于 AI 代理,包含余额检查

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "92bdHzSdLed9qonz",
  "meta": null,
  "name": "BIN 查询 API MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "9a3f74d4-7008-4fb7-bcb2-1ec7b747b01c",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "46d8ecad-0403-4111-b955-f98becf98511",
      "name": "工作流概述",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## 🛠️ BIN 查询 MCP 服务器 ✅ 2 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "54c9d6f8-e90a-4d73-b622-37295916037f",
      "name": "BIN 查询 MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "976d6237-d0da-4326-adbb-7fb770ff2df6",
      "parameters": {
        "path": "bin-lookup-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "acaebad1-70e7-42cb-a999-d11243e32bd3",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 300,
        "height": 200,
        "content": "## 余额"
      },
      "typeVersion": 1
    },
    {
      "id": "c1830cb3-92e5-48bb-942b-4e790cc5066c",
      "name": "检查余额",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://api.bintable.com/v1/balance",
        "options": {},
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "api_key",
              "value": "={{ $fromAI('api_key', 'The API key, which you can get from bintable.com website.', 'string') }}"
            }
          ]
        },
        "toolDescription": "Check Balance\n\nParameters:\n- Query parameters:\n  • api_key (required) - The API key, which you can get from bintable.com website."
      },
      "typeVersion": 4.2
    },
    {
      "id": "657fa981-796d-4b1d-bb7f-7d6741f2bc73",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 200,
        "content": "## 查询"
      },
      "typeVersion": 1
    },
    {
      "id": "e208e27f-2c6a-4bec-9a38-5cfb31cebebb",
      "name": "查询 BIN",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {
        "url": "=https://api.bintable.com/v1/{{ $fromAI('bin', 'pass the required BIN code', 'string') }}",
        "options": {},
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "api_key",
              "value": "={{ $fromAI('api_key', 'The API key, which you can get from bintable.com website.', 'string') }}"
            }
          ]
        },
        "toolDescription": "Lookup for bin\n\nParameters:\n- Path parameters:\n  • bin (required) - pass the required BIN code\n- Query parameters:\n  • api_key (required) - The API key, which you can get from bintable.com website."
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-01T21:38:13.231Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-01T21:38:13.231Z",
      "workflowId": "92bdHzSdLed9qonz"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-01T21:38:13.229Z",
  "updatedAt": "2025-07-01T21:39:18.000Z",
  "versionId": "efe73539-46bf-4d4d-9861-8afdbfc2293e",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Check Balance": {
      "ai_tool": [
        [
          {
            "node": "BIN Lookup MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Lookup for bin": {
      "ai_tool": [
        [
          {
            "node": "BIN Lookup MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

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

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

中级 - 工程, AI 聊天机器人

需要付费吗?

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

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

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

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 查看

分享此工作流