This guide shows you how to forward a message received on a Plivo phone number using PHLO.
- Create a PHLO to forward incoming SMS using the Send SMS node:
- Rename the node to Forward_SMS. You can rename nodes to meet your requirements and to help you identify the different nodes and their places in the process.
- Next, configure the node's From and To numbers. There are two ways of setting up the From field:
- {{Start.message.from}} (dynamic)
- A valid number (static)
Note: When you set the From field as {{Start.message.from}}, this attribute takes the actual source from the message that was received on the Plivo number. However, if the source is a shortcode that's not rented in your account, forwarding the SMS to your handset will fail. If you want to receive a message on the handset from a short code, that shortcode must be rented to your Plivo account.
- The Message field can be static or dynamic. In this example, we use the dynamic approach.
- Click Validate to save the configuration for the node.
- After you complete the configuration, click Save. You can attach the PHLO to any SMS-enabled Plivo number to test it out.
Note: Using a Plivo number in the From field is recommended for this use case irrespective of the source number.