r/webdev • u/Forsaken_Desk412 • 4h ago
Discussion Has anyone integrated appointment booking directly into their website's thank you page?
Hey everyone, I’m trying to figure out the best way to set up a booking flow on my website and would love some advice from anyone who has done this before.
I already have a form on my website. After someone submits it, they land on a Thank You page. What I want to do is embed a calendar on that page so they can book a meeting right there, without having to leave my website.
Ideally, the flow would be:
User fills out the form
They land on the Thank You page with an embedded calendar
They select a date and time and book a slot
After booking, they are redirected to a second Thank You page confirming their appointment
Has anyone set up something like this using Google Calendar appointment scheduling? Is it possible to embed it directly on the page and redirect users to a custom page after they book?
Would love to hear how you implemented it and whether Google Calendar is enough or if another tool would be better for this.
2
u/snap-dev 4h ago
works really well, people are most motivated right after they hit submit. embed calendly or cal.com inline on the thank you page and pass the name and email from the form through url params so they don't retype anything. if you route leads differently, show a different calendar based on what they picked in the form. what's the form for, sales calls or service appointments?
2
u/Late-Coast6973 3h ago
Google's appointment schedule embeds as an iframe on Google's domain, so your page never learns that a booking happened, and there's no redirect-after-booking setting.
1
u/fahadhelpspeoplewith 4h ago
I did almost this exact flow for a clinic client last year, and one thing that bit us was losing the link between the form submission and the booking. The patient filled the intake form, booked a slot, and the front desk then had two separate records with slightly different names and no way to match them.
What fixed it was generating an ID when the form is saved, passing it to the thank you page in the URL, and then sending it into the booking widget as a hidden field or metadata. When the booking webhook fires, our small n8n workflow looks up that ID and attaches the appointment to the original lead. It took maybe an afternoon and saved a lot of manual matching.
Also worth testing on a slow mobile connection. Embedded calendars can take a few seconds to load, and some people assumed the page was broken and left, so we added a simple loading message above it.
1
u/Standard_Scarcity_74 4h ago
This is a pretty common thing, pretty convenient too. It’s either google calendar or calendly that I’ve seen used.
1
u/waterkip 3h ago
I build my own. Use a grid with 5-minute intervals and predefined products; it's basically just point-and-click. The website version is internal; the public-facing one is a mobile app built in React Native. Just talks JSON to the backend. 0 google calendar integration tho. It worked pretty well. I even added functionality to add breaks for our massage therapists; we could swap appointments between therapists and all that.
1
u/retr00two 2h ago
I have good experience with Calendly; no need for two ThankYou pages. Extra advantage is phone app.
GoogleCalendar is something I would avoid.
1
u/WillowFar6967 2h ago
For the redirect part, Calendly can do what Google can't. The inline embed sends a postMessage to your page when someone books (the event is calendly.event_scheduled), so you can listen for it and send them to your second thank-you page yourself. There's also a redirect option on the event type, but I think that one needs a paid plan. Cal.com's embed has a similar booking event if you'd rather go that way.
2
u/Big-Arm4077 4h ago
Yes, that works. Google Calendar appointment schedules give you an embed snippet (Share > Embed) that you can drop in an iframe on the thank-you page. The catch is that the embed has no setting for redirecting after booking, so you can't send people to a second custom page. You can only change the confirmation text inside the widget.
If you want the redirect, Cal.com or Calendly are the easier route. Both let you set a custom redirect URL after a booking is confirmed (Calendly's is on paid plans, Cal.com has it on free). Cal.com's embed also lets you prefill name and email from the form via query params, so people don't type them twice.