# AI voice & text note-taking with LINE Messaging: n8n workflow

> Started by another system calling it, and works across Gmail and Supabase vectors. It puts OpenAI behind a retrieval step, so answers are drawn from...

Source: https://millionrounds.com/workflow/ai-voice-and-text-note-taking-with-line-messaging (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)

# AI voice & text note-taking with LINE Messaging

Started by another system calling it, and works across Gmail and Supabase vectors. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 27 steps, 3 branches: 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%2Fai-voice-and-text-note-taking-with-line-messaging)

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

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 14 Logic 8 Service 3

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **Embeddings OpenAI** Embeddings Open Ai *Model*
- 3 **Recursive Character Text Splitter** Text Splitter Recursive Character Text Splitter *Model*
- 4 **Postgres Chat Memory** Memory Postgres Chat *Model*
- 5 **Embeddings** Embeddings Open Ai *Model*
- 6 **Schedule Trigger** Schedule trigger *Starts it*
- 7 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 8 **Embeddings1** Embeddings Open Ai *Model*
- 9 **Send a message in Gmail1** Gmail Tool *Service*
- 10 **LINE input** Webhook *Starts it*
- 11 **AI Agent** Agent *Model*
- 12 **Add to Supabase Table** Vector Store Supabase *Model*
- 13 **Default Data Loader** Document Default Data Loader *Model*
- 14 **Supabase Vector Store** Vector Store Supabase *Model*
- 15 **Edit Fields2** Set *Logic*
- 16 **AI Agent1** Agent *Model*
- 17 **Supabase Vector Store1** Vector Store Supabase *Model*
- 18 **If** If *Logic*
- 19 **Edit Fields** Set *Logic*
- 20 **Edit Fields1** Set *Logic*
- 21 **Switch** Switch *Logic*
- 22 **LINE output** Http Request *Service*
- 23 **only message** Set *Logic*
- 24 **Download** Http Request *Service*
- 25 **Transcribe** Open Ai *Model*
- 26 **If1** If *Logic*
- 27 **Code** Code *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 27, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Supabase vectors
- **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 and Supabase vectors accounts, and a key for OpenAI. 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 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 27 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 27 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%2Fai-voice-and-text-note-taking-with-line-messaging)
- **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)[Supabase vectors](https://millionrounds.com/workflows?service=Supabase+vectors#library)

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Email-to-task automation with Outlook and Microsoft To Do** 26 steps · calls a model · Gmail, Google Tasks](https://millionrounds.com/workflow/email-to-task-automation-with-outlook-and-microsoft-to-do)
- [**Triage and label Gmail emails with OpenAI** 28 steps · calls a model · Gmail](https://millionrounds.com/workflow/triage-and-label-gmail-emails-with-openai)
- [**AI inbox assistant with OpenAI and Gmail** 25 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/ai-inbox-assistant-with-openai-and-gmail)
- [**Automate Job applications with Gemini and OpenAI** 25 steps · calls a model · Gmail](https://millionrounds.com/workflow/automate-job-applications-with-gemini-and-openai)
- [**Turn your portfolio into an AI assistant with OpenAI** 25 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/turn-your-portfolio-into-an-ai-assistant-with-openai)
- [**AI-powered multi-channel customer journey with SMS and OpenAI** 24 steps · calls a model · Gmail, Twilio](https://millionrounds.com/workflow/ai-powered-multi-channel-customer-journey-with-sms-and-opena)
