[eBay] 购买营销API MCP服务器
初级
这是一个Engineering, AI Chatbot领域的自动化工作流,包含 5 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 AI智能代理与eBay购买营销API集成
前置要求
- •可能需要目标 API 的认证凭证
使用的节点 (5)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "44kmM0ECqkFTMjyE",
"meta": null,
"name": "[eBay] 购买营销API MCP服务器",
"tags": [],
"nodes": [
{
"id": "c220949f-8f9d-4c61-849a-b886da204782",
"name": "设置说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1380,
-240
],
"parameters": {
"color": 4,
"height": 1020,
"content": "### ⚙️ 设置说明"
},
"typeVersion": 1
},
{
"id": "72e4ac74-3059-4b7b-a084-92cba5092b0e",
"name": "工作流概览",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1120,
-240
],
"parameters": {
"width": 420,
"height": 920,
"content": "## 🛠️ 购买营销 MCP 服务器 ✅ 1 个操作"
},
"typeVersion": 1
},
{
"id": "ea139953-d990-435c-afce-ae78f9b1b4d3",
"name": "购买营销 MCP 服务器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
-560,
-240
],
"webhookId": "e1e45712-a1dc-479c-99b6-c19fe77636ba",
"parameters": {
"path": "buy-marketing-mcp"
},
"typeVersion": 1
},
{
"id": "dc815043-b4a2-4e1b-a1b4-5458c70c253d",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-660,
-100
],
"parameters": {
"color": 2,
"width": 320,
"height": 220,
"content": "## 商品化产品"
},
"typeVersion": 1
},
{
"id": "3748b148-d6b3-4a7b-b328-8dfc8b258d54",
"name": "获取商品化产品",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
-520,
-40
],
"parameters": {
"url": "=https://api.ebay.com/buy/marketing/v1_beta/merchandised_product",
"options": {},
"sendQuery": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "aspect_filter",
"value": "={{ $fromAI('aspect_filter', 'The aspect name/value pairs used to further refine product results. For example: /buy/marketing/v1_beta/merchandised_product?category_id=31388&metric_name=BEST_SELLING&aspect_filter=Brand:Canon You can use the Browse API search method with the fieldgroups=ASPECT_REFINEMENTS field to return the aspects of a product. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/marketing/types/gct:MarketingAspectFilter', 'string') }}"
},
{
"name": "category_id",
"value": "={{ $fromAI('category_id', 'This query parameter limits the products returned to a specific eBay category. The list of eBay category IDs is not published and category IDs are not all the same across all the eBay maketplace. You can use the following techniques to find a category by site: Use the <a href=\"https://pages.ebay.com/sellerinformation/news/categorychanges.html\" target=\"_blank\">Category Changes page</a>. Use the Taxonomy API. For details see <a href=\"/api-docs/buy/buy-categories.html\">Get Categories for Buy APIs</a>. Use the Browse API and submit the following method to get the dominantCategoryId for an item. /buy/browse/v1/item_summary/search?q=keyword&fieldgroups=ASPECT_REFINEMENTS Maximum: 1 Required: 1', 'string') }}"
},
{
"name": "limit",
"value": "={{ $fromAI('limit', 'This value specifies the maximum number of products to return in a result set. Note: Maximum value means the method will return up to that many products per set, but it can be less than this value. If the number of products found is less than this value, the method will return all of the products matching the criteria. Default: 8 Maximum: 100', 'string') }}"
},
{
"name": "metric_name",
"value": "={{ $fromAI('metric_name', 'This value filters the result set by the specified metric. Only products in this metric are returned. Currently, the only metric supported is BEST_SELLING. Default: BEST_SELLING Maximum: 1 Required: 1', 'string') }}"
}
]
},
"toolDescription": "Array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID), title, and user reviews and ratings for the product. You can use the epid returned by this method in the Browse API search method to retrieve items for this product. Restrictions To test getMerchandisedProducts in Sandbox, you must use category ID 9355 and the response will be mock data. For a list of supported sites and other restrictions, see <a href=\"/api-docs/buy/marketing/overview.html#API\">API Restrictions</a>.\n\nParameters:\n- Query parameters:\n • aspect_filter (optional) - Aspect name/value pairs used to further refine product results. For example: /buy/marketing/v1_beta/merchandised_product?category_id=31388&metric_name=BEST_SELLING&aspect_filter=Brand:Canon You can use the Browse API search method with the fieldgroups=ASPECT_REFINEMENTS field to return the aspects of a product. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/buy/marketing/types/gct:MarketingAspectFilter\n • category_id (required) - Query parameter limits the products returned to a specific eBay category. The list of eBay category IDs is not published and category IDs are not all the same across all the eBay maketplace. You can use the following techniques to find a category by site: Use the <a href=\"https://pages.ebay.com/sellerinformation/news/categorychanges.html\" target=\"_blank\">Category Changes page</a>. Use the Taxonomy API. For details see <a href=\"/api-docs/buy/buy-categories.html\">Get Categories for Buy APIs</a>. Use the Browse API and submit the following method to get the dominantCategoryId for an item. /buy/browse/v1/item_summary/search?q=keyword&fieldgroups=ASPECT_REFINEMENTS Maximum: 1 Required: 1\n • limit (optional) - Value specifies the maximum number of products to return in a result set. Note: Maximum value means the method will return up to that many products per set, but it can be less than this value. If the number of products found is less than this value, the method will return all of the products matching the criteria. Default: 8 Maximum: 100\n • metric_name (required) - Value filters the result set by the specified metric. Only products in this metric are returned. Currently, the only metric supported is BEST_SELLING. Default: BEST_SELLING Maximum: 1 Required: 1"
},
"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-02T02:44:58.948Z",
"projectId": "G5fce9xGuBAsWBXe",
"updatedAt": "2025-07-02T02:44:58.948Z",
"workflowId": "44kmM0ECqkFTMjyE"
}
],
"pinData": {},
"settings": {
"timezone": "America/New_York"
},
"createdAt": "2025-07-02T02:44:58.946Z",
"updatedAt": "2025-07-02T02:46:01.000Z",
"versionId": "d8dcd7b8-84a7-415b-80d8-46744f0ae6e4",
"isArchived": false,
"staticData": null,
"connections": {
"Fetch Merchandised Products": {
"ai_tool": [
[
{
"node": "Buy Marketing MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"triggerCount": 0
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
初级 - 工程, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
[eBay] 物流 API MCP 服务器
通过MCP服务器实现eBay物流API的AI代理集成
Http Request Tool
Mcp Trigger
11 节点David Ashby
工程
BIN 查询 API MCP 服务器
BIN 卡信息查询 API 连接器,用于 AI 代理,包含余额检查
Http Request Tool
Mcp Trigger
7 节点David Ashby
工程
[eBay] 合规性API MCP服务器
连接AI代理至eBay合规API,管理商品违规
Http Request Tool
Mcp Trigger
8 节点David Ashby
工程
[eBay] 交易API MCP服务器
通过MCP服务器连接AI代理至eBay交易API
Http Request Tool
Mcp Trigger
10 节点David Ashby
工程
创建具有完整操作权限的Domains-Index API服务器,供AI代理使用
创建具有完整操作权限的Domains-Index API服务器,供AI代理使用
Http Request Tool
Mcp Trigger
18 节点David Ashby
工程
[eBay] 分类API MCP服务器
通过MCP服务器向AI代理提供eBay分类API,用于类别管理
Http Request Tool
Mcp Trigger
12 节点David Ashby
工程
工作流信息
难度等级
初级
节点数量5
分类2
节点类型3
作者
David Ashby
@cfomodzA 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 查看 →
分享此工作流