Testing the agent
# support
k
Is there a way to test your assistant by calling a number instead of it testing straight from the platform?
v
message has been deleted
@KC Absolutely! Once you have attached your assistant to a phone number, you can test it by simply making a phone call to that number. Your assistant will pick up the call and interact with you just as it would with any incoming call. This is a great way to test the real-world functionality and user experience of your assistant. If you've already set up a phone number and attached your assistant, go ahead and give it a try by calling the number. If you need assistance with setting this up or have any other questions, please let me know!
You can continue this conversation by mentioning me in the message.
k
okay great! So even though the assistant is set up for outbound calling just call it instead? is that what i'm hearing?
v
@KC I apologize for any confusion. If your assistant is set up primarily for outbound calls, you typically wouldn't call into it. However, if you also have it configured to handle inbound calls, then yes, you can test it by calling the number associated with your assistant. If you want to test outbound functionality specifically, you would need to initiate an outbound call from your assistant to the desired number using the /call/phone endpoint. You can specify a temporary assistant or reuse an existing one by providing the assistantId. Would you like to proceed with setting up a test for an outbound call? If so, I can guide you through the process.
k
yes, please help me with setting up an outbound call to test the assistant
v
@KC Great! To set up an outbound call to test your assistant, you'll need to provide a few details: 1. The phone number you want to call. 2. The message or interaction you want the assistant to deliver. 3. Whether you want to use a temporary assistant or specify an existing assistantId. Once you have this information, you can make a request to the /call/phone endpoint with the necessary parameters. If you have a specific message or script you want the assistant to use for this test call, please provide that as well. Could you please provide the phone number and the message for the test call? If you want to use an existing assistant, kindly share the assistantId too.
s
k
Thank you!
3 Views