Automation library · Chat assistants

Manage recipes with Google Sheets

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

LargeCalls a model: Gemini, OpenAIRetrieval

21 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 5Logic 7Service 8

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Google Gemini Chat ModelLm Chat Google GeminiModel
  3. 3Conversation MemoryMemory Buffer WindowModel
  4. 4ThinkTool ThinkModel
  5. 5Read Recipes SheetGoogle Sheets ToolService
  6. 6Update Recipes SheetGoogle Sheets ToolService
  7. 7OpenAI Chat ModelLm Chat Open AiModel
  8. 8Command RouterSwitchLogic
  9. 9Recipe AI AgentAgentModel
  10. 10Telegram Send MenuTelegramService
  11. 11Read Recipe NamesGoogle SheetsService
  12. 12Extract Select ParamFunctionLogic
  13. 13Prepare Recipe ModificationFunctionLogic
  14. 14Prepare Recipe CreationFunctionLogic
  15. 15Extract Search TermFunctionLogic
  16. 16Telegram Send AI ResponseTelegramService
  17. 17Format List MessageFunctionLogic
  18. 18Lookup Recipe RowGoogle SheetsService
  19. 19Telegram Send Recipe ListTelegramService
  20. 20Format Full RecipeFunctionLogic
  21. 21Telegram Send Full RecipeTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
21, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Telegram
Model
Gemini, 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 Sheets and Telegram accounts, and a key for Gemini and 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 Gemini and 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.