# Generate procurement knowledge base articles with Groq: n8n workflow

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

Source: https://millionrounds.com/workflow/generate-procurement-knowledge-base-articles-with-groq (Millionrounds; every figure on the page links to its filing or article)

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

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

Large Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-procurement-knowledge-base-articles-with-groq)

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

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 8 Logic 13 Service 7

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

- 1 **Groq Model – Issue Analysis** Lm Chat Groq *Model*
- 2 **Groq Model – Article Writer** Lm Chat Groq *Model*
- 3 **Groq Model – Audience Detector** Lm Chat Groq *Model*
- 4 **Groq Model – Tone Rewriter** Lm Chat Groq *Model*
- 5 **Daily KB Generation Schedule** Schedule trigger *Starts it*
- 6 **Analyze Procurement Issue Patterns** Agent *Model*
- 7 **Generate KB Article** Agent *Model*
- 8 **Audience Detection** Agent *Model*
- 9 **Adapt Tone for Audience** Agent *Model*
- 10 **Retrieve Resolved Procurement Tickets** Http Request *Service*
- 11 **Retrieve Procurement Chat Queries** Http Request *Service*
- 12 **Check Issue Analysis Output** If *Logic*
- 13 **Check KB Article Output** If *Logic*
- 14 **Set Audience** Set *Logic*
- 15 **Finalize Draft** Set *Logic*
- 16 **Combine Support Data Sources** Merge *Logic*
- 17 **Structure AI Analysis Results** Code *Logic*
- 18 **AI Analysis Failed Alert** Gmail *Service*
- 19 **Set Article** Set *Logic*
- 20 **KB Article Failed Alert** Gmail *Service*
- 21 **Request Approval** Gmail *Service*
- 22 **Normalize Ticket & Chat Data** Set *Logic*
- 23 **Add Article Metadata** Set *Logic*
- 24 **Approval Check** If *Logic*
- 25 **Cluster Similar Procurement Issues** Code *Logic*
- 26 **Notify: Article Published** Gmail *Service*
- 27 **Needs Revision (Loop Back)** No Op *Logic*
- 28 **Generate Cluster Summaries** Code *Logic*
- 29 **Store Article & Log Metrics** Google Sheets *Service*

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

## 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%2Fgenerate-procurement-knowledge-base-articles-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.

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

## Workflows like it

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

- [**Analyze website content changes with Gemini** 29 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-website-content-changes-with-gemini)
- [**Automate ASMR glass fruit video creation & publishing with Veo** 29 steps · calls a model · Google Cloud Storage, Google Sheets](https://millionrounds.com/workflow/automate-asmr-glass-fruit-video-creation-and-publishing-with)
- [**Automate LinkedIn content creation with OpenAI and Notion** 29 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automate-linkedin-content-creation-with-openai-and-notion)
- [**Draft and track incident postmortems with OpenAI** 29 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/draft-and-track-incident-postmortems-with-openai)
- [**GPT-4o, RunwayML, ElevenLabs for Social Media with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/gpt-4o-runwayml-elevenlabs-for-social-media-with-gemini)
- [**Generate and publish Instagram carousels with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-instagram-carousels-with-gemini)
