<

Getting Started with Voicemail

You can use Voicemail to capture the caller’s details and queries if the respective team is currently unavailable. Plivo’s PHLO allows you to quickly create and configure a Voicemail for your business. An incoming call will trigger the PHLO and will capture the voicemail.

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:

  • Record Audio
  • Send SMS

When you send an API request to the PHLO, it triggers a SMS message to the user using the Send SMS component.

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. From the CREATE A NEW PHLO window, select Build on a blank canvas, and then click CREATE PHLO. 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. From the list of components, on the left hand side, drag and drop the Record Audio component onto the canvas. This will add a Record Audio node onto the canvas.
  5. Connect the Start node with the Record Audio node, using the Incoming Call trigger state.
  6. Click the Start node to open the Configurations tab, and then configure the from and to custom variables.
    Note: To keep the PHLO dynamic, make sure you do not enter any value for the from and to variables.
  7. Click Validate to save the configurations for the node.
  8. Next, click the Record Audio node to open the Configuration tab.
  9. In the Speech text field, enter the text you’d want to play to the callers.
  10. Rename the node to Voicemail Message.
    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.
  11. Click Validate to save the configurations for the node.
  12. Next, create a node for the Send SMS Component, and rename it to Send_Recording_URL.
  13. Configure the Send SMS node to select the From and To numbers from the Start node.
  14. On the Send_Recording_URL Configurations tab, enter the message in the Message field.
    Note:
    • The SMS message can be static or dynamic. In this example, we will use a combination of a static message along with some dynamic message.
    • Enter two curly brackets to view all available variables.
      <img src=”/static/assets/images/phlo/voicemail/send_recordingurl_config.gif class=”img-responsive”>
  15. Click Validate to save the configurations for the node.
  16. 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 calls

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 make a call 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.