Templates / Analyze ad performance from Meta, Google and Microsoft using Groq Llama 3.3 and Gmail

Analyze ad performance from Meta, Google and Microsoft using Groq Llama 3.3 and Gmail

Ready for 3.0

by Ayush Singh · 50 views · created 2026-03-12 · Market Research, 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 workflow has 10 nodes and runs on a schedule (every month at 09:00). Along the way it connects Gmail and Google Sheets. It also calls api.groq.com over HTTP.

How it runs

Trigger: On a schedule (every month at 09:00).

  1. Read - Google ads (Google Sheets): uses Google Sheets
  2. Read - Meta ads (Google Sheets): uses Google Sheets
  3. Read - Microsoft ads (Google Sheets): uses Google Sheets
  4. Merge: merges the data from its input branches
  5. Calculate - KPIs & Build Prompt (Code): runs custom JavaScript code
  6. Groq - Generate Insights (HTTP Request): calls api.groq.com (POST)
  7. Merge: merges the data from its input branches
  8. Build - HTML Report (Code): runs custom JavaScript code
  9. Send a message (Gmail): uses Gmail

Services it uses

GmailGoogle Sheets

HTTP calls to: api.groq.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 (6)

From the author

How it works This workflow automatically generates a detailed AI-powered campaign performance report across Meta, Google and Microsoft Ads and emails it to your team every month. It reads campaign data from three tabs in a Google Sheet (Google, Meta,…

Excerpt from Ayush Singh'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.