Twillio

In this chapter we will configure twilio to work with our Amazon lex bot

twilio

creating a twillio account

Open twilio with the following link TWILLIO

  1. click on login then follow the instruction to login into your account twilio
  2. choose the most importance part in the TWILLIO configuration :
  • choose SMS as used
  • in the How do you want to build with twillio choose with minimum code
  • then click get started twilio
  1. in twillio home screen choose get phone number twilio
  2. click on your twillio account twilio
  3. get the Account SID and Auth Token to used with lex bot twilio

building lex bot to work with twillio

  1. on bot version click create version twilio

  2. click on Create version twilio

  3. on channel integration click Add channel twilio

  4. on the channel integration creation form :

  • click on twillio twilio
  • name the bot twillio bot
  • choose TestBotAlias
  • choose language as English
  • then add the account id and authentication key in your twillio account twilio 5 when created successfully copy the url of the channel twilio

calling whatapp using twillio

  1. testing the whatapp messaging
  • In twillio click on Messaging
  • click on Send a WhatApp Message twilio
  1. In whatapp try to send a message to whatapp twillio will give you the phone number and join code copy them: twilio
  2. find the twillio number on whatapp then enter paste the code to used twillio twilio
  3. In the whatapp sand bot setting copy the lex bot url into the post
  4. then hit save twilio
  5. now you can talk to your lex bot thought whatapp using twillio twilio