I am creating a scenario to take a timeslot from a retell ai agent and reschedule an appointment in Cal.com, I have followed their documentation for my formatting and it is still returning as well as failing to reschedule the appointment,
Here is the mapping function I have used to set the UID variable,
Its showing here as an empty set of brackets, I have made a module to Email me the UID data just to make sure there’s nothing there and thee email appears empty as well, I am at a loss in terms of solutions to this, It returns nonspecific 500 errors whenever I run the scenario without error handler modules, I am assuming this is due to the lack of data coming through, Below is a screenshot of my entire scenario.
Judging by your formula, you are trying to get the UID where the bookingFieldsResponses.phone matches a phone variable coming from the webhook, but in the screenshot of the data array I don’t see such a field.
I think you are right there, didn’t consider that, thank’s for pointing that out, I think the issue now is trying to find a way to source that from the booking, thank you for your help on this.
I have done some more testing and it appears that there is a phone number nested further in the data bundle, did you have a second most likely issue in mind?
Thank you for your help, this has worked and gotten rid of the error from the map function, now I am going to get in contact with cal.com to see where the server error is coming from.