See llms.txt for all machine-readable content.

OpenAI and Relevance AI integration

Save yourself the work of writing custom integrations for OpenAI and Relevance AI and use n8n instead. Build adaptable and scalable AI, workflows that work with your technology stack. All within a building experience you will love.

How to connect OpenAI and Relevance AI

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

OpenAI and Relevance AI integration: Create a new workflow and add the first step

Multi-agent personal assistant orchestration with GPT-4o & WhatsApp

Description 'Elena AI' is a powerful n8n workflow that transforms your automation platform into a full-fledged, multi-agent AI hub. 🤖✨ By combining Redis state management with specialized “tool” sub-workflows, you can build contextual, scalable, and highly personalized conversational automations for WhatsApp, Telegram, email, and more. 🔥 Key Features Unified Ingestion 📥 • Webhook trigger for text, audio, image, or document messages • Automatic extraction of remoteJid, user ID, and payload metadata Stateful Context 🔄 • Redis push/get queue to preserve conversation history • Seamless handling of follow-ups and multi-turn dialogs Dynamic Routing 🔀 • Smart Switch logic directs messages to the right agent workflow • Agents available: 🗓️ Malu: Google Calendar scheduling & reminders 💰 Maria: Expense logging & budget tracking in Baserow 👥 Mafalda: Contact CRUD operations in Baserow 📸 Marcela: Audio transcription & image analysis ✉️ Martina: Gmail send/receive & template replies Bite-Sized Responses ✂️ • Splits long AI replies into line-by-line messages • Loop node controls rate & order for best UX Flexible Output 📤 • HTTP Request node to deliver text, media, or files • Customize headers, payloads, and endpoints 🎯 Use Cases AI-powered customer support bots Automated lead qualification & follow-up Intelligent scheduling & reminders Expense approval workflows Multimedia content analysis & response 📋 Requirements n8n ≥ 1.0 with Webhook, Redis, SplitInBatches, HTTP Request & Workflow nodes Redis server (connection credentials in n8n) Service accounts / API keys for: Google Calendar (OAuth2) Baserow (API token) Gmail (OAuth2) Messaging API endpoint (HTTP) Environment variables set in n8n: REDIS_HOST, REDIS_PORT, REDIS_PASSWORD GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET BASEROW_API_TOKEN GMAIL_CLIENT_ID, GMAIL_CLIENT_SECRET MSG_API_URL, MSG_API_KEY 🚀 Quick Start Import the ElenaAI.json into n8n. Configure credentials and environment variables under Settings → Credentials. Link sub-workflows (Malu, Maria, Mafalda, Marcela, Martina) by updating their Workflow IDs in the main node. Test via Execute node or send a sample webhook payload. Deploy by exposing the Webhook endpoint to your messaging platform. Unlock seamless, AI-driven conversations across any channel—get MavenBot 2.0 running in minutes! 🚀

Build your own OpenAI and Relevance AI integration

Create custom OpenAI and Relevance AI workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

OpenAI supported actions

Supported methods for Relevance AI

Delete
Get
Head
Options
Patch
Post
Put

To set up Relevance AI integration, add the HTTP Request node to your workflow canvas and authenticate it using a generic authentication method. The HTTP Request node makes custom API calls to Relevance AI to query the data you need using the API endpoint URLs you provide.

Requires additional credentials set up

Use n8n's HTTP Request node with a predefined or generic credential type to make custom API calls.

OpenAI and Relevance AI integration details

OpenAI

OpenAI, the creator of ChatGPT, offers a range of powerful models including GPT-3, DALL·E, and Whisper. Leverage these models to build AI-powered workflows.

Relevance AI

Relevance AI is the hub for the AI Workforce, empowering individuals to create autonomous AI teams and automate their processes effortlessly.

Other integrations with OpenAI and Relevance AI

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about OpenAI integrations

Need help setting up your OpenAI and Relevance AI integration?

Discover our latest community's recommendations and join the discussions about OpenAI and Relevance AI integration.

  • Artem

    How to define AI-powered Extra Workflow Inputs in AI tools?

    Artem

    Describe the question I need to pass to the tool some data from the AI Agent. Like, “task name” and “task tags” to create a task via Custom Workflow Tool. So I don’t know what to refer to in the Extra Inputs. Because th…

    Open topic
  • sérgio eduardo floresta filho

    The prompt is not being executed

    sérgio eduardo floresta filho

    Hello! My goal is to use Google Forms to collect information from my clients and then use n8n to automate the processing of this information. My workflow involves: Collecting data through Google Forms. Using n8n to re…

    Open topic
  • Heisenbug

    How to handle multi-message prompts in OpenAI Chat node?

    Heisenbug

    Describe the problem/error/question I want to send multiple messages to the OpenAI Chat node (LangChain → LLM Prompt Template) in a single execution, simulating a conversation. The first message is fixed, and the followi…

    Open topic
  • Julien

    OpenAI node - How to use the new Endpoint?

    Julien

    Is it possible to choose the Responses API or OpenAI ? It has been updated a few months ago by OpenAI, but the node still seems to be using the old Completions API. [https://platform.openai.com/docs/guides/migrate-to-re…

    Open topic
  • Andrew adawdad

    OpenAI not receicving JSON data from previous node

    Andrew adawdad

    Describe the problem/error/question Im currently using the openAI node to send a text message to the system. I am sending the previous nodes JSON data, but the openai response says that im only sending {{ $json }} instea…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate OpenAI with Relevance AI

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window