Automation library · Chat assistants

Reply to Facebook and Instagram comments with Groq

Started by a clock, and works across Google Sheets and Telegram. It hands the judgement calls to Groq. 24 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: Groq

24 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 12Service 9

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Groq Chat ModelLm Chat GroqModel
  3. 3HTTP RequestHttp RequestService
  4. 4Get Instagram Media with CommentsHttp RequestService
  5. 5Get Recent Posts with CommentsHttp RequestService
  6. 6Check If Already RepliedGoogle SheetsService
  7. 7Basic LLM ChainChain LlmModel
  8. 8Find Instagram CommentsCodeLogic
  9. 9Code in JavaScript1CodeLogic
  10. 10Sync StreamsMergeLogic
  11. 11Code in JavaScriptCodeLogic
  12. 12MergeMergeLogic
  13. 13Finds posts that have commentsCodeLogic
  14. 14Filter New Comments OnlyCodeLogic
  15. 15Merge1MergeLogic
  16. 16IfIfLogic
  17. 17Merge3MergeLogic
  18. 18Facebook reply nodeHttp RequestService
  19. 19Instagram reply nodeHttp RequestService
  20. 20Append row in sheetGoogle SheetsService
  21. 21Merge2MergeLogic
  22. 22Send a text messageTelegramService
  23. 23Code in JavaScript2CodeLogic
  24. 24WhatsApp AlertHttp RequestService

How it's built

Starts on
A clock
Steps
24, with 1 branch
Size
Large: read it before trusting it with anything live
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 a clock.

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?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

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 24 steps before you point it at anything that matters.