Templates / Handle order tracking and FAQ requests with Telegram, Gemini, and Google Sheets

Handle order tracking and FAQ requests with Telegram, Gemini, and Google Sheets

Ready for 3.0

by iamvaar ✓ · 31 views · created 2026-08-16 · Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Sheets and Google Gemini Chat Model.

How it runs

Trigger: On Telegram events (message).

  1. Set Config Variables (Edit Fields (Set)): sets 3 fields: customer_message, chat_id, spreadsheet_id
  2. Detect Intent Agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-; output parser: Parse Intent Structure
  3. If: checks a condition and branches into true / false
  4. Read Orders in Sheets (Google Sheets): uses Google Sheets
  5. Read FAQ in Sheets (Google Sheets): uses Google Sheets
  6. Prepare Order Reply Data (Edit Fields (Set)): sets 3 fields: reply, intent, order_id
  7. Aggregate: combines items into one
  8. Prepare Conversation Log Data (Edit Fields (Set)): sets 6 fields: timestamp, chat_id, customer_message…
  9. Answer FAQ Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Sonnet
  10. Append to Sheets (Google Sheets): append

…plus 2 more steps. See the full node list below.

Services it uses

TelegramGoogle SheetsGoogle Gemini Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview Youtube Video: https://youtu.be/Y1OYeENJUn4 This workflow responds to Telegram customer messages by using Google Gemini to detect whether the user wants an order status update or an FAQ answer, pulls the relevant data from Google Sheets, logs…

Excerpt from iamvaar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.