Introduction
After customers book, the Appointments module becomes an operations board for booking state, payment status, reminders, calendar sync, and external notifications.
عمليات الحجز
| Control | Use it for |
|---|---|
| Booking detail | Review customer answers, schedule, payment, and status. |
| Status update | Approve, confirm, move back to pending, cancel, complete, or otherwise move bookings through your workflow. Status changes from the request page return to the same request page. Historical Rescheduled rows are locked and cannot be edited. |
| Reschedule | Change date/time when the customer or business needs a new slot. Rescheduling creates a new active booking row and turns the old row into a locked Rescheduled history record. |
| Mark paid | Record confirmed payment when payment is handled or verified manually. |
| Mark as Refunded | Appears in booking detail only for Expired + Paid bookings. Use it after billing has completed the external refund, so appointment reports stop counting the payment as revenue. |
| Appointment Automation | Open the per-appointment automation page for WhatsApp messages, email cards, confirmation button, reminder timing, templates, retries, and run history. |
| Webhook drawer | Send selected appointment payload fields to an external system and preview the payload from the latest real booking when available. |
| Activity page | Search booking activity and Google Calendar event records, then delete only cancelled/unpaid records that are eligible for cleanup. |
Booking Approval Modes
| Mode | What happens |
|---|---|
| Auto-confirm when customer submits booking | The booking becomes Confirmed immediately after the customer completes the booking flow. |
| Require customer confirmation button | The booking stays Pending until the customer taps the Confirm button from Appointment Automation. The final Flow screen uses Submit Booking wording in this mode because submitting the Flow does not confirm the booking yet. After the customer taps Confirm, the final Booking Confirmation card is sent and can include Reschedule, Cancel, and New Booking buttons when enabled. Saving the appointment automatically enables the Appointment Confirmation Button card; review the wording before testing. |
| Require payment before confirmation | The booking stays Pending until payment becomes Paid by gateway callback or manual mark-paid action. The customer Flow uses Submit Booking wording, then WAPI sends the payment link/message. This mode requires a prepayment amount and at least one active appointment-supported payment method. Saving automatically enables the required payment automation cards. |
Pending bookings are not final. Use the mode that matches your business process before customers start booking.
Webhook Payload Selection
Appointment webhooks can send selected groups of data such as appointment, booking, customer, payment, schedule, calendar, Flow Submission, questionnaire, and event context. Checkout Start is sent before the customer submits the Flow, so date, time, age, remarks, and other intake answers appear on post-submission events such as Checkout Success, Status Update, Booking Cancel, Reschedule, and Reminder.
Avoid sending unnecessary customer data to external systems. Choose a minimal payload that still supports the workflow.
Pending Booking Expiry And Payment Links
Pending Booking Expiry controls how long a pending booking can reserve a slot while the customer confirms or pays. When the time passes, the central Cron Worker expires the booking, releases the slot, sends the Booking Expired automation cards when enabled, and prevents stale confirmation buttons from confirming the booking.
Payment links sent by appointment automation use a guarded WAPI URL first. If the booking has expired, the customer sees an expired-link message instead of being redirected to the payment provider. Stripe and Razorpay links also receive provider-side expiry where supported; PayPal relies on WAPI-side guards and callback checks.
Duplicate Booking Protection
Max Bookings From Same Number checks active Pending, Approved, and Confirmed bookings for the same phone number and appointment.
Confirmed + Paid bookings can be ignored when Allow New Booking After Paid Confirmation is enabled. Expired, Cancelled, and Completed bookings do not count as active duplicates.
Expired Attempt Protection blocks repeated slot-hold abuse, for example 3 expired attempts in 24 hours.
The check runs before the WhatsApp booking Flow opens, so customers do not fill the form when they are already at the limit or have too many recent expired attempts.
The customer receives the Duplicate Booking Blocked automation card for active duplicate bookings. When the block is caused by repeated expired attempts, the customer receives the Expired Attempt Limit Reached automation card. Both messages can be edited from Appointment Automation.
FAQs & Troubleshooting
Why did a reminder not send?
Open Appointment Automation, check the Reminder card, customer eligibility, Recent Runs, and the central Cron Worker job.
Can I send appointment data to a CRM?
Yes, use appointment webhooks and select the payload fields the CRM needs.
Why can I not delete a booking request?
Only cancelled bookings with unpaid or not-required payment status can be deleted. Paid bookings stay for audit and reporting history.
Troubleshooting Checklist
- If reschedule fails, confirm the target slot is available and the user has booking management permission.
- A Rescheduled row is a history record. Open the newer replacement booking row for active status changes, cancellation, or further operations.
- If payment status is wrong, compare the payment provider record and the booking payment status.
- If webhook delivery fails, verify endpoint URL, selected fields, and receiver availability.