See llms.txt for all machine-readable content.

Back to Templates

Manage recipes with AI-powered Telegram bot and Google Sheets database

Transform Your Telegram into a Smart Recipe Assistant!

Tired of scrolling through messy notes and bookmarks to find your favorite recipes? Wish you had a personal chef's assistant to help you in the kitchen?

Introducing the Culinary Companion for Telegram, an n8n workflow that turns your Telegram app into a powerful, AI-driven recipe management tool, using Google Sheets as your database.

🚀 Key Features

  • Telegram Bot Interface: Interact with your recipe book using simple text commands.
  • Google Sheets Database: Your single source of truth for recipes, easily viewable and editable outside of Telegram.
  • AI-Powered Recipe Assistant: Utilizes Google Gemini or OpenAI to understand natural language for creating, modifying, and searching for recipes.
  • Full Recipe Management (CRUD):
    • Create: Add new recipes conversationally.
    • Read: Fetch your full recipe list or view a single, detailed recipe card.
    • Update: Modify existing recipes with AI assistance.
  • Command-Driven & AI-Driven: Use simple commands for direct actions (/list, /select) or have a conversation with the AI for more complex tasks (/search, /create, /modify).
  • Formatted for Mobile: All responses are sent in clean, readable Markdown, perfect for viewing on the go.

⚙️ How It Works

The workflow is triggered by messages sent to your Telegram bot. A central Command Router (Switch node) determines the user's intent and directs the flow to the appropriate tool.

1. Command Routing

  • A Telegram Trigger node listens for any new message.
  • The Command Router (Switch node) immediately inspects the message text for keywords like /list, /select, /create, etc.
  • Based on the command, the workflow branches into either a simple data fetch or a more complex AI-powered action.

Recipe lookups and writes

The bot reads the Recipes tab with the five columns Recipe Name, Cooking Time, Ingredients, Instructions and Notes. Configure the Telegram owner, optional group ID and Google Sheet in Configure and authorize recipe book. Use /list or /select for lookups, or /search, /create and /modify for AI assistance. Send the exact confirmation command from the draft to save. A changed source row requires a fresh draft. Connect your Google Sheets OAuth2 credential to the three Sheets request nodes and your preferred recipe chat model.

Configure your Telegram user, optional group and Google Sheet. Recipe writes require your explicit confirmation. Link the three HTTP nodes to your Google Sheets OAuth2 credential.