Automation library · Chat assistants

Score and cluster Google keywords with Apify and Groq

Started by someone submitting a form, and works across Google Sheets and Slack. It hands the judgement calls to Groq. 17 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: Groq

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

The flow

Starts it 2Model 2Logic 10Service 3

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

  1. 1On form submissionForm triggerStarts it
  2. 2When clicking 'Test workflow'Manual triggerStarts it
  3. 3Groq chat modelLm Chat GroqModel
  4. 4ConfigSetLogic
  5. 5Read the search intentInformation ExtractorModel
  6. 6Look up volume and CPCHttp RequestService
  7. 7Score the opportunityCodeLogic
  8. 8Keyword rows only (skip the run summary)IfLogic
  9. 9Best opportunities firstSortLogic
  10. 10Only keywords we have not scored beforeRemove DuplicatesLogic
  11. 11Any new keywords?IfLogic
  12. 12Column orderSetLogic
  13. 13Nothing new to addNo OpLogic
  14. 14Append the new rows to Google SheetsGoogle SheetsService
  15. 15Collect the scored keywordsAggregateLogic
  16. 16Write the Slack digestCodeLogic
  17. 17Post the top opportunities to SlackSlackService

How it's built

Starts on
Someone submitting a form
Steps
17, with 2 branches
Size
Medium: a working afternoon
Connects to
Google Sheets, Slack
Model
Groq

Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

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