Templates / Book and manage law office appointments via Telegram, OpenAI and Google Calendar

Book and manage law office appointments via Telegram, OpenAI and Google Calendar

Ready for 3.0

by Harvey Kubath ✓ · 67 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 14 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and Google Calendar.

How it runs

Trigger: On Telegram events (message).

  1. Legal Processing Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-5 Mini; 3 tools (Check Google Calendar, Delete Calendar Appointment, Escalate to Human Assistant); memory: Maintain Conversation Memory
  2. Parse and Analyze Output (Code): runs custom JavaScript code
  3. Route Based on Action Type (If): checks a condition and branches into true / false
  4. Schedule New Appointment (Google Calendar): uses Google Calendar
  5. Send Response to Client (Telegram): uses Telegram
  6. Build Client Confirmation Message (Code): runs custom JavaScript code
  7. Send Appointment Confirmation (Telegram): uses Telegram
  8. Notify Secretary of Update (Telegram): uses Telegram

Services it uses

TelegramOpenAI Chat ModelGoogle Calendar

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

From the author

Quick overview This workflow acts as a virtual legal secretary on Telegram, using OpenAI and Google Calendar to collect client details, check availability, book 30‑minute consultations, and message both the client and an internal secretary chat in Portuguese…

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