Let's start by creating the variables we will use to populate and invoke the Twilio API. We will also create a variable that will send the response back to the Parent bot.Â
For the variables that need to receive data from the Parent bot, select the Use as input option. For the ones that we need to send back, we will select the Use as output option.
Let's add the following variables, which we'll pass from the Parent bot in order to invoke Twilio. Choose the Use as input option for all these variables:
- SenderPhoneNumber: This is a String variable that will be used to hold the phone number we will use to call employees.
- RecieverPhoneNumber: This is a String variable that we will pass employee phone numbers through.Â
- RecieverName: This is a String variable that will be used to pass the employee names.
- MessageContent: This is a String variable that will be used to pass the emergency notification message...