Festival social media automation with Gemini AI for X/Twitter & Facebook
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Sheets, X (Formerly Twitter), Facebook Graph API and Google Gemini Chat Model. It also calls generativelanguage.googleapis.com, api.x.com and api.twitter.com over HTTP.
How it runs
Trigger: On a schedule (every day at 08:00).
- Get Today's Date (Code): runs custom JavaScript code
- Fetch Data of Matched Date (Google Sheets): uses Google Sheets
- Prompt Generator (AI Agent): runs an AI agent, with model: Prompt generator model; output parser: Structured prompts
- Generate Posts (Basic LLM Chain): sends a prompt to an LLM, with model: Post Generator Model; output parser: Structured Posts
- Generate Image (HTTP Request): calls generativelanguage.googleapis.com (POST)
- Merge: merges the data from its input branches
- Convert base64 to Image (Code): runs custom JavaScript code
- Aggregate: combines items into one
- Get Media ID for X (HTTP Request): calls api.x.com (POST)
- Post to Facebook (Facebook Graph API): uses Facebook Graph API
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: generativelanguage.googleapis.com, api.x.com, api.twitter.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 (12)
- Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Schedule Trigger
n8n-nodes-base.scheduleTrigger - X (Formerly Twitter)
n8n-nodes-base.twitter - Aggregate
n8n-nodes-base.aggregate - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Facebook Graph API
n8n-nodes-base.facebookGraphApi - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
🎉 Festival Social Media Automation with Gemini AI for X/Twitter & Facebook Transform your festival marketing with this comprehensive automation workflow that creates and posts culturally authentic social media content across multiple platforms daily. ⚙️ What…