Use this n8n workflow to turn the eBay Recommendation API into a powerful AI agent tool. Easily expose listing recommendations via an n8n MCP server for optimization.
Download this n8n workflow template and start using it instantly.
This n8n workflow is ideal for:
E-commerce Developers: Seeking to integrate eBay listing optimization tools directly into AI agents.
Automation Specialists: Who want to leverage the power of n8n templates to build custom API servers.
AI/LLM Engineers: Needing a reliable, scalable Microservice Component Protocol (MCP) server for eBay data.
Data Consultants: Who need a flexible n8n node structure to manage OAuth2 and parameter injection for external APIs.
This specialized n8n workflow solves the challenge of connecting AI agents, such as those built with LangChain or proprietary models, directly to the eBay Recommendation API. By utilizing the MCP server capabilities within n8n, you transform a standard API endpoint into a fully described tool that AI agents can utilize automatically.
The eBay Recommendation API provides crucial data for sellers, specifically listing recommendations related to Promoted Listings campaigns. This n8n workflow handles authentication and dynamic parameter parsing using $fromAI() expressions, allowing the AI agent to intelligently determine search criteria (like filter, limit, and offset). This robust n8n workflow ensures your AI automation tasks run smoothly, maximizing listing visibility and seller performance.
This automation functions as a dedicated server endpoint:
Get Promoted Listings Recommendations.Get Promoted Listings Recommendations n8n node (an HTTP Request Tool). This n8n node is configured using special $fromAI() expressions, which automatically extract and inject query parameters (like filter or limit) and header parameters (X-EBAY-C-MARKETPLACE-ID) synthesized by the AI agent based on its prompt.POST request to the eBay API endpoint.To deploy this powerful n8n workflow, follow these steps:
Get Promoted Listings Recommendations n8n node.This n8n workflow leverages the following key n8n nodes:
Recommendation MCP Server (MCP Trigger):
Function: Serves as the primary n8n trigger for the AI agent, listening on the path /recommendation-mcp. It receives the AI's intent and argument structure.
Key Configuration: Configured to map incoming requests to the specific HTTP Request Tool defined in the n8n workflow.
Get Promoted Listings Recommendations (HTTP Request Tool):
Function: Executes the core business logic, calling the eBay Recommendation API to retrieve data sellers can use to optimize Promoted Listings campaigns. This is the only operation exposed by this n8n node tool.
Key Configuration:
Method: POST
URL: https://api.ebay.com{basePath}/find (Base path is dynamically handled by the MCP context).
Query Parameters: Uses expressions like ={{ $fromAI('limit', '...') }} for parameters like filter, limit, and offset, allowing the AI to specify pagination and filtering criteria.
Header Parameters: Uses ={{ $fromAI('X-EBAY-C-MARKETPLACE-ID', '...') }} to dynamically set the required marketplace ID based on the AI agent's instructions.
Use this powerful n8n workflow template to turn the eBay Negotiation API into a functional tool server (MCP) for your AI agents, enabling automated discount offer execution.

Use this specialized n8n workflow template to turn the eBay Metadata API endpoints (for policies, taxes, and guidelines) into callable tools for an n8n AI Agent via the MCP trigger.

Build a specialized n8n workflow to connect AI agents to the New York Times Article Search API using the n8n MCP trigger. Ideal for advanced RAG systems and utilizing specialized n8n templates.

Automate SAP Business One (SAP B1) journal entry posting using a powerful n8n workflow. Integrate Google Sheets, external JSON inputs, and GPT-4o for robust data transformation and finance automation.

Use this efficient n8n workflow to instantly generate new masked email addresses via the Fastmail JMAP API, triggered by an external webhook. Perfect for privacy automation.

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







































