Create universal OpenAI-compatible API endpoints for multiple AI workflows
N8n OpenAI-Compatible API Endpoints Transform your n8n workflows into OpenAI-compatible API endpoints, allowing you to access multiple workflows as selectable AI models through a single integration. What This Does This workflow creates two API endpoints that mimic the OpenAI API structure: - /models - Lists all n8n workflows tagged with aimodel (or any other tag of your choice) - /chat/completions - Executes chat completions with your selected workflows, supporting both text and s
At a glance
Create universal OpenAI-compatible API endpoints for multiple AI workflows is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Slack, OpenAI
- Modules
- 18
- Price
- Free
- Version
- v1.0

About this workflow
N8n OpenAI-Compatible API Endpoints Transform your n8n workflows into OpenAI-compatible API endpoints, allowing you to access multiple workflows as selectable AI models through a single integration. What This Does This workflow creates two API endpoints that mimic the OpenAI API structure: - /models - Lists all n8n workflows tagged with aimodel (or any other tag of your choice) - /chat/completions - Executes chat completions with your selected workflows, supporting both text and stream responses Benefits Access Multiple Workflows: Connect to all your n8n agents through one API endpoint instead of creating separate pipelines for each workflow. Universal Platform Support: Works with any application that supports OpenAI-compatible APIs, including OpenWebUI, Microsoft Teams, Zoho Cliq, and Slack. Simple Workflow Management: Add new workflows by tagging them with aimodel . No code changes needed. Streaming Support: Handles both standard responses and streaming for real-time agent interactions . How to Use 1. Download the workflow JSON file from this repository 2. Import it into your n8n instance 3. Tag your workflows with aimodel to make them accessible through the API 4. Create a new OpenAI credential in n8n and change the Base URL to point to your n8n webhook endpoints . Learn more about OpenAI Credentials 5. Point your chat applications to your n8n webhook URL as if it were an OpenAI API endpoint Requirements - n8n instance (self-hosted or cloud) - Workflows you want to expose as AI models - Any OpenAI-compatible chat application Documentation For detailed setup instructions and implementation guide, visit Inspiration This approach was inspired by Jimleuk’s workflow on n8n Templates.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Find step-by-step recipes from API Ninjas Recipe API in an n8n AI agent
Real-time PulsePoint emergency alerts to iMessage with AI summaries
Send Slack messages from new Zendesk Guide articles
Send a Slack reminder for pending Revolut draft payments
Real-time sales quote creation in Odoo via Telegram with Google Gemini AI
AI-powered CV extractor: Google Drive to Sheet with GPT-4 + Slack for recruiters
Monitor legal policy changes with Google Sheets, Gmail and GPT-4o
Score Shopify customer churn risk and sync results to Klaviyo, Slack, and Gmail
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you