How I built a fully automated booking system with n8n + Razorpay
Step-by-step case study on building a fully automated booking and payment system using n8n, Razorpay, and calendar integrations for a lean consulting business.
If you run any kind of consulting, coaching, or boutique services business, you know how much time disappears into back-and-forth messages about availability, payments, and rescheduling. An automated booking system turns all of that into a clean workflow: prospects choose a slot, pay online, and your calendar updates itself.
In this case study, we will walk through how to design a simple but robust booking workflow using workflow automation (with n8n as the orchestration layer) plus Razorpay for payments and a calendar like Google Calendar or Outlook. The same pattern works for demos, strategy calls, paid intensives, or recurring sessions.
Why manual booking workflows break as you grow
When bookings are handled manually, a single person becomes the workflow. That usually leads to:
- Slow response times, especially across time zones.
- Double-booked slots when two people confirm at the same time.
- Missed payments because invoicing and scheduling live in different tools.
- No clean data on where leads come from or which offers convert best.
A well-designed workflow automation replaces that manual juggling with a deterministic, testable flow. Every booking goes through the same path, is logged centrally, and can be tweaked without rewriting your whole stack.
High-level architecture of the automated booking system
At a high level, the system has four building blocks:
- Booking form – a simple page where visitors pick a time, enter their details, and choose an offer.
- Payment step – Razorpay handles secure payments and sends reliable webhooks back to your workflow.
- Workflow engine – an n8n workflow glues everything together, validates data, and updates external systems.
- Calendar + CRM – your calendar, email tool, and simple CRM receive the final booking information.
n8n sits in the middle as the orchestration layer. It receives form submissions, calls Razorpay APIs when needed, validates webhook events, and finally writes to Google Calendar, your email service, and any internal dashboards you care about.
Step-by-step: how the automated booking workflow runs
1. Capture the booking request
The workflow starts when someone submits a booking form on your site. You capture:
- Name and email address.
- Chosen time slot and time zone.
- Offer type (free intro call, paid session, package, etc.).
- Optional context questions so the call is productive.
The form sends this payload into n8n via a Webhook node or your favourite form provider's integration.
2. Lock the time slot
Before asking for payment, the workflow checks your calendar from n8n:
- If the slot is already taken (for example by an internal meeting), the workflow sends an apologetic email with a link to rebook.
- Otherwise, it tentatively blocks the slot with a "Pending payment" event.
3. Generate the Razorpay payment link
For paid offers, n8n calls Razorpay's API to create a payment link with:
- The correct amount and currency for the offer.
- The customer's email and name pre-filled.
- Metadata fields containing the chosen time slot and internal booking ID.
The workflow then sends a transactional email that includes the payment link and a clear deadline (for example, 30 minutes) before the slot is released back into the pool.
4. Listen for Razorpay webhooks
Instead of polling, n8n exposes a secure webhook endpoint that receives Razorpay events. When a payment is captured, the workflow:
- Verifies the signature and amount.
- Matches the payment to the internal booking ID.
- Marks the calendar event as confirmed.
- Updates your CRM and sends a personalized confirmation email with join-link details.
5. Handle cancellations and reschedules
A resilient workflow also models what happens when plans change. For example, clicking a "Reschedule" link in the confirmation email can trigger another n8n workflow that:
- Lets the client pick a new time slot.
- Moves the calendar event accordingly.
- Logs the change so you can see how often clients move their appointments.
Results: what improves after booking automation
Teams typically see three quick wins from this kind of system:
- Higher show-up rates because clients receive clear, timely reminders and calendar invites.
- Cleaner data – every booking lives in a single source of truth that can feed dashboards and revenue forecasts.
- Recovered focus time – no more checking three tools to see who paid, who booked, and who needs a follow-up.
The same workflow automation pattern extends beyond one-on-one calls. You can reuse it for paid workshops, group cohorts, or even internal training sessions – anywhere you need a predictable booking and payment flow that just works.