This flow lets customers buy event tickets, workshop seats, or any fixed-price item without leaving WhatsApp. The bot collects ticket type and quantity, calculates the total, generates a Razorpay payment link, and confirms the order when payment is received.
Before you startYou need a Razorpay account connected to WA.Expert via Integrations → Payments. See the Razorpay setup guide first.
Build the ticket bot
1
Go to Bot Builder → Create Bot Flow. Add a keyword trigger (e.g., tickets or book).
2
Add a Send Message block: introduce the event and the ticket options.
3
Add an Ask a Question block with interactive buttons for ticket type (e.g., General — ₹500, VIP — ₹1,200).
4
Save the selection and the price to Bot Fields.
5
Add another Ask a Question block: how many tickets?
6
Save the quantity to a Bot Field.
7
Add a Send Message block confirming the selection and total (e.g., '2 x General tickets = ₹1,000. Tap below to pay.').
Add the payment step
1
Add a node → Automation App → Payments → Create Payment Link (Razorpay).
2
Set the amount using the Bot Field for the calculated total.
3
Set the description to the ticket details.
4
Map the customer's name and WhatsApp number.
5
Save the generated payment link to a Bot Field.
6
Add a Send Message block that includes the payment link as a button or URL.
Confirm after payment
1
Add a Smart Wait block to wait for the payment webhook.
2
Add a router: Payment succeeded → send confirmation message with booking reference. Payment failed or timeout → send a retry message with the payment link again.
3
Save and enable the workflow.
TestingUse Razorpay's test mode and a test card to verify the full flow before going live. Check Run History after each test to confirm the payment webhook arrived and the routing worked correctly.
Was this helpful? If you are stuck, message us and a real person will help — the only platform that answers you live on WhatsApp.
Ask us on WhatsApp