Automation library · Hiring

Create resume with Telegram and OpenAI

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

LargeCalls a model: OpenAIRetrieval

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

The flow

Starts it 1Model 9Logic 10Service 8

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

  1. 1Embeddings OpenAIEmbeddings Open AiModel
  2. 2Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  3. 3EmbeddingsEmbeddings Open AiModel
  4. 4OpenAI Chat ModelLm Chat Open AiModel
  5. 5chat triggerTelegram triggerStarts it
  6. 6Postgres PGVector StoreVector Store PGVectorModel
  7. 7Default Data LoaderDocument Default Data LoaderModel
  8. 8Get user dataVector Store PGVectorModel
  9. 9AI AgentAgentModel
  10. 10start commandIfLogic
  11. 11Check If is a documentIfLogic
  12. 12Limit to 1LimitLogic
  13. 13Code in JavaScriptCodeLogic
  14. 14Send a text messageTelegramService
  15. 15Telegram get FileTelegramService
  16. 16gate to only allow jdOpen AiModel
  17. 17Telegram Response about DatabaseTelegramService
  18. 18Create a documentGoogle DocsService
  19. 19Change to application/pdfCodeLogic
  20. 20SwitchSwitchLogic
  21. 21Stop and Error1Stop And ErrorLogic
  22. 22Update a documentGoogle DocsService
  23. 23Edit FieldsSetLogic
  24. 24Send a text message1TelegramService
  25. 25parse text for telegram mdCodeLogic
  26. 26Share fileGoogle DriveService
  27. 27Telegram ResponseTelegramService
  28. 28Stop and ErrorStop And ErrorLogic

How it's built

Starts on
An incoming Telegram message
Steps
28, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Docs, Google Drive, 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 Google Docs, Google Drive 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 28 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 28 steps before you point it at anything that matters.