Skip to main content

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

Workflow preview

Workflow preview
100%
Analyze ad performance from Meta, Google and Microsoft using Groq Llama 3.3 and Gmail preview
Open on n8n.io

1. Workflow Overview

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 ...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.gmail, n8n-nodes-base.stickynote, n8n-nodes-base.googlesheets, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ayush Singh.

Original n8n.io source

1.1 Workflow description

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

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, Microsoft), merges all rows, and passes them to a Code node that calculates KPIs and builds a structured prompt. Groq AI (Llama 3.3 70B) then analyzes the data and generates expert insights. A second Code node combines the KPIs and AI analysis into a full HTML email with platform tables, charts, benchmarks and recommendations — sent automatically via Gmail.

Setup steps

  1. Create a Google Sheet with 3 tabs: Google, Meta, Microsoft
  2. Paste your monthly ad exports into the matching tab
  3. Connect your Google account in the 3 Sheets nodes and select the correct tab in each
  4. Add your Groq API key in the HTTP Request node header
  5. Connect your Gmail account in the Send node and set your recipient email
  6. Activate — the workflow runs automatically on schedule

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Read - Meta ads

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Read - Google ads

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Read - Microsoft ads

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Merge all platform

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 9 - Calculate - KPIs & Build Prompt

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Build - HTML Report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Merge - KPI + AI

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 12 - Groq - Generate Insights

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 13 - Trigger - Monthly Schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Analyze ad performance from Meta, Google and Microsoft using Groq Llama 3.3 and Gmail
Complexity intermediate
Nodes 14
Categories Market Research, AI Summarization
Author Ayush Singh
Published 12 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14011/14011.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Analyze ad performance from Meta, Google and Microsoft using Groq Llama 3.3 and Gmail do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.