# Automate multi-channel customer support with Gmail: n8n workflow

> Started by an incoming Telegram message, and works across Gmail, Google Sheets and Telegram.

Source: https://millionrounds.com/workflow/automate-multi-channel-customer-support-with-gmail (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)

# Automate multi-channel customer support with Gmail

Started by an incoming Telegram message, and works across Gmail, Google Sheets and Telegram. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 21 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-multi-channel-customer-support-with-gmail)

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

**0** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 3 Model 6 Logic 2 Service 10

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

- 1 **💬 Telegram Customer Message Trigger** Telegram trigger *Starts it*
- 2 **🧠 OpenAI Chat Model - Telegram** Lm Chat Open Ai *Model*
- 3 **🧠 Telegram Memory** Memory Buffer Window *Model*
- 4 **📧 Gmail Customer Inquiry Trigger** Gmail trigger *Starts it*
- 5 **🧠 OpenAI Chat Model - Gmail** Lm Chat Open Ai *Model*
- 6 **🧠 Gmail Memory** Memory Buffer Window *Model*
- 7 **🚨 Error Trigger** Error trigger *Starts it*
- 8 **Gmail Escalation Logger** Google Sheets Tool *Service*
- 9 **knowledge base** Google Sheets Tool *Service*
- 10 **knowledge base1** Google Sheets Tool *Service*
- 11 **Telegram Escalation Logger** Google Sheets Tool *Service*
- 12 **📋 Process Telegram Message** Set *Logic*
- 13 **🤖 Telegram AI Agent** Agent *Model*
- 14 **📋 Process Gmail Message** Set *Logic*
- 15 **🤖 Gmail AI Agent** Agent *Model*
- 16 **📢 Notify Admin of Error** Http Request *Service*
- 17 **💬 Send Telegram Reply** Telegram *Service*
- 18 **📧 Send Gmail Reply** Gmail *Service*
- 19 **📊 Log Telegram Interaction** Google Sheets *Service*
- 20 **✅ Mark Gmail as Read** Gmail *Service*
- 21 **📊 Log Gmail Interaction** Google Sheets *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 21
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, Telegram
- **Model:** OpenAI
- **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 Gmail, Google Sheets and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenAI. 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 21 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 21 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%2Fautomate-multi-channel-customer-support-with-gmail)
- **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)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**Answer HR and IT policy questions on Telegram with OpenAI** 21 steps · calls a model · Telegram](https://millionrounds.com/workflow/answer-hr-and-it-policy-questions-on-telegram-with-openai)
- [**Automate support QA reviews with Intercom and OpenAI** 21 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-support-qa-reviews-with-intercom-and-openai)
- [**Build a Telegram AI assistant with MemMachine and OpenAI** 21 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/build-a-telegram-ai-assistant-with-memmachine-and-openai)
- [**Generate GEO-optimized support replies from Gmail** 21 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/generate-geo-optimized-support-replies-from-gmail)
- [**HR & IT helpdesk chatbot with OpenAI and Telegram** 21 steps · calls a model · Telegram](https://millionrounds.com/workflow/hr-and-it-helpdesk-chatbot-with-openai-and-telegram)
- [**Run a customer support RAG chatbot with OpenAI** 21 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/run-a-customer-support-rag-chatbot-with-openai)
