Templates / Generate automated social media reports with GPT-4o, Twitter, Facebook & Notion

Generate automated social media reports with GPT-4o, Twitter, Facebook & Notion

Ready for 3.0

by Rahul Joshi ✓ · 538 views · created 2025-11-06 · 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 manually, when you click “Execute workflow”. Along the way it connects Azure OpenAI Chat Model, Google Sheets, Notion and Gmail and 1 more. It also calls api.x.com and graph.facebook.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Fetch Twitter Metrics (X API) (HTTP Request): calls api.x.com
  2. Fetch Facebook Page Metrics (Graph API) (HTTP Request): calls graph.facebook.com
  3. Merge: merges the data from its input branches
  4. Validate API Response Integrity (If): checks a condition and branches into true / false
  5. Normalize & Format Social Data (JavaScript) (Code): runs custom JavaScript code
  6. Log Errors in Google Sheets (Google Sheets): append
  7. Generate HTML Social Performance Report (AI) (AI Agent): runs an AI agent, with model: Configure GPT-4o Model
  8. Save Report to Notion Database (Notion): work with database page
  9. Send Email Summary to Marketing Team (Gmail): uses Gmail
  10. Announce Summary in Slack (Slack): uses Slack

Services it uses

Azure OpenAI Chat ModelGoogle SheetsNotionGmailSlack

HTTP calls to: api.x.com, graph.facebook.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 (11)

From the author

Description Automate your weekly social media analytics with this end-to-end AI reporting workflow. 📊🤖 This system collects real-time Twitter (X) and Facebook metrics, merges and validates data, formats it with JavaScript, generates an AI-powered HTML…

Excerpt from Rahul Joshi'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.