Overview
Enterprise customers can integrate Bland within their existing Twilio Studio Flows, allowing seamless transitioning in and out of existing telephony infrastructure. Pre-requisites:- Your own Twilio account
- An Existing Twilio Studio Flow hooked up to a Twilio phone number
- A Bland Pathway
Step 1: Bland Twilio Setup
- Create an
encrypted_key
on the same Twilio account that your Studio Flow is hooked up to using the “BYOT” page in the Dev Portal. - Import the phone-number(s) that the Studio Flow is hooked up to through.
Step 2: Twilio Studio Flow Setup
- Add a “twiml-redirect” widget to the flow where you want to transition to Bland.
- Name this widget EXACTLY “bland_widget”.
- Change the url field to the following:
https://us.api.bland.ai/incoming?encrypted_key=YOUR_ENCRYPTED_KEY¶m=YOUR_PARAM
- You MUST add the encrypted key associated with step 2. Any additional parameters will be populated as variables in the Bland Pathway.
Step 3: Transitioning out of Bland back to Studio Flow (optional)
- Add a “Twilio Studio Flow” node where you’d like to transition out of Bland.
- Follow the instructons in the studio flow node to complete the full setup.