Automation library · Chat assistants

Generate and approve Twitter news tweets with Groq

Started by an incoming Telegram message, and works across Google Sheets and Telegram. It hands the judgement calls to Groq. 18 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: Groq

18 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 2Logic 5Service 9

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

  1. 1When Telegram Callback TriggeredTelegram triggerStarts it
  2. 2When Scheduled at 8 AMSchedule triggerStarts it
  3. 3AI Groq InteractionLm Chat GroqModel
  4. 4Extract Telegram CallbackCodeLogic
  5. 5Fetch Google News RSSHttp RequestService
  6. 6AI Tweet Generation AgentAgentModel
  7. 7Decision: Approve or RejectIfLogic
  8. 8Read Used ArticlesGoogle SheetsService
  9. 9Parse Tweet DataCodeLogic
  10. 10Update Approval in SheetsGoogle SheetsService
  11. 11Update Rejection in SheetsGoogle SheetsService
  12. 12Process Article ExtractionCodeLogic
  13. 13Send Telegram MessageTelegramService
  14. 14Send Approval ConfirmationTelegramService
  15. 15Send Rejection ConfirmationTelegramService
  16. 16Log Tweets in SheetsGoogle SheetsService
  17. 17Limit to 10 EntriesLimitLogic
  18. 18Log Article as UsedGoogle SheetsService

How it's built

Starts on
An incoming Telegram message
Steps
18, with 1 branch
Size
Medium: a working afternoon
Connects to
Google Sheets, Telegram
Model
Groq

Questions

What does it need to run?

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

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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