# Enterprise knowledge search with OpenAI and Google Drive: n8n workflow

> Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/enterprise-knowledge-search-with-openai-and-google-drive (Millionrounds; every figure on the page links to its filing or article)

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

# Enterprise knowledge search with OpenAI and Google Drive

Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 12 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fenterprise-knowledge-search-with-openai-and-google-drive)

**12 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 2 Model 1 Logic 5 Service 4

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

- 1 **🚀 Advanced RAG Form** Form trigger *Starts it*
- 2 **🏢 Internal Knowledge Search** Google Drive Search *Service*
- 3 **🌐 Enhanced Web Search** Web Search *Service*
- 4 **🔍 Query Preprocessor** Code *Logic*
- 5 **🔄 Search Router** If *Logic*
- 6 **🎓 Academic Papers Search** Http Request *Service*
- 7 **📰 News Search API** Http Request *Service*
- 8 **📊 Data Aggregator** Code *Logic*
- 9 **🧠 Context Builder** Code *Logic*
- 10 **🤖 Advanced LLM Processor** Open Ai *Model*
- 11 **✨ Response Enhancer** Code *Logic*
- 12 **📤 Webhook Response** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 12, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 12 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 12 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%2Fenterprise-knowledge-search-with-openai-and-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 ai assistants, with the same services where possible, closest in size first.

- [**AI email autoresponder with OpenAI and Gmail** 12 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-email-autoresponder-with-openai-and-gmail)
- [**AI-powered email processing autoresponder** 12 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-powered-email-processing-autoresponder)
- [**AI-powered email processing autoresponder** 12 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/ai-powered-email-processing-autoresponder-2)
- [**AI-powered news update bot for Zalo with Gemini and RSS** 12 steps · calls a model](https://millionrounds.com/workflow/ai-powered-news-update-bot-for-zalo-with-gemini-and-rss)
- [**Add new row to NocoDB – automate your data entry** 12 steps · calls a model · NocoDB](https://millionrounds.com/workflow/add-new-row-to-nocodb-automate-your-data-entry)
- [**Analyze DEX liquidity, trades & spot pairs** 12 steps · calls a model](https://millionrounds.com/workflow/analyze-dex-liquidity-trades-and-spot-pairs)
