Hello everyone, I hope you can assist with this. I'm currently operating a workflow that is linked to callin.io for initiating an outbound call to a lead. The workflow functions as intended: it retrieves availability from my calendar, logs call details, and books the appointment.
The challenge I'm encountering is that the callin.io agent takes an extended period to check availability using a callin.io function named checkCalendarN8N. Based on feedback, it appears the calendar API call to fetch calendar availability is the bottleneck. I'm not entirely certain how to resolve this to ensure the agent checks availability and retrieves it within a maximum of 5 seconds. Currently, it's taking approximately 20-30 seconds, which is a significant problem.
The second issue I'm facing is that the agent occasionally indicates a time is unavailable when it actually is available. Consequently, the callin.io workflow proceeds to schedule the requested time, but the agent reports it as unavailable. While this doesn't happen frequently, it occurs often enough to be problematic. I need the agent to be accurate and capable of properly interpreting calendar availability. It seems there's a lack of synchronization between the agent and the workflow; the workflow performs one action while the agent behaves in the opposite manner. I will attach some screenshots and my most recent JSON webhook output for call logging.
The complicating factor is the absence of any error messages, which leaves me unsure how to diagnose or resolve the issue.
Any assistance would be greatly appreciated. Please let me know if further context is required.