Templates / Send weekly Meta Ads performance PDF reports with Gemini and Gmail

Send weekly Meta Ads performance PDF reports with Gemini and Gmail

Ready for 3.0

by SPCTEK AI ✓ · 48 views · created 2026-08-11 · 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 AI workflow has 16 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Gemini and Gmail. It also calls api.pdfshift.io over HTTP.

How it runs

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

  1. Config: Credentials & IDs (Edit Fields (Set)): sets 5 fields: Meta_Ads_Account_ID, Meta_Access_Token, Report_Email…
  2. Calculate Dates and Wrap Data (Code): runs custom JavaScript code
  3. Get Ad Account Info (HTTP Request): calls an HTTP API
  4. Get Campaign Performance (HTTP Request): calls an HTTP API
  5. Get Top Ads Performance (HTTP Request): calls an HTTP API
  6. Merge: merges the data from its input branches
  7. Organize Campaign Data (Code): runs custom JavaScript code
  8. Format & Fetch Ad Creatives (Code): runs custom JavaScript code
  9. Merge All Data & Build Charts (Code): runs custom JavaScript code
  10. Organize Ad Creative Data (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

Google GeminiGmail

HTTP calls to: api.pdfshift.io

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 (7)

From the author

Quick overview This workflow runs weekly to pull Meta Ads campaign and ad-level insights from the Meta Graph API, summarizes performance, generates charts with QuickChart, asks Google Gemini for written analysis, converts the resulting HTML report to a PDF…

Excerpt from SPCTEK AI'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.