See llms.txt for all machine-readable content.

OpenAI and ZenRows integration

Save yourself the work of writing custom integrations for OpenAI and ZenRows 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 ZenRows

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 ZenRows integration: Create a new workflow and add the first step

Send daily birthday greetings via Gmail, WhatsApp, Telegram and Slack

Quick Overview This workflow runs daily, pulls birthdays from Google Contacts, generates personalized birthday copy with OpenAI, sends greetings via Gmail, WhatsApp Business Cloud, and Telegram when available, and posts a per-contact delivery summary to Slack. How it works Runs every day at 8:00 AM on a schedule. Fetches all contacts from Google Contacts including names, birthdays, email addresses, phone numbers, and biographies. Normalizes contact details, validates email/phone/Telegram chat ID fields, and keeps only contacts whose birthday is today. Uses OpenAI to generate a birthday message payload (email subject/body plus a short chat message) and applies fallback text if any fields are missing. Sends the birthday greeting through Gmail, WhatsApp Business Cloud, and Telegram only for channels that pass validation, and records a sent or skipped status for each channel. Builds a Slack-friendly summary per birthday contact and posts it to the configured Slack channel. Setup Connect your Google Contacts account in n8n so the workflow can read contacts with birthdays, emails, phone numbers, and biographies. Add an OpenAI credential and ensure your prompt returns JSON fields named subject, emailMessage, and shortMessage. Add a Gmail OAuth2 credential for sending emails and confirm the workflow is allowed to email your contacts. Add WhatsApp Business Cloud credentials and replace YOUR_WHATSAPP_PHONE_NUMBER_ID with your phone number ID. Add a Telegram bot credential and ensure each recipient’s numeric chatId is available (for example stored in the contact biography field). Add a Slack OAuth2 credential and replace YOUR_SLACK_CHANNEL_ID with the channel where the final summary should be posted.

Popular ways to use the OpenAI and ZenRows integration

Build your own OpenAI and ZenRows integration

Create custom OpenAI and ZenRows 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 ZenRows

Delete
Get
Head
Options
Patch
Post
Put

To set up ZenRows 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 ZenRows to query the data you need using the API endpoint URLs you provide.

See the example here

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 ZenRows integration details

OpenAI

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.

ZenRows

ZenRows

ZenRows simplifies web scraping by providing an API that automates the process. It allows users to easily extract data from websites without the need for manual extraction.

Other integrations with OpenAI and ZenRows

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 ZenRows integration?

Discover our latest community's recommendations and join the discussions about OpenAI and ZenRows 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?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate OpenAI with ZenRows

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