Templates / Send weekly Facebook and Instagram PDF performance reports with Gemini and Gmail

Send weekly Facebook and Instagram PDF performance reports with Gemini and Gmail

Ready for 3.0

by SPCTEK AI ✓ · 19 views · created 2026-06-09 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 20 nodes and runs on a schedule (every week at 08:00). Along the way it connects OpenAI, 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: Facebook_Page_ID, IG_Business_Account_ID, Meta_Access_Token…
  2. Calculate Dates and Wrap Data (Code): runs custom JavaScript code
  3. Get Facebook Feed (HTTP Request): calls an HTTP API
  4. Get Instagram Activity (HTTP Request): calls an HTTP API
  5. Get Facebook Page Insights (HTTP Request): calls an HTTP API
  6. Views (HTTP Request): calls an HTTP API
  7. Get Facebook Content Views (HTTP Request): calls an HTTP API
  8. Get Instagram Insights (Code): runs custom JavaScript code
  9. Organize Facebook Data (Code): runs custom JavaScript code
  10. Get Instagram Follows and Unfollows (Code): runs custom JavaScript code

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

Services it uses

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

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Quick Overview This workflow runs every Monday morning, pulls last week’s Facebook Page and Instagram Business metrics from the Meta Graph API, generates chart images, asks Google Gemini to write a narrative analysis, converts a branded HTML report to PDF via…

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.