Demo Telegram AI bot built with n8n. Rytm Studio, its classes, prices and clients are fictional. Made by Maksym, see portfolio
Pilates & yoga, Warsaw

Answers questions and books the class, right in Telegram.

Chat with the studio's bot below, in English, Polish or Ukrainian. Next to it, the n8n AI agent runs: it checks free spots in Google Sheets, books the class once the client confirms and alerts the owner.

1The client writes to the bot

Rytm Studiobot

Quick replies for the demo, or type your own:

Nothing sent yet.

2n8n runs the AI agent

Workflow: Rytm Studio Telegram botWaiting for a message

    The agent books only after the client says yes, and only a time the Free spots tool returned. A second trigger in the same workflow sends a reminder at 18:00 the day before the class.

    3The booking lands in Google Sheets

    Rytm Studio · bookings
    Booked atNamePhoneClassClass timeLanguageChat IDStatus

    The Schedule tab counts bookings with a formula, so the Free spots tool always reads the current number of free places.

    4The owner gets a Telegram alert

    Rytm Alertsbot

    What's inside the workflow

    16 n8n nodes in one file, ready to import. You connect OpenAI, Google Sheets and a Telegram bot, put your classes, prices and address into the prompt, and turn it on.

    On this page the AI step runs in your browser with simple rules, so the demo is free and works offline. In the workflow file it is a real AI agent with chat memory and two Google Sheets tools.

    System prompt of the AI agent
    
          
    1. Telegram TriggerGets every message the client sends, including taps on the menu buttons.
    2. Prepare messageTakes the text, chat ID and name, and picks the menu language. A sticker or photo becomes a short note, so the agent asks for text.
    3. Show typingThe client sees "typing…" while the agent works.
    4. AI AgentOpenAI model with a memory of the last 10 messages in each chat. Studio facts and rules are in the system prompt; replies follow the client's language.
    5. Free spots (tool)Reads the Schedule sheet. The agent offers only times with free places and never makes them up.
    6. Book class (tool)After the client confirms, adds a row to Bookings: name, phone, class, time, language and chat ID.
    7. Check result + Owner needs to know?Finds a new booking in the agent's tool calls, or a [[HANDOFF]] mark when a person should answer.
    8. Alert ownerTelegram message to the owner with the booking or the client's question.
    9. Reply to clientSends the answer with the menu keyboard: prices, schedule, booking.
    10. Daily reminderA second trigger at 18:00 reads Bookings and reminds each client about tomorrow's class.