> ## Documentation Index
> Fetch the complete documentation index at: https://docs.insighto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Embedded Form Widget with Twilio

1. **Create Your Form with a Phone Field**

Before setting up the Embedded Form Widget with Twilio, make sure you’ve already created a form in Insighto that includes a phone number field.

🔗 [Follow this guide to learn how to create a form in Insighto](https://docs.insighto.ai/Insighto.ai-Forms)→

For this setup, we’re using a form that has already been created and includes all necessary fields—especially the Phone field, which is required to trigger the AI call.

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF1.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=b5ed4619a0996fff590a490b67bee8f2" alt="alt" width="1914" height="916" data-path="images/EF/EF1.png" />

***

2. **Set Up Your Voice Assistant**

To handle the call triggered by the form, you’ll need to have a Voice-type Assistant configured in Insighto.

🔗 [Click here to learn how to create a Voice Assistant](https://docs.insighto.ai/Build-Your-First-Voice-Agent)→

Make sure the assistant is trained to handle the type of queries expected from users submitting the form. This assistant will be the one engaging with the user over the call initiated via Twilio.

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF2.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=0c2bd5b75865c217bb1718edd410c0ba" alt="alt" width="1541" height="919" data-path="images/EF/EF2.png" />

***

# 🔧 Steps to Set Up the Embedded Form Widget with Twilio

Now that you’ve created your form and configured a voice assistant, follow the steps below to deploy the Embedded Form Widget that instantly triggers AI-powered calls using Twilio.

***

3. Click on **Widgets**

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF3.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=832b92d7044efa5447aa6f8365f463ac" alt="alt" width="1541" height="919" data-path="images/EF/EF3.png" />

***

4. Click on **Create Widget**

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF4.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=f74175ef1f0ca754a04f398d406b317e" alt="alt" width="1541" height="919" data-path="images/EF/EF4.png" />

***

5. **Select Provider Type**

Select **Twilio** as Provider type as the embedded form widgets work with Twilio only

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF5.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=78a72ea1027c916c83f52eac1138784f" alt="alt" width="1541" height="919" data-path="images/EF/EF5.png" />

***

6. **Select Widget Type**

Select the Widget Type as shown below

Provide Name & Description of the Widget

Click on **Next**

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF6.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=470c3e02e116c60254c8c8d489698678" alt="alt" width="1541" height="919" data-path="images/EF/EF6.png" />

***

7. **Select the Assistant**

Select the Assistant from the dropdown and proceed

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF7.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=4b48ee5b9bf755c6891b145e40ec1955" alt="alt" width="1541" height="919" data-path="images/EF/EF7.png" />

***

8. **Configure Twilio Embedded Widget**

In this step, set the behavior for your Twilio-powered voice assistant:

* Enable **Call Recording** (optional) – Recordings will be available in your Twilio dashboard
* Set **Maximum Call Duration** in seconds (e.g., 300 for 5 minutes)
* Select your **Twilio Account** from the dropdown
* Choose a **Phone Number** associated with that account
* **Form**: Select the form created in step 1 and then select the **Phone** field from the form

Once done, click **Finish** to complete deployment.

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF8.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=2b5af0e9f7245407065335327f6ae612" alt="alt" width="1909" height="914" data-path="images/EF/EF8.png" />

***

9. 🎉 Your Embedded Form Widget is ready!

## <img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF9.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=469fa3f50a3a61bea1d8541fdc4f2704" alt="alt" width="1541" height="919" data-path="images/EF/EF9.png" />

\##Let's Try It

***

10. Click on **Visit**

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF10.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=8a420b2b58cb3d05b3835e5e51879952" alt="alt" width="1915" height="916" data-path="images/EF/EF10.png" />

***

11. Enter your phone number and submit to test it now!

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF11.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=7a7dcad0bf1a7f12fac8b2935117fb41" alt="alt" width="1541" height="919" data-path="images/EF/EF11.png" />

***

# Deploy it on your website now!

***

12. Click on **Options**

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF12.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=4a840c2a628d69e69cb10f1b18722784" alt="alt" width="1541" height="919" data-path="images/EF/EF12.png" />

***

13. Click on **Get Code & QR**

<img src="https://mintcdn.com/insightoai-bc61fe99/CYegUxfNfpXDrPcs/images/EF/EF13.png?fit=max&auto=format&n=CYegUxfNfpXDrPcs&q=85&s=eb43ee8c5b7262c97ce33cc5b7245a96" alt="alt" width="1541" height="919" data-path="images/EF/EF13.png" />

***

14. **Copy the Widget Code and add to your website**

* **HTML iFrame (Only Supported)** – Embed the assistant directly within a specific section of your webpage; place the iFrame code within the `<body>` where you want it displayed.
