Introduction
Sometimes a prospect just can’t decide on a time during the call. Instead of losing momentum, you can fire an SMS with your calendar link—automatically—using GoHighLevel’s Inbound Webhook trigger and a Custom URL tool in Callgency AI.Why You Need This Fallback
Common scenarios:- “Just send me a link, I’ll book when I check my calendar”
- “Text me the details, I’m driving”
- “I need to coordinate with my spouse first”
Setup Overview
- Create Custom URL tool in Callgency AI
- Build Inbound Webhook workflow in GoHighLevel
- Send SMS with calendar link when triggered
- Wire the agent to the webhook
Step-by-Step Setup
1. Create Custom URL Tool (Callgency AI)
- Open the agent that books calls
- Click Add Tool → Custom URL
- Name it:
send_sms - Leave the response schema blank (you won’t need the return data)
- Mark as Async: ON
- Save (leave URL empty for now - we’ll add it in Step 4)
2. Create Inbound Webhook Workflow (GoHighLevel)
- In GHL, click Workflows → New
- Trigger: Inbound Webhook (premium feature; ~1¢ per run)
- Copy the webhook URL that appears
- Click Fetch Sample Request to load a dummy payload
- Accept the sample to map fields later
3. Build the Workflow Logic
Step 1: Find Contact- Add Find Contact action after trigger
- Use
{{contact_id}}to locate the record - (Callgency AI automatically sends this)
- Add Send SMS action
- To: Use the found contact’s phone number
- Message:
- Use a trigger link so clicks kick off their own automations
- Optionally add “Link Clicked” tag for tracking
- Send reminder if they don’t book within 24 hours
- Add Update Opportunity action
- Change stage to “Link Sent - Pending Booking”
- Add tag:
calendar-link-sent
- Add Send Internal Notification
- Notify via Slack or Email when links are sent
- Track conversion rates
4. Wire Agent to Webhook
- Back in Callgency AI, edit your agent’s prompt
- Add this instruction:
- Edit the
send_smstool you created - Paste the webhook URL from GoHighLevel (Step 2)
- Save
How It Works in Real Life
Agent: “What day works best for you?” Lead: “Just text me a link, I’ll book later.” Agent: Triggers send_sms tool → webhook fires → GHL finds contact → SMS with calendar link goes out in seconds Agent: “Done! I just texted you the link. Book whenever you’re ready, and we’ll see you soon!”Webhook Payload
Callgency AI automatically sends:{{webhook.contact_id}}{{webhook.agent_name}}{{webhook.timestamp}}
Optional Refinements
Tag for Tracking
Add tagsms-link-sent so you can filter later for:
- People who got links but didn’t book
- Follow-up campaigns
- Analytics on conversion rates
Follow-up Workflow
Create a separate workflow:- Trigger: Tag added
sms-link-sent - Wait: 24 hours
- Condition: Check if appointment exists
- If no: Send reminder SMS
- If yes: Do nothing (they booked)
Multiple Calendar Options
If you offer different services:- Pass calendar type as a variable in the webhook
- Use conditional branching in GHL to send the right link
Troubleshooting
SMS not sending?- Verify webhook URL is correct
- Check contact phone number is valid
- Ensure SMS credits are available in GHL
- Verify
contact_idis being passed correctly - Check Find Contact step is working
- Test with your own number first
- Ensure you’re using
{{trigger_link.calendar}}not a static link - Verify calendar is published and accessible
- Test link manually before deploying
Cost Considerations
- Inbound Webhook: ~1¢ per trigger (GHL premium feature)
- SMS: ~1-2¢ per message
- Total: ~2-3¢ per fallback link sent
Next Steps
- Learn about Custom URL Tools for more webhook integrations
- Explore Advanced GHL Workflows for complex automations
- Set up Booking Reminders to improve show rates

