NPR赞助服务MCP服务器

中级

这是一个Engineering、AI RAG领域的自动化工作流,包含 6 个节点。主要使用 HttpRequestTool、McpTrigger 等节点。 NPR赞助服务MCP服务器

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "Nh37E5KNmMI11mmw",
  "meta": null,
  "name": "NPR 赞助服务 MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "7adee1da-4808-42a2-aec7-2e8a85ff8cde",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1020,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "7245a848-e71f-42af-9164-7392c54fe08f",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 720,
        "content": "## 🛠️ NPR 赞助服务 MCP 服务器 ✅ 2 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "6973d808-5645-458b-865b-8270ae80e977",
      "name": "NPR 赞助服务 MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "29cba61b-a4a2-4f4e-9345-48e2a534ca7d",
      "parameters": {
        "path": "npr-sponsorship-service-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "23f6520d-ca4d-4d95-9105-9a927a8f39f1",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 500,
        "height": 200,
        "content": "## 赞助"
      },
      "typeVersion": 1
    },
    {
      "id": "9e3178dc-a7d9-45e6-82ad-6e6535219698",
      "name": "获取 VAST 赞助",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://sponsorship.api.npr.org/v2/ads",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "forceResult",
              "value": "={{ $fromAI('forceResult', 'Whether to force a synchronous call to our external sponsorship provider; the default behavior is asynchronous.', 'boolean') }}"
            },
            {
              "name": "adCount",
              "value": "={{ $fromAI('adCount', 'How many sponsorship units to request in one call; if left unspecified, the default behavior is to return only 1.', 'number') }}"
            }
          ]
        },
        "toolDescription": "Request VAST sponsorship units\n\nParameters:\n- Query parameters:\n  • forceResult (optional) - Whether to force a synchronous call to our external sponsorship provider; the default behavior is asynchronous.\n  • adCount (optional) - How many sponsorship units to request in one call; if left unspecified, the default behavior is to return only 1."
      },
      "typeVersion": 4.2
    },
    {
      "id": "d405f577-5f64-4517-b937-fae726412919",
      "name": "跟踪 VAST 赞助数据",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        -60
      ],
      "parameters": {
        "url": "=https://sponsorship.api.npr.org/v2/ads",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Record tracking data for VAST sponsorship units"
      },
      "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-03T17:14:09.943Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-03T17:14:09.943Z",
      "workflowId": "Nh37E5KNmMI11mmw"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-03T17:14:09.942Z",
  "updatedAt": "2025-07-03T17:18:54.000Z",
  "versionId": "3189e385-c5e1-4dc7-9402-e2bfcd02837d",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Fetch VAST Sponsorships": {
      "ai_tool": [
        [
          {
            "node": "NPR Sponsorship Service MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Track VAST Sponsorship Data": {
      "ai_tool": [
        [
          {
            "node": "NPR Sponsorship Service MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

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

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

这是一个中级难度的工作流,适用于Engineering、AI RAG等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

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

工作流信息
难度等级
中级
节点数量6
分类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 上查看 →

分享此工作流