Automation library · Data collection

Multi-agent personal assistant orchestration with OpenAI

Started by another system calling it, and works across Redis and Supabase. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 49 steps, 5 branches, 4 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

49 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
4Loops or waits
2Services it connects to

The flow

Starts it 1Model 7Logic 23Service 18

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Postgres Chat MemoryMemory Postgres ChatModel
  3. 3WebhookWebhookStarts it
  4. 4EncerradoSupabase ToolService
  5. 5leadQualificadoTool WorkflowModel
  6. 6AI AgentAgentModel
  7. 7Variáveis GlobaisSetLogic
  8. 8Edit Fields5SetLogic
  9. 9SupabaseSupabaseService
  10. 10Split OutSplit OutLogic
  11. 11If1IfLogic
  12. 12Loop Over ItemsSplit In BatchesLogic
  13. 13If2IfLogic
  14. 14CryptoCryptoService
  15. 15Replace MeNo OpLogic
  16. 16Wait1WaitLogic
  17. 17Supabase3SupabaseService
  18. 18Supabase1SupabaseService
  19. 19Switch1SwitchLogic
  20. 20SwitchSwitchLogic
  21. 21Wait3WaitLogic
  22. 22OpenAI2Open AiModel
  23. 23Responde textoHttp RequestService
  24. 24Responde imagemHttp RequestService
  25. 25Responde pdfHttp RequestService
  26. 26Responde vídeoHttp RequestService
  27. 27Edit Fields4SetLogic
  28. 28Edit FieldsSetLogic
  29. 29Edit Fields3SetLogic
  30. 30separa o base1SetLogic
  31. 31Extract from File1Extract From FileService
  32. 32MergeMergeLogic
  33. 33Convert to FileConvert To FileService
  34. 34Convert to File1Convert To FileService
  35. 35Converte documentoConvert To FileService
  36. 36Responde audioHttp RequestService
  37. 37RedisRedisService
  38. 38OpenAIOpen AiModel
  39. 39OpenAI1Open AiModel
  40. 40Extract from FileExtract From FileService
  41. 41WaitWaitLogic
  42. 42Edit Fields8SetLogic
  43. 43Edit Fields9SetLogic
  44. 44separa o telefone e texto3SetLogic
  45. 45Redis1RedisService
  46. 46IfIfLogic
  47. 47Edit Fields1SetLogic
  48. 48No Operation, do nothingNo OpLogic
  49. 49Redis2RedisService

How it's built

Starts on
Another system calling it
Steps
49, with 5 branches, 4 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Redis, Supabase
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 Redis and Supabase 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 49 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 49 steps before you point it at anything that matters.