# Build a website-powered customer support chatbot with Decodo: n8n workflow

> Started by someone opening a chat with it, and works across Pinecone. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply...

Source: https://millionrounds.com/workflow/build-a-website-powered-customer-support-chatbot-with-decodo (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)

# Build a website-powered customer support chatbot with Decodo

Started by someone opening a chat with it, and works across Pinecone. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbuild-a-website-powered-customer-support-chatbot-with-decodo)

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

**1** Branch: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 9 Logic 9 Service 2

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

- 1 **Data Loader** Document Default Data Loader *Model*
- 2 **Gemini Embeddings** Embeddings Google Gemini *Model*
- 3 **Input Sitemap or page urls** Form trigger *Starts it*
- 4 **Simple Memory** Memory Buffer Window *Model*
- 5 **Simple Memory1** Memory Buffer Window *Model*
- 6 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 7 **Embeddings Google Gemini** Embeddings Google Gemini *Model*
- 8 **Pinecone KnowledgeBase** Vector Store Pinecone *Model*
- 9 **Switch** Switch *Logic*
- 10 **When chat message received** Chat trigger *Starts it*
- 11 **AI Agent** Agent *Model*
- 12 **Pinecone Vector Store** Vector Store Pinecone *Model*
- 13 **Split Pages URL** Code *Logic*
- 14 **Fetch Sitemap** Http Request *Service*
- 15 **Merge URLs** Merge *Logic*
- 16 **XML Conversion** Xml *Logic*
- 17 **Remove Duplicate URLs** Remove Duplicates *Logic*
- 18 **Extract Page URLs** Code *Logic*
- 19 **Loop Over Page URLs** Split In Batches *Logic*
- 20 **Extract Content** Html *Logic*
- 21 **Decodo** Decodo *Service*
- 22 **Wait 5 sec** Wait *Logic*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 22, with 1 branch, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Pinecone
- **Model:** Gemini
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

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

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Gemini. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 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 22 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%2Fbuild-a-website-powered-customer-support-chatbot-with-decodo)
- **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.

[Pinecone](https://millionrounds.com/workflows?service=Pinecone#library)

## Workflows like it

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

- [**Build a website RAG support chatbot with Firecrawl** 22 steps · calls a model · Pinecone](https://millionrounds.com/workflow/build-a-website-rag-support-chatbot-with-firecrawl)
- [**AI email support system: Gmail, Gemini, GPT-4, Slack & Google** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/ai-email-support-system-gmail-gemini-gpt-4-slack-and-google)
- [**Build RAG-powered support agent for Jira issues with Pinecone** 23 steps · calls a model · Pinecone](https://millionrounds.com/workflow/build-rag-powered-support-agent-for-jira-issues-with-pinecon)
- [**Automate Airbnb guest support with OpenAI and Google Drive** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-airbnb-guest-support-with-openai-and-google-drive)
- [**Route SaaS helpdesk chats with SoterAI and Groq** 20 steps · calls a model · Pinecone](https://millionrounds.com/workflow/route-saas-helpdesk-chats-with-soterai-and-groq)
- [**Answer Slack knowledge questions with Notion and Google Drive** 25 steps · calls a model · Google Drive, Notion](https://millionrounds.com/workflow/answer-slack-knowledge-questions-with-notion-and-google-driv)
