Skip to content

Commit

Permalink
Update Setting up Exotel.md
Browse files Browse the repository at this point in the history
added new screenshots
  • Loading branch information
mahajantejas authored Mar 7, 2024
1 parent 5fcd4bf commit 46e7840
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions docs/4. Integrations/Setting up Exotel.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> ### **3 minute read                             &nbsp                             &nbsp                             &nbsp                       `Intermediate`**
> ### **3 minutes read                                                                                                                         `Intermediate`**
___

This is for you if:
Expand All @@ -21,16 +21,22 @@ This is for you if:
![3](https://user-images.githubusercontent.com/132430123/245516442-16892ecd-a3ea-46a5-a761-078a36c7073e.png)
<br />

5. When you drop it in place, you will see a new box opening up like below. Paste the link in this format – https://api.xxx.tides.coloredcow.com/webhook/exotel/optin where xxx is your org’s name. For example: https://api.staging.tides.coloredcow.com/webhook/exotel/optin
![4](https://user-images.githubusercontent.com/132430123/245516521-b40138a9-7fa4-4288-bfa3-dc7ea7b5acc0.png)
5. When you drop it in place, you will see a new box opening up like below. Paste the link in this format – https://api.xxx.glific.com/webhook/exotel/optin where xxx is your org’s name. For example: https://api.staging.glific.com/webhook/exotel/optin

<img width="859" alt="Screenshot 2024-03-07 at 4 22 00 PM" src="https://github.com/glific/docs/assets/141305477/f119c347-9bc7-462b-836d-2f67ceae135b" />

<br />

6. In the “In response” section, drag list manager in both boxes. Click on the list manager for “Once URL returns OK” and in the box which opens next, select the list for successful calls and in the section called “next” below, drag and drop Hangup.
![5](https://user-images.githubusercontent.com/132430123/245516586-25b97585-1682-451a-b9ca-db18e0a1a2b5.png)

<img width="982" alt="Screenshot 2024-03-07 at 4 23 44 PM" src="https://github.com/glific/docs/assets/141305477/fe945eda-f7d9-4476-b7f8-c92bc31bcdaf" />

<br />

7. In the previous card, click on the list manager under the head “If the URL returns anything else” and in the box which opens, select the list for all failed calls. In the Next header, drag and drop Hangup.
![6](https://user-images.githubusercontent.com/132430123/245516641-6d06323a-d8fc-4d62-9cd1-c4cb0b721a01.png)

<img width="969" alt="Screenshot 2024-03-07 at 4 25 00 PM" src="https://github.com/glific/docs/assets/141305477/9d2ad00d-e1e9-4bd5-b299-c76bfe633738" />

<br />

8. Select save. This completes the setup on Exotel side.
Expand All @@ -40,13 +46,18 @@ ___
1. You need to be an admin to get this access.

2. Login and go to flows and identify the flow your Exotel missed call should start. Select `Edit` to open the next screen
![7](https://user-images.githubusercontent.com/132430123/245516685-6e2aea22-2b6e-4acf-917b-f6e36f8e9d22.png)

<img width="1197" alt="Screenshot 2024-03-07 at 4 26 48 PM" src="https://github.com/glific/docs/assets/141305477/79857ce2-20ff-4b4f-9ffd-90cb0a16005e" />

<br />

3. In the URL, note down the Flow ID as highlighted. Click on `CONFIGURE` to make sure you have done the next 2 steps.
![8](https://user-images.githubusercontent.com/132430123/245516740-49938862-da43-4d61-b6a9-edec8241ea6d.png)

<img width="767" alt="Screenshot 2024-03-07 at 4 32 47 PM" src="https://github.com/glific/docs/assets/141305477/8ef47980-f1d6-4612-84af-378815b81daa" />

<br />


4. Start the flow with the Card for `Update Contact.` See next step to configure it.
![9](https://user-images.githubusercontent.com/132430123/245516813-3f0b39fd-c9e3-4b2e-bbd5-301d72920032.png)
<br />
Expand All @@ -56,10 +67,10 @@ ___
<br />

6. Via Gupshup create a marketing template with a button. FaceBook seems to only approve marketing messages as of now – maybe it is due to the increased revenue this type of message offers. This button can be anything. The button will send a message from the user’s side after the flow has been started, so that the bot can actually send messages to the user.
![11](https://user-images.githubusercontent.com/132430123/245516912-389df91c-9104-4179-ae1e-e9a54f49aa22.png)
<br />

7. Map this message like this after the Optin message as shown in Steps 5 and 6 above. To create this – Select “send a message” in the dropdown, and then click on WhatsApp tab in the top right of the card and configure as show in the second image in this step – you have to select the template you just got approved in Gupshup.
8. Map this message like this after the Optin message as shown in Steps 5 and 6 above. To create this – Select “send a message” in the dropdown, and then click on WhatsApp tab in the top right of the card and configure as show in the second image in this step – you have to select the template you just got approved in Gupshup.

![12](https://user-images.githubusercontent.com/132430123/245516966-fcdf34ca-4e9d-4074-874f-1cf5b98a5cbf.png)
<br />
Expand All @@ -68,17 +79,17 @@ ___
<br />


8. Save the flow and go to `Settings` screen. Select `Edit` in the Exotel box as shown in the screen below. Remember, only admins can do this.
![14](https://user-images.githubusercontent.com/132430123/245517103-e21f26c9-8576-4f64-9437-a9f1856e8434.png)
8. Save the flow and go to `Settings` screen. Select `Exotel`from the options. Remember, only admins can do this.
<br />


9. Set `is Active` to true. Enter the Glific Flow ID you noted in Step 3 above. Set direction of call to `Inbound` and write your Exotel number in the last box and save.
![15](https://user-images.githubusercontent.com/132430123/245517175-d87d0e4f-fb78-44a0-87ad-5e79717709c0.png)
<img width="1061" alt="Screenshot 2024-03-07 at 4 35 35 PM" src="https://github.com/glific/docs/assets/141305477/9a74544a-73eb-4863-b179-6bb0b8cd8ce2" />

<br />


10. This completes your Exotel setup and linkage of Exotel to the bot.
11. This completes your Exotel setup and linkage of Exotel to the bot.


A trick with your mobile number
Expand Down

0 comments on commit 46e7840

Please sign in to comment.