Automation library · Content

Automate daily Hindu festival posts on X with Gemini

Started by a clock, and works across Google Sheets and X. It hands the judgement calls to Gemini and OpenAI. 17 steps: a working afternoon to understand properly.

MediumCalls a model: Gemini, OpenAI

17 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 9Logic 2Service 4

The steps in the order they run, from what starts it.

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Structured PostsOutput Parser StructuredModel
  3. 3Generator ModelLm Chat Google GeminiModel
  4. 4Selector ModelLm Chat Open AiModel
  5. 5Structured Output Parser1Output Parser StructuredModel
  6. 6Everyday TriggerSchedule triggerStarts it
  7. 7Generate DataLm Chat Google GeminiModel
  8. 8Schema for DataOutput Parser StructuredModel
  9. 9Get Festival DataHttp RequestService
  10. 10Generate PostsChain LlmModel
  11. 11Select Best PostChain LlmModel
  12. 12Get Today's DateCodeLogic
  13. 13Generate Structured DataChain LlmModel
  14. 14Post to XTwitterService
  15. 15Fetch Data of Matched DateGoogle SheetsService
  16. 16Transform to add all Data at onceCodeLogic
  17. 17Add all Rows at onceGoogle SheetsService

How it's built

Starts on
A clock
Steps
17
Size
Medium: a working afternoon
Connects to
Google Sheets, X
Model
Gemini, OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and X accounts, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.