Templates / Generate weekly Brevo campaign analytics reports with Groq and Google Sheets

Generate weekly Brevo campaign analytics reports with Groq and Google Sheets

Ready for 3.0

by Avkash Kakdiya ✓ · 45 views · created 2026-04-03 · Social Media, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Sheets, Groq Chat Model and Gmail. It also calls api.brevo.com over HTTP.

How it runs

Trigger: On a schedule (every week at 08:00).

  1. HTTP Request: calls api.brevo.com
  2. Data Cleaning (Code): runs custom JavaScript code
  3. Append row in sheet (Google Sheets): append
  4. Aggregate: combines items into one
  5. Get row(s) in sheet (Google Sheets): uses Google Sheets
  6. Filtered 7 days data (Code): runs custom JavaScript code
  7. Aggregate: combines items into one
  8. AI Agent: runs an AI agent, with model: Groq Chat Model
  9. Edit Fields (Edit Fields (Set)): sets 1 field: emailBoady
  10. Send a message (Gmail): uses Gmail

Services it uses

Google SheetsGroq Chat ModelGmail

HTTP calls to: api.brevo.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

How it works: This workflow fetches sent campaign data from Brevo on a schedule, calculates key metrics (open rate, click rate, bounce rate), and stores results in Google Sheets. It then filters to a rolling 7-day window, runs an AI analysis to generate an…

Excerpt from Avkash Kakdiya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.