Track social media growth and weekly reports with X API, YouTube API, and Gmail
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (every day). Along the way it connects Gmail. It also calls googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every day).
- Set X Username (Edit Fields (Set)): sets 1 field: xUsername
- Set YT Channel Username (Edit Fields (Set)): sets 1 field: ytUsername
- If: checks a condition and branches into true / false
- Fetch X Profile Metrics (HTTP Request): calls an HTTP API
- Fetch YT Channel Stats (HTTP Request): calls googleapis.com
- Get Today's Data (Data table): get
- Save X Followers Count (Data table): create or update
- Save YT Subscriber Count (Data table): create or update
- Get Last Monday's Data (Data table): get
- Send a message (Gmail): uses Gmail
Services it uses
Other YouTube + Gmail templates (27) · Other X (Twitter) + Gmail templates (14) · Other YouTube + X (Twitter) templates (7)
HTTP calls to: googleapis.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)
- HTTP Request
n8n-nodes-base.httpRequest - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Monitor and record your personal or competitors’ social media growth with this scalable n8n automation template. Using official APIs from X (formerly Twitter) and YouTube, the workflow fetches daily follower and subscriber counts, stores them in a structured…