# Triage contract auto-renewal risks with Google Sheets and Groq: n8n workflow

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

Source: https://millionrounds.com/workflow/triage-contract-auto-renewal-risks-with-google-sheets-and-gr (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# Triage contract auto-renewal risks with Google Sheets and Groq

Started by a clock, and works across Google Sheets and Slack. It hands the judgement calls to Groq. 11 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-contract-auto-renewal-risks-with-google-sheets-and-gr)

**11 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 5 Service 3

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

- 1 **Start Contract Review** Schedule trigger *Starts it*
- 2 **Chat Model** Lm Chat Groq *Model*
- 3 **Fetch Contracts** Google Sheets *Service*
- 4 **Generate Renewal Recommendation** Agent *Model*
- 5 **Prepare Contract Data** Set *Logic*
- 6 **Prepare Alert Data** Set *Logic*
- 7 **Calculate Renewal Risk** Code *Logic*
- 8 **Notify Procurement Team** Slack *Service*
- 9 **Requires Procurement Review?** If *Logic*
- 10 **Wait for Alert Delivery** Wait *Logic*
- 11 **Log Review Activity** Google Sheets *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 11, with 1 branch, 1 loop or waits
- **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 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?

Plan an afternoon. 11 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 11 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%2Ftriage-contract-auto-renewal-risks-with-google-sheets-and-gr)
- **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)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**Analyze Legal Documents with OpenAI and Google Sheets** 11 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-legal-documents-with-openai-and-google-sheets)
- [**Analyze contract risk from Google Drive with OpenAI and Sheets** 11 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/analyze-contract-risk-from-google-drive-with-openai-and-shee)
- [**Convert YouTube transcripts in Google Sheets** 11 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/convert-youtube-transcripts-in-google-sheets)
- [**Mistral OCR, GPT-4o-mini, and Google Sheets integration** 11 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/mistral-ocr-gpt-4o-mini-and-google-sheets-integration)
- [**Analyze compliant documents with PromptLock Guard and Claude** 11 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-compliant-documents-with-promptlock-guard-and-claude)
- [**Automated Slack-to-Jira issue creation** 11 steps · Jira, Slack](https://millionrounds.com/workflow/automated-slack-to-jira-issue-creation)
