-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Description
Hi,
I am working on an AI Voice Agent in Retell AI, using functions such as book, cancel and reschedule calendar appointments with Cal.com. I need to be able to get active bookings by filtering out the customers phone number. Backend is n8n workflow that handles the rescheduling and cancellation part, however we are not able to find the correct booking. It always deletes the first upcoming booking in the calendar. We have tried several filter nodes in n8n, but cannot seem to make it work.
In Cal.com API v2, GET /v2/bookings (and the org user variant) supports filters like attendeeEmail and attendeeName, plus status, date range etc. but there is no attendeePhone / phoneNumber query filter.
It is very important to get active bookings by only asking for the customers phone number, as the risk of getting the wrong customer is much higher by name or email (transcription is not perfect, especially in Scandinavian).
Therefore, I hope you will consider making this possible.
Highly appreciate your response!
Br,
Ole