๐Ÿ’ฌ Book paid legal appointments with Stripe, Google Calendar, Gmail and Telegram

โšก 31 views ยท ๐Ÿ’ฌ Support Chatbots

Description

Quick overview

Automate legal appointment booking end-to-end. Clients request a slot via webhook, Google Calendar checks availability, Stripe collects payment, and a confirmed calendar event is created automatically. The lawyer gets notified via Gmail and Telegram with a 24-hour reminder sent to the client.

How it works

  1. A client submits a booking request via webhook containing their name, email, phone, preferred date, time, and service type.
  2. Google Calendar checks whether the requested time slot is available. If unavailable, a rejection email is sent to the client automatically.
  3. If the slot is available, a Stripe payment link is generated for the consultation fee and sent to the client via Gmail and Telegram.
  4. Once Stripe confirms payment, a unique booking ID is generated and a confirmed event is created in Google Calendar with full client details.
  5. A confirmation email with the booking ID is sent to the client, then the lawyer is notified via Gmail and Telegram with complete appointment details.
  6. The booking is logged to Google Sheets and a 24-hour reminder email is automatically sent to the client before the appointment.

Setup

  1. Connect your Google Calendar credential in n8n and replace YOUR_LAWYER_CALENDAR_ID with your Calendar ID found in Google Calendar Settings.
  2. Connect your Gmail credential in n8n and replace YOUR_LAWYER_EMAIL in the Notify Lawyer via Email node with your actual email address.
  3. Add your Stripe Secret Key in the Generate Stripe Payment Link node โ€” get it from dashboard.stripe.com/apikeys.
  4. In Stripe Dashboard go to Developers โ†’ Webhooks โ†’ Add Endpoint, paste the Stripe Payment Confirmed webhook URL, and select the checkout.session.completed event.
  5. Create a Google Sheet with these column headers: Booking ID, Client Name, Client Email, Service, Date, Time, Amount Paid, Status, Timestamp โ€” then replace YOUR_GOOGLE_SHEET_ID in the Log Booking node.
  6. Create a Telegram bot via @BotFather, add the token as a Telegram credential in n8n, and replace YOUR_TELEGRAM_CHAT_ID_LAWYER and YOUR_TELEGRAM_CHAT_ID_CLIENT in the Telegram nodes.

Requirements

Customization

๐Ÿ”— Nodes Used

Google Sheets, HTTP Request, Webhook, Telegram, Google Calendar, Gmail

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup