Hooking up Inbound SMS Conversation
  • 28 Sep 2021
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Hooking up Inbound SMS Conversation

  • Dark
    Light

Article summary

Overview

The Telephony Module allows a user to configure the Portal to receive SMS messages via a telephony service such as Twilio or Plivo. It also provides a user with pre-built Flow steps to create or respond to received SMS messages.

Prerequisites:


Example

This example will demonstrate how to configure Decisions to respond to a received message.

  1. Log in as an admin account and navigate to System > Applications > Telephony. Click on the desired Telephony Handler to edit.
  2. Under the Flow category, select the Telephony Handler SMS Flow (TeleHandler SMS Flow).
    This type of Flow has SMSRequest as the Flow Input Data and will contain all the data received from an inbound SMS request.


  3. To create a response to a received SMS, click the Done path on the Start step. Navigate to All Steps [Catalog] > Integration> Twilio > SMS. Select the SMS Response step and click ADD.
    The SMS Response step automatically reads the data from the SMSRequest input data so no mapping is necessary to configure which number it should reply to and from.


    SMS Response PropertiesSMS Response Property definitions
    SMS Response TextText in this field will be sent in the reply message (SMS messages can contain more than 160 characters)
    Wait for replyAllows users to enter a time span for which to wait. Any SMS message received from the original sender's number within the configured time span will be treated as a reply to the message. If the time span expires, the step will take the Timeout path and any message received from the sender's number will be treated as a new message.
    Process only valid repliesDisplays a textbox to configure valid replies. Any replies received that don't match the valid replies will cause the step to exit via the Unexpected Response path. Any replies received that do match an expected reply will cause the step to exit via the SMS Received path. The Process valid replies as paths checkbox will create a path for every valid reply and cause the step to exit via that specific reply path when a valid reply is received.





Was this article helpful?