Sending Push SMS to Email or HTTP endpoint

Using the sms.activity event event in conjunction with the email.send action or http.client action you will be able to send SMS notification to an Email address or to a HTTP client endpoint. Your trigger will listen to the SMS receive/sent or both events and when it occurs it will send notification with the required details. To setup Push SMS to an E-Mail or to a HTTP client endpoint, do the following:

  1. On the Developer screen, click Triggers.
    The Triggers screen appears.
  2. Click on New trigger button. For more information on adding a Trigger, see Adding a trigger
  3. Enter the Name and Description(Optional)
  4. Right-click on the Start node and select sms.activity from the Event type drop-down menu
    The Add sms.activity dialog appears
  5. From the Direction drop-down select one of the following:
    1. Mobile Originated: Refers to messages originated from the mobile device.
    2. Mobile Terminated: Refers to messages received by the mobile device.
    3. Both: Refers to both Mobile Originated and Mobile Terminated

  6. (Optional) Click on the listed Connection Tags only if you want to associate the trigger to particular connections. When you select the Connection Tags only those connection with the tags selected will be monitored for SMS activity.
  7. Click Add
  8. Do one of the of the following:
    1. To send an email notification
      1. In the Action list, under Networking category, click and drag email.send trigger action to the canvas.
      2. Fill the necessary fields in the Add email.send dialog. For more information on email.send trigger action, see email.send action. Use $(event.body) to get the content of the SMS.
    2. To send notification to a HTTP client
      1. In the Action list, under Networking category, click and drag http.client trigger action to the canvas
      2. Fill the necessary fields in the Add http.client dialog. For more information on http.client trigger action, see http.client action. Use $(event.body) to get the content of the SMS.
  9. Connect the trigger event and the trigger action nodes. For more information on connecting the nodes, see Adding a trigger
  10. Connect a Success node at the end of the route. For more information on connecting the success node, see Adding a trigger
  11. Click Active window, to schedule the trigger. For more information on scheduling the trigger, see Scheduling a TriggerIf you want to start the trigger immediately then skip this step.
  12. Click Add to add the trigger.
  13. Click Start to start the trigger. For more information on staring the trigger, see Viewing a trigger