Configuring Twilio

Twilio is a cloud communications service for voice and messaging applications. You can integrate Twilio with Boomi Flow to send users text messages, or initiate calls to your users, from within your apps.

Required:

  • Boomi Flow username/password. (If you do not have a Boomi Flow login, please click here to get one.)
  • Twilio Account SID and Auth Token
  • Your Twilio programmable SMS number, with text messaging supported and configured for the country of your mobile phone. (If you want to use webhooks.)
Tip: A SID is a 34 character string that uniquely identifies your Twilio account. The Auth Token acts as a password for third-party integrations. You can find the Account SID and Auth Token in your Twilio Console dashboard. Please contact your IT administrator if you do not have access to your Twilio Console. You can create a Twilio account here.

Adding the Twilio service
      1. Click LOG IN to login to the Boomi Flow Drawing Tool.
      2. Select Services from the sidebar, and click New Service.
      3. Type Twilio: Service in the Name field.
      4. In The URL for the Service field, copy-paste https://services.manywho.com/api/twilio/2 and click Continue.
      5. Click Select or create a new Value in Value for Account SID.
      6. Click Create a new Value.
      7. Type Twilio: Account SID in the Name field.
      8. The What kind of Value is this? field should say String.
      9. In the Default Value field, enter your Twilio SID and click Save.
      10. Click Select or create a new Value in Value for Auth Token.
      11. Click Create a new Value.
      12. Type Twilio: AuthToken in the Name field.
      13. The What kind of Value is this? field should say Password.
      14. Enter your Twilio auth token in the Default Value field, and click Save.
      15. Click Continue.

        You may have to wait a few seconds as the Twilio integration is added to your Boomi Flow tenant.
        Once the integration is installed, you will see a confirmation screen.

Configuring Twilio webhooks

Webhooks are an HTTP POST callback request, and occurs when something specific happens. You can use webhooks to trigger an event in Boomi Flow when something changes in Twilio (or vice versa).

To configure webhooks log in to your Twilio Console, click the # icon to go to Phone numbers, and select the phone number that you are using for this instance of the app.

There are three configuration options:

Sending text message from your flow/getting sent message confirmation

  1. Click # to open the Phone Numbers screen in your Twilio Console.
  2. Select your Twilio number.
  3. Under Messaging, copy-paste https://services.manywho.com/api/twilio/2/callback/status/message in the Webhook URI next to A message comes in.
  4. Click Save.

Launching an app via text message

  1. Click # to open the Phone Numbers screen in your Twilio Console.
  2. Select your Twilio number.
  3. Next to A message comes in under Messaging, copy-paste  https://services.manywho.com/api/twilio/2/callback/sms/flow/{Tenant ID}/{Flow ID}. Replace Tenant ID with your Tenant ID, and Flow ID with the ID of the flow that you are using to build the app. The URL will look like this: https://services.manywho.com/api/twilio/2/callback/sms/flow/36f7b1b2-81b1-4806-a5af-820c0e9a764e/bb599e0b-fb98-4248-8338-c9c9267cd2ee
  4. Click Save.

Users calling the app

  1. Click # to open the Phone Numbers screen in your Twilio Console.
  2. Select your Twilio number.
  3. Next to A call comes in under Voice, copy-paste https://services.manywho.com/api/twilio/2/callback/twiml/voice/flow/{Tenant ID}/{Flow ID} in the Webhook URI. Replace Tenant ID with your Tenant ID, and Flow ID with the ID of the flow that you are using to build the app. The URL will look like this: https://services.manywho.com/api/twilio/2/callback/twiml/voice/flow/36f7b1b2-81b1-4806-a5af-820c0e9a764e/bb599e0b-fb98-4248-8338-c9c9267cd2ee
  4. Click Save.

Developers: You can find more information on the Twilio service for Boomi Flow here. You can find more information on Twilio webhooks here.

Check out the glossary for a definition of terms and key concepts that appear in the Boomi Flow website, Drawing Tool, technical documentation, blogs, and marketing communications.

If you need to take a closer look, click on the images to enlarge them. Have a question? Click the Help button on the bottom right-hand corner of this page to ask.