Versabot Assistants are very versatile. They can make and answer phone calls, respond to SMS, email, Telegram, and website chat messages, and use over 6000 different apps through Zapier and over 200 plugins through Versabot.co’s own plugin ecosystem via its sister site, GPTPlugins4All. Below are the instructions on how to set up a basic voice bot to get the system up and running.
- Login or register at https://versabot.co/login or https://versabot.co/register
- Use a 2fa app (e.g. Google Authenticator) to enter the correct OTP code (requires scanning QR code at registration)
- Create an assistant by pressing the green “Add New Assistant” button at the dashboard, filling in the required fields, and pressing the green “Create Assistant” button.
From here, you need to fill out Assistant description, name, prompt, bot_intro, and your openai api key. If you do not have an openai api key, click the link to create an account and get one, then paste it into the OpenAI Key field. The description is for you to understand what the bot does. The prompt is the most important part. It is the system prompt for OpenAI’s chatcompletions api. Essentially, what it does is tell your bot what supposed to do, what tone it’s supposed to use, etc. You do this by giving it instructions the way you would a person. You can include a small sales script here if that’s your application (though another part is useful for this as well). There is also a model field, and a checkbox to use the old mode. Generally speaking, using the old mode is faster for phone calls. Likewise, the lower numbered models tend to be faster (though the higher numbered models tend to give more detailed and accurate responses). - Press the configure assistants button.
- Select your assistant from the “Select an Assistant” dropdown
- Create A Twilio (console.twilio.com) account if you don’t have one. Also create a Twilio phone number if you don’t have one. If you have both, skip to the next step.
- Copy the Account SID, Auth Token, and the new Twilio phone number. Paste them in Versabot’s Assistant Configuration page, under Add Phone Number Manually, and Add Twilio Credentials. Press the “Add Phone Number” and “Add Twilio Credentials” buttons. Be sure to include the country code, remove any dashes or parentheses, and include the plus sign (eg +1xxxxxxxxxx if you are in the US)
- Go to the Active numbers page on Twilio and select your phone number – https://console.twilio.com/us1/develop/phone-numbers/manage/incoming (may be slightly different if outside the US)
- Under Voice Configuration, configure the webhook.
- set the URL for both lines to “https://api.versabot.co/twiml”
- set the method for both to “HTTP POST”
- Scroll to the bottom of the page and press “Save configuration”
- Make sure to set up Billing with Twilio (or Elevenlabs if you are using Elevenlabs in the bot) if you haven’t already.
Congrats! You have just created a phone call bot with Versabot.co. Now you can test it by two ways:
- You can call the number to talk to the bot
- In the Assistant Configuration page, towards the bottom, you should see Make Outbound Twilio call. Above that, pick the phone number you just set up in the “Select a Number to Call from” Dropdown. Below that, enter your phone number. Then press “Make Outbound Call” to have the bot call your phone.
Troubleshooting: If you followed the instructions above exactly, your bot should work. If you are experiencing the static but no sound from the bot, the most likely scenarios are that you either haven’t set up billing or that you’ve over-configured. Ensure that you have no additional configs associated with the phone number and that should fix the issue. If that doesn’t work, go to our Discord for support and we will help figure out what’s wrong.
Other articles:
How to Add Elevenlabs Voices to Versabot Bots (and include your own voice!)
How to Add Zapier to Versabot Bots
How to create a Telegram Bot with Versabot.co (coming soon)
How to create a Website Chatbot with Versabot.co