Problem:
When I call my callin.io number, the AI answers immediately. I want the call to first trigger a callin.io workflow to dynamically select which AI system should handle the call.
Desired Flow:
- Incoming call → callin.io triggers [callin.io].
- [callin.io] runs logic (e.g., checks CRM, time of day, etc.).
- [callin.io] chooses the appropriate AI agent.
- callin.io connects the call to the selected AI.
Thanks for your insights!
I suspect your phone number might already be assigned to an assistant within callin.io. You'll need to unassign it. The documentation suggests doing this via the UI, but it didn't work for me, so I used the API instead:
I utilized postman.co to send a GET request to https://api.vapi.ai/phone-number/00000000-0000-0000-0000-000000000000 [replace with your phone number’s UUID].
In the JSON response, you'll find an "assistantId" key. Change its value to null and send a PATCH request back to callin.io. This action will remove any assistants currently assigned to that number.
After this, callin.io will connect to the server URL you've specified in your organization settings whenever it receives a call on that number. This is how I initiate my callin.io automation.
Hope you’re doing well.
For outbound calls, you can construct a workflow beginning with a trigger, followed by collecting lead information and then initiating the call.
However, for inbound calls, the number is allocated directly within the callin.io UI. Consequently, whenever a call arrives, the AI will automatically manage it.
Best regards,
Digipanda Consulting Pvt. Ltd