Getting Started with SMS Autoresponder

SMS Autoresponders are used to automatically reply to the users when you are away. Plivo’s PHLO allows you to quickly create and configure a SMS Autoresponder for your business. An incoming SMS will trigger the PHLO and will enable sending SMS messages to the customers.

Use Case Outline

Creating the Use Case using PHLO

With PHLO, you can quickly create a workflow that suits your use case. To use PHLO, make sure to register and log on to Plivo Console.

Use the following components to create this PHLO:

  • Send SMS

When you send an API request to the PHLO, it triggers a SMS message to the user using the Send SMS component. This is a simple use case, yet it is one of the most widely used.

Note: The Callback function provides the user details required to send the SMS message.

To create this PHLO

  1. On the top navigation bar, click PHLO. The PHLO page will appear and display your existing PHLOs, if any. If this is your first PHLO, then the PHLO page will be empty.
  2. Click CREATE NEW PHLO to build a new PHLO.
  3. On the Choose your use-case window, click Build my own. The PHLO canvas will appear with the Start node. Note: The Start node is the starting point of any PHLO. You can choose between the four available trigger states of the Start node; Incoming SMS, Incoming Call, Endpoint Call, and API Request. For this PHLO, we will use the Incoming SMS trigger state.
  4. Click the Start node to open the Configurations tab and then enter the information to retrieve from the HTTP Request payload. For example, this could be a list of numbers to send an SMS message to.
  5. Click Validate to save the configurations for the node.
  6. From the list of components, on the left hand side, drag and drop the Send SMS component onto the canvas. This will add a Send SMS node onto the canvas.
  7. Connect the Start node with the Send SMS node, using the Incoming SMS trigger state.
  8. Rename the node to Send autoresponder text. Note: You can rename the nodes as per your requirements. We are using specific names to help you relate to the different nodes used in this use case.
  9. Next, configure the Send SMS node to select the From and To numbers from the Start node.
  10. On the Send SMS Configurations tab, enter a static message in the Message field. Note: The SMS message can be static or dynamic. In this example, we will use a static message.
  11. Click Validate to save the configurations for the node.
  12. After you complete the configurations, click Save. You can trigger your PHLO using the PHLO URL to test it out.

Your complete PHLO will look like this:

Triggering the PHLO on Incoming SMS

Once you have created and configured your PHLO, assign your PHLO to a number. To assign a PHLO to a number

  1. Login to your Console
  2. On the Product Navigation bar, click Phone Number.
  3. On the Numbers page, under Your Numbers, click the phone number you wish to use for the PHLO.
  4. In the EDIT NUMBERS window, select PHLO from the App Type list.
  5. From the PHLO list, select the PHLO you wish to use with the phone number, and then click Update.

You can now send an SMS to your phone number to test your PHLO.

If you have not purchased a phone number yet, you can buy Phone number(s) by referring to the instructions available here.

For more information about creating a PHLO app, see the PHLO User Guide. For information on components and their variables, see the PHLO Components Library.

Uses of this PHLO

You can also use this PHLO structure for other use cases, like:

  • Promotional notification
  • Package tracking
  • Order Notifications