Automation library · Research and reporting

Automated Twitter brand promotion with Claude

Started by a clock, and works across Google Sheets and X. It hands the judgement calls to Claude. 20 steps, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Claude

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

The flow

Starts it 2Model 2Logic 9Service 7

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Anthropic Chat ModelLm Chat AnthropicModel
  3. 3Schedule Trigger (every 4 hours)Schedule triggerStarts it
  4. 4Compose CommentAgentModel
  5. 5Automaticaly set todays DateSetLogic
  6. 6Loop Over ItemsSplit In BatchesLogic
  7. 7Check if there's a Google Sheet for todays DateGoogle SheetsService
  8. 8Merge2MergeLogic
  9. 9Add info to the Report TableGoogle SheetsService
  10. 10Post on TwitterTwitterService
  11. 11CodeCodeLogic
  12. 12MergeMergeLogic
  13. 13Create new sheetGoogle SheetsService
  14. 14WaitWaitLogic
  15. 15SET KEYWORDSetLogic
  16. 16Add info to the Report Table1Google SheetsService
  17. 17Define sheet headersSetLogic
  18. 18Twitter Search by KeywordHttp RequestService
  19. 19Add headers to the SheetHttp RequestService
  20. 20Split tweetsCodeLogic

How it's built

Starts on
A clock
Steps
20, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets, X
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and X accounts, and a key for Claude. 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 Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 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 20 steps before you point it at anything that matters.