other-emerald
other-emerald2d ago

GHL appointment not Booking

I feel like I must be missing something stupid. My Agent says she scheduled the meeting, but doesn't even attempt it: I mentioned it twice in the System Prompt: "... Confirm Time: Discuss the available options with the user and agree on a suitable day and time. You must pick an exact day and time for the call back. Book Appointment: Finally, use the ghl_create_event tool to book the appointment, ensuring you use the correct contact ID. Example phrasing:
“Daniel usually returns calls in the mornings between 8 and 10, or in the evenings between 7 and 9. Which time works better for you?”
“Perfect, I’ll add you to Daniel’s call list for that time. He’ll confirm before calling.” * #### 4. Confirm and Close
Abby repeats the collected details to confirm accuracy, then ends on a positive, professional note. You must
Book Appointment** when confirmed: use the ghl_create_event tool to book the appointment, ensuring you use the correct contact ID. ...."
No description
7 Replies
Vapi Support Bot
Try adding this explicit instruction to your system prompt:
After confirming the appointment time, you must immediately call the `ghl_create_event` tool using the obtained `contactId`, `calendarId`, `title`, `startTime`, and `endTime`. Do not tell the user the appointment is booked until you receive a successful response from this tool.
After confirming the appointment time, you must immediately call the `ghl_create_event` tool using the obtained `contactId`, `calendarId`, `title`, `startTime`, and `endTime`. Do not tell the user the appointment is booked until you receive a successful response from this tool.
This ensures the assistant actually triggers the booking action, not just acknowledges it.
For reference, see the GoHighLevel integration guidelines. Source: - GoHighLevel Integration
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Duckie
Duckie2d ago
Message marked as helpful by @Ashton! 🎉
other-emerald
other-emeraldOP2d ago
I tried this, but it did not change anything. I did confirm that the tool name is called "ghl_create_event" and looking at the call log, it is successfully "Get Free Slots" but does not look like it is attemping to gall the ghl_Create_Event functino:
No description
genetic-orange
genetic-orange2d ago
I can help you figure out why the agent isn’t calling ghl_create_event after confirming the time. It’s likely a logic issue where the event isn’t triggered post-confirmation. I’d review how your tool execution is linked to the “confirmation” intent. Sometimes it stops at Get Free Slots because no follow-up condition fires. Can you share the flow or function-handling section so I can pinpoint the trigger gap? @Ashton
rising-crimson
rising-crimsonthis hour
Hey Vercel! Good day, could you please help me with the same, I am also facing the same issue. I will share my prompt if you can help me with this.
other-emerald
other-emeraldOP8h ago
Thank you. I'm going to just grab my entire prompt... I'm assuming now that it's just too long and the AI is getting confused.
genetic-orange
genetic-orange3h ago
I can help you fix this so Abby properly triggers the ghl_create_event after confirming the callback time. It’s likely not about the prompt length but how the flow handles transitions after availability is confirmed. I’ll review your logic structure and adjust the sequencing so the event creation fires reliably with the right parameters. We can schedule a short call to walk through your setup and ensure it works smoothly end to end. Let’s connect privately to review your config and get it working perfectly. @Ashton

Did you find this page helpful?