Automation library · Content

Generate procurement knowledge base articles with Groq

Started by a clock, and works across Gmail and Google Sheets. It hands the judgement calls to Groq. 29 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Groq

29 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 8Logic 13Service 7

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

  1. 1Groq Model – Issue AnalysisLm Chat GroqModel
  2. 2Groq Model – Article WriterLm Chat GroqModel
  3. 3Groq Model – Audience DetectorLm Chat GroqModel
  4. 4Groq Model – Tone RewriterLm Chat GroqModel
  5. 5Daily KB Generation ScheduleSchedule triggerStarts it
  6. 6Analyze Procurement Issue PatternsAgentModel
  7. 7Generate KB ArticleAgentModel
  8. 8Audience DetectionAgentModel
  9. 9Adapt Tone for AudienceAgentModel
  10. 10Retrieve Resolved Procurement TicketsHttp RequestService
  11. 11Retrieve Procurement Chat QueriesHttp RequestService
  12. 12Check Issue Analysis OutputIfLogic
  13. 13Check KB Article OutputIfLogic
  14. 14Set AudienceSetLogic
  15. 15Finalize DraftSetLogic
  16. 16Combine Support Data SourcesMergeLogic
  17. 17Structure AI Analysis ResultsCodeLogic
  18. 18AI Analysis Failed AlertGmailService
  19. 19Set ArticleSetLogic
  20. 20KB Article Failed AlertGmailService
  21. 21Request ApprovalGmailService
  22. 22Normalize Ticket & Chat DataSetLogic
  23. 23Add Article MetadataSetLogic
  24. 24Approval CheckIfLogic
  25. 25Cluster Similar Procurement IssuesCodeLogic
  26. 26Notify: Article PublishedGmailService
  27. 27Needs Revision (Loop Back)No OpLogic
  28. 28Generate Cluster SummariesCodeLogic
  29. 29Store Article & Log MetricsGoogle SheetsService

How it's built

Starts on
A clock
Steps
29, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets 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 29 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 29 steps before you point it at anything that matters.