Automation library · AI assistants

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.

LargeCalls a model: OpenAIRetrieval

27 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 14Logic 8Service 3

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Embeddings OpenAIEmbeddings Open AiModel
  3. 3Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  4. 4Postgres Chat MemoryMemory Postgres ChatModel
  5. 5EmbeddingsEmbeddings Open AiModel
  6. 6Schedule TriggerSchedule triggerStarts it
  7. 7OpenAI Chat Model1Lm Chat Open AiModel
  8. 8Embeddings1Embeddings Open AiModel
  9. 9Send a message in Gmail1Gmail ToolService
  10. 10LINE inputWebhookStarts it
  11. 11AI AgentAgentModel
  12. 12Add to Supabase TableVector Store SupabaseModel
  13. 13Default Data LoaderDocument Default Data LoaderModel
  14. 14Supabase Vector StoreVector Store SupabaseModel
  15. 15Edit Fields2SetLogic
  16. 16AI Agent1AgentModel
  17. 17Supabase Vector Store1Vector Store SupabaseModel
  18. 18IfIfLogic
  19. 19Edit FieldsSetLogic
  20. 20Edit Fields1SetLogic
  21. 21SwitchSwitchLogic
  22. 22LINE outputHttp RequestService
  23. 23only messageSetLogic
  24. 24DownloadHttp RequestService
  25. 25TranscribeOpen AiModel
  26. 26If1IfLogic
  27. 27CodeCodeLogic

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.