๐Ÿค–๐Ÿ’ฌ Conversational AI Chatbot with Google Gemini for Text & Image | Telegram

Nodes

c271cce3-82fc-4582-b314-f282e190a2e32e3e39e3-0e17-4fae-9ac5-9ee31f9711ed3b9f1b78-6b80-4575-aa6c-966987000389+6

Created by

AlAlan Bajaรฑa Granizo

Last edited 56 days ago

๐Ÿค–๐Ÿ’ฌ Conversational AI Chatbot with Google Gemini for Text & Image | Telegram

Overview ๐Ÿ“‹

Flexible and scalable chatbot template, designed mainly for Spanish conversations but capable of handling English and other languages. Integrates Google Gemini API for text and image generation, and Telegram for messaging. Supports multiple output types with potential for video, audio, and more.


How It Works

Modular Architecture & Extensibility โš™๏ธ

  • Separate modules for data extraction, intent analysis, and adaptive response generation.
  • Easily extendable with additional tools, databases, or APIs.

Context & Memory Handling ๐Ÿง 

  • Session-based volatile memory maintains conversation coherence.
  • Allows updates or modifications to previous images based on new requests (e.g., add a hat to a dog ๐Ÿถ).

Intent Detection & Classification ๐Ÿ”

  • Google Gemini accurately classifies user intent.
  • Two-step validation ensures context-aware, precise replies.

Content Generation & Output โœ๏ธ๐Ÿ–ผ๏ธ

  • Generates text and images based on intent and context.
  • Designed for Telegram but adaptable to other platforms and media types (audio, video).

Key Benefits โœ…

  • Scalable, customizable, and production-ready architecture.
  • Supports multiple content formats: text, images, audio, and video.
  • Dynamic context and memory management for smooth, coherent conversations.
  • Native integration with Google Gemini and Telegram ensures reliable and seamless operation.
  • Suitable for diverse use cases and easy to extend with new tools or platforms.

Use Cases ๐Ÿ’ผ

  • Customer support virtual assistants.
  • On-demand multimedia content creation.
  • Marketing and user engagement bots.
  • AI conversational prototypes and pilots.

Requirements ๐Ÿ‘จโ€๐Ÿ’ป

  • n8n instance (self-hosted or cloud)
  • Google Gemini API credentials
  • Telegram bot setup (optional but recommended)

Active member of the Polytechnic Artificial Intelligence Club (CIAP) at ESPOL.

CIAP Logo

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!