# Answer procurement policy questions with Google Drive: n8n workflow

> Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/answer-procurement-policy-questions-with-google-drive (Millionrounds; every figure on the page links to its filing or article)

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

# Answer procurement policy questions with Google Drive

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Gemini. 14 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanswer-procurement-policy-questions-with-google-drive)

**14 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 3 Model 1 Logic 7 Service 3

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

- 1 **Receive User Question** Webhook *Starts it*
- 2 **Extract Request Fields** Set *Logic*
- 3 **Fetch Policy PDF** Http Request *Service*
- 4 **Extract PDF Text** Extract From File *Service*
- 5 **Analyse Policy Document** Code *Logic*
- 6 **Build AI Prompt Context** Set *Logic*
- 7 **Ask Gemini AI** Google Gemini *Model*
- 8 **Parse & Validate AI Response** Code *Logic*
- 9 **Check Confidence Threshold** If *Logic*
- 10 **Raise Support Ticket** Http Request *Service*
- 11 **Format Escalation Message** Set *Logic*
- 12 **Format Confident Answer** Set *Logic*
- 13 **Return Escalation Notice** Respond To Webhook *Starts it*
- 14 **Return Answer to User** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 14, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 14 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 14 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%2Fanswer-procurement-policy-questions-with-google-drive)
- **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.

## Workflows like it

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

- [**AI customer support agent - never sleep, never miss a customer** 14 steps · calls a model · Email, Notion](https://millionrounds.com/workflow/ai-customer-support-agent-never-sleep-never-miss-a-customer)
- [**Airbnb Telegram agent - AI-powered accommodation search** 14 steps · calls a model · Telegram](https://millionrounds.com/workflow/airbnb-telegram-agent-ai-powered-accommodation-search)
- [**Answer WhatsApp FAQs with OpenAI and Google Sheets** 14 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/answer-whatsapp-faqs-with-openai-and-google-sheets)
- [**Answer WhatsApp questions from PDF documents with RAG** 14 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/answer-whatsapp-questions-from-pdf-documents-with-rag)
- [**Answer code of conduct questions in Slack with OpenAI and RAG** 14 steps · calls a model · Google Drive, Slack](https://millionrounds.com/workflow/answer-code-of-conduct-questions-in-slack-with-openai-and-ra)
- [**Answer real estate questions with PropertyFinder.ae** 14 steps · calls a model](https://millionrounds.com/workflow/answer-real-estate-questions-with-propertyfinder-ae)
