Back to Integrations
integrationBrevo node
integrationGmail node

Brevo and Gmail integration

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

How to connect Brevo and Gmail

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

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

Step 2: Add and configure Brevo and Gmail nodes

You can find Brevo and Gmail in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Brevo and Gmail nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Brevo and Gmail integration: Add and configure Brevo and Gmail nodes

Step 3: Connect Brevo and Gmail

A connection establishes a link between Brevo and Gmail (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Brevo and Gmail integration: Connect Brevo and Gmail

Step 4: Customize and extend your Brevo and Gmail integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Brevo and Gmail with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Brevo and Gmail integration: Customize and extend your Brevo and Gmail integration

Step 5: Test and activate your Brevo and Gmail workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Brevo to Gmail or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Brevo and Gmail integration: Test and activate your Brevo and Gmail workflow

Smart Email Auto-Responder Template using AI

Smart Email Auto-Responder with AI Classification
Automatically Categorize and Reply to Emails using LangChain + Google Gemini + Gmail + SMTP + Brevo

This n8n workflow is designed to intelligently manage incoming emails and automatically send personalized responses based on the content. It classifies emails using LangChain's Text Classifier, sends HTML responses depending on the category, and updates Gmail and Brevo CRM accordingly.

Key Features

Triggers and Classifies Emails
Listens for new Gmail messages every hour
Uses AI-based classification to identify the type of inquiry For Example:
Guest Post
YouTube Review
Udemy Course Inquiry

Responds Automatically
Sends professional HTML replies customized for each type
Uses SMTP to deliver emails from your domain

Enhances Workflow with Automation
Marks processed emails as read
Applies Gmail labels
Adds sender to Brevo contact list

Optional AI Chat Integration
Uses Google Gemini (PaLM 2) to enhance classification or summarization

Tools & Integrations Required

Gmail account (OAuth2)
LangChain (Text Classifier node)
Google Gemini API account
SMTP credentials (e.g., Gmail SMTP, Brevo, etc.)
Brevo/Sendinblue account and API key

Step-by-Step Node Guide

  1. Gmail Trigger
    Polls Gmail every hour for new emails.
    Filters out internal addresses (e.g., @syncbricks.com).
    Avoids replying to already-responded emails (Re: subject filter).

  2. LangChain Text Classifier
    Uses AI to categorize the content of the email based on pre-defined categories:
    Guest Post**
    Youtube**
    Udemy Courses**

  3. Google Gemini (PaLM) Chat Model (Optional)
    Provides additional AI support to enhance classification accuracy.
    Can be used to summarize or enrich the context if needed.

  4. Email Send Nodes
    Each response category has a separate SMTP node with a custom HTML email:
    Guest Post Inquiry**
    YouTube Video Inquiry**
    Udemy Course Inquiry**

  5. Gmail: Mark as Read
    Marks the email so it isn’t processed again.

  6. Gmail: Apply Label
    Adds a label (e.g., Handled by Bot) for organization.

  7. Brevo: Create/Update Contact
    Saves the sender to your CRM for future communication or marketing.

Email Templates Included

Guest Post Template
Includes pricing, website list, submission guidelines, and payment instructions.

YouTube Review Template
Includes package pricing, review samples, video thumbnails, and inquiry instructions.
Step by Step Tutorial

AI Automation Mastery

More courses:
http://lms.syncbricks.com

YouTube Channel:
https://youtube.com/@syncbricks

How to Use

Import the template into your n8n instance.
Configure your Gmail OAuth2 and SMTP credentials.
Set up your LangChain Text Classifier and Google Gemini API credentials.
Update label ID in the Gmail node and ensure all custom fields like from.value[0].name match your use case.
Run the workflow and watch it respond intelligently to new inquiries.

Best Practices

Always test with mock emails first.
Keep the Google Gemini node optional if you want to reduce cost/API calls.
Use Gmail filters to auto-label certain types of emails.
Monitor your Brevo contacts to track new leads.

Attribution & Support

Developed by Amjid Ali
This template took extensive time and effort to build. If you find it useful, please consider supporting my work.

Buy My Book:
Mastering n8n on Amazon

Full Courses & Tutorials:
http://lms.syncbricks.com

Follow Me Online:
LinkedIn: https://linkedin.com/in/amjidali
Website: https://amjidali.com
YouTube: https://youtube.com/@syncbricks

Nodes used in this workflow

Popular Brevo and Gmail workflows

Smart Email Auto-Responder Template using AI

Smart Email Auto-Responder with AI Classification Automatically Categorize and Reply to Emails using LangChain + Google Gemini + Gmail + SMTP + Brevo This n8n workflow is designed to intelligently manage incoming emails and automatically send personalized responses based on the content. It classifies emails using LangChain's Text Classifier, sends HTML responses depending on the category, and updates Gmail and Brevo CRM accordingly. Key Features Triggers and Classifies Emails Listens for new Gmail messages every hour Uses AI-based classification to identify the type of inquiry For Example: Guest Post YouTube Review Udemy Course Inquiry Responds Automatically Sends professional HTML replies customized for each type Uses SMTP to deliver emails from your domain Enhances Workflow with Automation Marks processed emails as read Applies Gmail labels Adds sender to Brevo contact list Optional AI Chat Integration Uses Google Gemini (PaLM 2) to enhance classification or summarization Tools & Integrations Required Gmail account (OAuth2) LangChain (Text Classifier node) Google Gemini API account SMTP credentials (e.g., Gmail SMTP, Brevo, etc.) Brevo/Sendinblue account and API key Step-by-Step Node Guide Gmail Trigger Polls Gmail every hour for new emails. Filters out internal addresses (e.g., @syncbricks.com). Avoids replying to already-responded emails (Re: subject filter). LangChain Text Classifier Uses AI to categorize the content of the email based on pre-defined categories: Guest Post** Youtube** Udemy Courses** Google Gemini (PaLM) Chat Model (Optional) Provides additional AI support to enhance classification accuracy. Can be used to summarize or enrich the context if needed. Email Send Nodes Each response category has a separate SMTP node with a custom HTML email: Guest Post Inquiry** YouTube Video Inquiry** Udemy Course Inquiry** Gmail: Mark as Read Marks the email so it isn’t processed again. Gmail: Apply Label Adds a label (e.g., Handled by Bot) for organization. Brevo: Create/Update Contact Saves the sender to your CRM for future communication or marketing. Email Templates Included Guest Post Template Includes pricing, website list, submission guidelines, and payment instructions. YouTube Review Template Includes package pricing, review samples, video thumbnails, and inquiry instructions. Step by Step Tutorial AI Automation Mastery More courses: http://lms.syncbricks.com YouTube Channel: https://youtube.com/@syncbricks How to Use Import the template into your n8n instance. Configure your Gmail OAuth2 and SMTP credentials. Set up your LangChain Text Classifier and Google Gemini API credentials. Update label ID in the Gmail node and ensure all custom fields like from.value[0].name match your use case. Run the workflow and watch it respond intelligently to new inquiries. Best Practices Always test with mock emails first. Keep the Google Gemini node optional if you want to reduce cost/API calls. Use Gmail filters to auto-label certain types of emails. Monitor your Brevo contacts to track new leads. Attribution & Support Developed by Amjid Ali This template took extensive time and effort to build. If you find it useful, please consider supporting my work. Buy My Book: Mastering n8n on Amazon Full Courses & Tutorials: http://lms.syncbricks.com Follow Me Online: LinkedIn: https://linkedin.com/in/amjidali Website: https://amjidali.com YouTube: https://youtube.com/@syncbricks

Build your own Brevo and Gmail integration

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

Create
Create or Update
Delete
Get
Get Many
Update
Create
Update
Delete
Get Many
Send
Send Template
Create
Delete
Get Many

Gmail supported actions

Add Label
Delete
Get
Get Many
Mark as Read
Mark as Unread
Remove Label
Reply
Send
Send and Wait for Response
Create
Delete
Get
Get Many
Create
Delete
Get
Get Many
Add Label
Delete
Get
Get Many
Remove Label
Reply
Trash
Untrash

FAQs

  • Can Brevo connect with Gmail?

  • Can I use Brevo’s API with n8n?

  • Can I use Gmail’s API with n8n?

  • Is n8n secure for integrating Brevo and Gmail?

  • How to get started with Brevo and Gmail integration in n8n.io?

Need help setting up your Brevo and Gmail integration?

Discover our latest community's recommendations and join the discussions about Brevo and Gmail integration.
jake chard
Jan Koch
Paul Kennard

Looking to integrate Brevo and Gmail in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Brevo with Gmail

Build complex workflows, really fast

Build complex workflows, really fast

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

Code when you need it, UI when you don't

Simple debugging

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

Use templates to get started fast

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

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon