Expose the O2 Mobility API as an AI tool using this specialized n8n workflow. Integrate transit calculation and info retrieval for intelligent AI agents using the n8n trigger.
Download this n8n workflow template and start using it instantly.
AI Developers and Engineers looking to extend AI agent capabilities with real-time mobility data.
n8n Automation Specialists designing tool-use architectures for large language models.
Data Scientists requiring automated transit calculation based on Czech Republic mobile network data.
Users seeking robust, template-driven n8n templates for API integration.
This sophisticated n8n workflow addresses the challenge of securely and dynamically integrating proprietary APIs—specifically the O2 Mobility API (providing Czech Republic transit data)—into AI agent frameworks. By utilizing the specialized Multi-tool Call Protocol (MCP) capabilities, this n8n template converts standard HTTP requests into structured, callable functions for AI models.
This approach means your AI agent doesn't need to understand complex API specifics; it simply calls the dedicated n8n trigger endpoint. The n8n workflow handles parameter mapping via powerful $fromAI() expressions, ensuring seamless and accurate communication between the agent and the external API. This n8n solution simplifies tool creation and deployment, offering two key mobility operations ready for immediate use.
This specialized n8n workflow leverages the Multi-tool Call Protocol (MCP) to manage external API interactions. The core of this system is the Mobility MCP Server n8n trigger node. This n8n trigger serves as the dedicated public endpoint for AI agent communication. When an AI agent sends a request (specifying which tool to use) to the dedicated n8n trigger URL, the workflow automatically routes the request to one of the two available n8n node tools:
/info endpoint.from, to, fromType, etc.) from the AI agent’s payload using $fromAI() expressions. This makes the n8n workflow highly dynamic.Once the selected HTTP Request n8n node retrieves the data from the Mobility API, the response is natively returned through the initial Mobility MCP Server n8n trigger, delivering the result back to the calling AI agent.
To deploy and activate this powerful n8n workflow, follow these setup steps:
Mobility MCP Server n8n trigger node. Mobility MCP Server (MCP Trigger n8n Node):
Function: Acts as the HTTP endpoint (the server) for receiving requests from AI agents, routing them to the appropriate tool, and returning the API response. This is the crucial n8n trigger for the entire system.
Key Configuration: Path is set to mobility-mcp.
Retrieve Application Info (HTTP Request Tool n8n Node):
Function: Implements the 'Info' tool, retrieving basic version and application data from the Mobility API.
Key Configuration: URL is fixed: https://developer.o2.cz/mobility/sandbox/api/info. The tool description guides the AI agent on when to use this function.
Calculate Transit Route (HTTP Request Tool n8n Node):
Function: Implements the 'Transit' tool, calculating movement between designated residential units based on parameters provided by the AI agent.
* Key Configuration: The URL and query parameters extensively use the $fromAI() expression, such as {{ $fromAI('from', 'source basic residential unit', 'string') }}. This ensures the n8n node dynamically captures user-specified variables from the AI's call.
Automate invoice data extraction using this powerful n8n workflow. It combines the Mistral OCR model and GPT-4o-mini to process PDFs and images, validate results, and automatically save structured financial data to Google Sheets. Find the perfect n8n templates here.

Use this comprehensive n8n workflow to reliably migrate large vector indexes from Pinecone to Weaviate, utilizing Airtable for robust pagination and checkpointing. Includes detailed n8n node configuration.

Use this robust n8n workflow to seamlessly migrate customer data records from an older Odoo instance (v15) to a newer Odoo system (v18), leveraging the Odoo n8n node and batch processing.

Use this powerful n8n workflow to classify contact form submissions using OpenAI (GPT-4o-mini) and automatically route them to the correct department, enhancing support efficiency. Get started with this n8n template.

Use this powerful n8n workflow to extract complex Monday.com data, including nested subitems, linked pulses, and specific column values using custom n8n node logic and JavaScript scripting.

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







































