Templates / Capture and Store CRM Contacts with Telegram & Gemini AI

Capture and Store CRM Contacts with Telegram & Gemini AI

Ready for 3.0

by Vadim ✓ · 287 views · created 2025-10-15 · Lead Generation, 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 22 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini Chat Model, Google Sheets and Google Gemini.

How it runs

Trigger: On Telegram events (message).

  1. parameters (Edit Fields (Set)): sets 2 fields: spreadsheet_document_id, sheet_name
  2. Send "typing..." (Telegram): send chat action
  3. Add sessionID to input (Merge): merges the data from its input branches
  4. Get sessionID (Data table): get
  5. Switch: routes items into 3 branches
  6. If: checks a condition and branches into true / false
  7. Get audio file (Telegram): work with file
  8. Analyze image (Google Gemini): analyze (image)
  9. Process text input (Code): runs custom JavaScript code
  10. Generate sessionID (Crypto): hashes or encrypts values

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

Services it uses

TelegramGoogle Gemini Chat ModelGoogle SheetsGoogle Gemini

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 (14)

From the author

What it does This workflow is an AI agent in the form of a Telegram bot. Its main purpose is to capture contact information and store it in a CRM. The agent supports multi-modal inputs and can extract contact details from text messages, voice recordings, and…

Excerpt from Vadim'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.