See llms.txt for all machine-readable content.

Brevo and OpenAI integration

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

How to connect Brevo and OpenAI

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.

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

Automate lead generation with Apollo, AI scoring and Brevo email outreach

AI Scoring, Personalized Email Creation and Outreach Overview This comprehensive automation flow helps you scale your outreach to potential customers through intelligent personalized email campaigns. The system combines web scraping, AI-powered lead scoring, and automated email sequences to maximize your conversion rates. Key Features Intelligent Website Analysis with automated scraping AI-Powered Lead Scoring for prioritization Personalized Email Generation using AI Automated Email Outreach with tracking Real-time Event Monitoring via Brevo webhooks Centralized Data Management with NocoDB System Architecture The workflow integrates multiple platforms to create a seamless lead generation pipeline: NocoDB - Central database and CRM Crawl4AI - Website content analysis OpenAI - Lead scoring and email personalization Brevo - Email delivery and tracking Setup Requirements Prerequisites Before starting, ensure you have accounts for the following services: NocoDB (Database & CRM) Apify (Web scraping platform) OpenAI (AI processing) Brevo (Email delivery service) > 💡 Pro Tip: For advanced users, consider self-hosting NocoDB and Crawl4AI to significantly reduce operational costs. Step-by-Step Setup 1. NocoDB Database Configuration Create Your NocoDB Account Sign up at nocodb.com Create a new workspace Set up your first base (database) Database Schema Setup Create a new table with the following field structure: | Field Name | Field Type | Configuration | |------------|------------|---------------| | first_name | Single Line Text | - | | last_name | Single Line Text | - | | email | Email | - | | headline | Single Line Text | - | | linkedin_url | URL | - | | industry | Single Line Text | - | | organization_name | Single Line Text | - | | organization_website | URL | - | | organization_size | Number | - | | organization_linkedin_url | URL | - | | organization_facebook_url | URL | - | | market_cap | Single Line Text | - | | job_title | Single Line Text | - | | country | Single Line Text | - | | city | Single Line Text | - | | lead_status | Single Select | Options: entered(make it default!), processed, email_created, contacted, trash, failed_to_process, opened_email, warm | Default Value: entered | website_summary | Long Text | - | | score | Number | Default: 0 | | organization_description | Long Text | - | | primary_phone | Phone Number | - | | keywords | Single Line Text | - | | email_subject | Single Line Text | - | | email_body | Long Text | - | | email_opened_times | Number | Default: 0 | | personal_email | Single Line Text | - | 2. External Service Setup Apify Configuration Create account at apify.com Navigate to Settings → API tokens Generate new API token Save token securely for automation setup OpenAI API Setup Visit platform.openai.com Go to API Keys section Create new secret key Store API key securely Ensure billing is configured for API usage Brevo Email Service Sign up at brevo.com Complete account verification Navigate to SMTP & API settings Generate API key for integration Configure sender authentication (SPF/DKIM) Workflow Process Phase 1: Lead Discovery & Data Collection Data Import - Populate NocoDB with lead information Status Update - Mark leads as entered Phase 2: Website Analysis & Lead Scoring Website Scraping - Analyze company websites using Crawl4AI Content Processing - Extract key business information AI Scoring - Evaluate lead quality using OpenAI Database Update - Store analysis results and scores Phase 3: Email Personalization & Outreach Content Generation - Create personalized email content Email Preparation - Format messages for delivery Automated Sending - Deploy via Brevo Status Tracking - Monitor delivery and engagement Phase 4: Performance Monitoring Webhook Processing - Capture Brevo email events Engagement Tracking - Update open/click metrics Lead Qualification - Adjust lead status based on engagement Pipeline Management - Maintain lead progression Lead Status Workflow entered → processed → email_created → contacted → opened_email → warm ↓ failed_to_process / trash (for low-quality leads) Status Definitions entered: Initial lead data captured processed: Website analyzed and scored email_created: Personalized email generated contacted: Email successfully sent opened_email: Recipient opened the email warm: High engagement, ready for follow-up failed_to_process: Technical issues during processing trash: Low-quality lead, removed from active pipeline Best Practices Data Quality Regularly clean and deduplicate your lead database Monitor lead scores to refine your targeting criteria Archive or remove inactive leads to maintain performance Email Deliverability Warm up your sending domain before high-volume campaigns Monitor bounce rates and adjust list quality Implement proper SPF, DKIM, and DMARC records Compliance Ensure GDPR/CAN-SPAM compliance in all communications Provide clear unsubscribe mechanisms Respect recipient preferences and opt-outs Performance Optimization A/B test email subject lines and content Analyze open rates and adjust sending times Segment leads based on engagement levels for targeted follow-up Next Steps Once your setup is complete, you'll have a powerful, automated lead generation system that can: Process hundreds of leads simultaneously Provide intelligent lead prioritization Generate personalized outreach at scale Track and optimize campaign performance Ready to transform your lead generation process? Start with the NocoDB setup and work through each integration step by step.

Popular ways to use the Brevo and OpenAI integration

Build your own Brevo and OpenAI integration

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

Brevo supported actions

OpenAI supported actions

Brevo and OpenAI integration details

Brevo

Brevo

Sendinblue is an excellent all-in-one digital marketing platform that helps B2B and B2C businesses, online merchants, and agencies by enabling them to develop client connections through transactional messaging, marketing automation, and end-to-end digital marketing campaigns.

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.

Automate lead management

Using too many marketing tools? n8n lets you orchestrate all your apps into one cohesive, automated workflow.

Learn more

FAQ about Brevo integrations

Need help setting up your Brevo and OpenAI integration?

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

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