Automate daily Hindu festival posts on X with Google Gemini and GPT-4o Mini 🤖
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini Chat Model, OpenAI Chat Model and X (Formerly Twitter). It also calls r.jina.ai over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Get Festival Data (HTTP Request): calls r.jina.ai
- Get Today's Date (Code): runs custom JavaScript code
- Generate Structured Data (Basic LLM Chain): sends a prompt to an LLM, with model: Generate Data; output parser: Schema for Data
- Fetch Data of Matched Date (Google Sheets): uses Google Sheets
- Transform to add all Data at once (Code): runs custom JavaScript code
- Generate Posts (Basic LLM Chain): sends a prompt to an LLM, with model: Generator Model; output parser: Structured Posts
- Add all Rows at once (Google Sheets): append
- Select Best Post (Basic LLM Chain): sends a prompt to an LLM, with model: Selector Model; output parser: Structured Output Parser
- Post to X (X (Formerly Twitter)): uses X (Formerly Twitter)
Services it uses
HTTP calls to: r.jina.ai
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 (10)
- Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Manual Trigger
n8n-nodes-base.manualTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - X (Formerly Twitter)
n8n-nodes-base.twitter - HTTP Request
n8n-nodes-base.httpRequest
From the author
✨ Automate Daily Hindu Festival Posts on X (Twitter) with AI 🐦 This workflow automates the entire process of creating and publishing culturally rich social media content about Hindu festivals. It starts by building a comprehensive festival calendar for the…