# Reply to Facebook and Instagram comments with Groq: n8n workflow

> Started by a clock, and works across Google Sheets and Telegram. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/reply-to-facebook-and-instagram-comments-with-groq (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# 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.

Large Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Freply-to-facebook-and-instagram-comments-with-groq)

**24 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 12 Service 9

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Groq Chat Model** Lm Chat Groq *Model*
- 3 **HTTP Request** Http Request *Service*
- 4 **Get Instagram Media with Comments** Http Request *Service*
- 5 **Get Recent Posts with Comments** Http Request *Service*
- 6 **Check If Already Replied** Google Sheets *Service*
- 7 **Basic LLM Chain** Chain Llm *Model*
- 8 **Find Instagram Comments** Code *Logic*
- 9 **Code in JavaScript1** Code *Logic*
- 10 **Sync Streams** Merge *Logic*
- 11 **Code in JavaScript** Code *Logic*
- 12 **Merge** Merge *Logic*
- 13 **Finds posts that have comments** Code *Logic*
- 14 **Filter New Comments Only** Code *Logic*
- 15 **Merge1** Merge *Logic*
- 16 **If** If *Logic*
- 17 **Merge3** Merge *Logic*
- 18 **Facebook reply node** Http Request *Service*
- 19 **Instagram reply node** Http Request *Service*
- 20 **Append row in sheet** Google Sheets *Service*
- 21 **Merge2** Merge *Logic*
- 22 **Send a text message** Telegram *Service*
- 23 **Code in JavaScript2** Code *Logic*
- 24 **WhatsApp Alert** Http Request *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Freply-to-facebook-and-instagram-comments-with-groq)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**AI-powered fuzzy matching, and assigns confidence scores.** 24 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/ai-powered-fuzzy-matching-and-assigns-confidence-scores)
- [**Agents with OpenRouter and Telegram** 24 steps · calls a model · Telegram](https://millionrounds.com/workflow/agents-with-openrouter-and-telegram)
- [**Audit and cancel unused SaaS seats with Google Sheets** 24 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/audit-and-cancel-unused-saas-seats-with-google-sheets)
- [**Compare products and generate visual scorecards in Telegram** 24 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/compare-products-and-generate-visual-scorecards-in-telegram)
- [**Create branded LinkedIn carousels with OpenAI** 24 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-branded-linkedin-carousels-with-openai)
- [**Generate Images on Telegram from Text and Voice** 24 steps · calls a model · FTP, Telegram](https://millionrounds.com/workflow/generate-images-on-telegram-from-text-and-voice)
