Documentation / Product / Integrations / Amazon Web Services / Amazon Pinpoint

Amazon Pinpoint: Export Audience Triggers

You can use Lytics to send messages to your customers via various AWS Pinpoint channels (Email/SMS/GCM/APNS) when they enter a Lytics audience.

Integration Details

  • Implementation Type: Server-side.
  • Implementation Technique: REST API with audience triggers.
  • Frequency: Real-time.
  • Resulting data: A notification message sent to users entering the selected Lytics audiences. The message can be populated with Lytics profile data for the user depending on the job configuration.

The job uses the Pinpoint API to send the Email, SMS, APNS and GCM messages. Before you can set up this job, you must enable the desired channel in your AWS Pinpoint project via which you would like to send a notification message. Once started, this job will proceed as follows.

  1. If backfill is enabled, construct the message with the user fields (if any) and send the notification message to each user using the configured channel.
  2. For each user entering the selected audience, construct the message with the user fields (if any) and send the notification message using the configured channel.

Fields

As mentioned above, the notification message can be configured with user fields so that it can be populated with corresponding user field values and the resulting message will be sent to the user using your chosen AWS Pinpoint channels.

Please refer to the Templating section for more information on configuring messages with the desired user fields.

Configuration

Follow these steps to set up and configure an export from Lytics to Amazon Pinpoint. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Amazon AWS Services from the list of providers.
  2. Select the Export Audiences Triggers job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. From the Audience input, select the Lytics audiences to send the notification message.
  7. (Optional) Select the Existing Users checkbox to send the message to users who are already in the selected Lytics audiences.
  8. Using the Region dropdown, select the AWS region that your Pinpoint project resides in.
  9. Using the Pinpoint Project dropdown, select the AWS Pinpoint project you would like to use.
  10. Using the Pinpoint Channel Type dropdown, select the Pinpoint channel type to send the message.
  11. From the Endpoint Address Field dropdown, select the Lytics user field that contains the address that uniquely identifies the device or email to send messages to.
  12. (Required except for SMS) In the Title field, enter the title to display above the notification message on the recipient's device. If you are sending an email notification, this would be the subject for the email.
  13. In the Body field, enter the body of the notification message/Email/SMS.pinpoint-send-msg-workflow-1
  14. Click Show Advanced Options to set additional configuration option, all of which are optional:

  15. (For Email Channel Only) In the From Email Address field, enter the verified email address to send the email message from. The default value is the FromAddress specified in Pinpoint for the email channel.

  16. (For Email Channel Only) In the Reply To Address field, enter the reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply. For multiple email addresses, please separate them using a comma.
  17. (For Apple/GCM Channel) Using the Action dropdown, select the action to occur if the recipient taps the notification message. Please refer to Pinpoint documentation on Action for more information.
  18. (For Apple/GCM Channel) In the URL field, enter the URL to open in the recipient's default mobile browser, if a recipient taps the notification message and the value of the Action property in above input is URL.
  19. (For Apple/GCM Channel) Using the Priority dropdown, select the Priority for the message you are sending.
  20. (For Apple/GCM Channel) Check the Silent Push checkbox to send the message as a silent notification message .
  21. (For Apple/GCM Channel) In the Sound field, enter the name of the sound file in your app's main bundle or the Library/Sounds folder in your app's data container. If the sound file cannot be found or you specify default for the value, the system plays the default alert sound.
  22. (For SMS Channel Only) In the Keyword field, enter the SMS program name that you provided to AWS Support when you requested your dedicated number.
  23. (For SMS Channel Only) In the Origination Number field, enter the number to send the SMS message from. The phone number or short code that you specify has to be associated with your Amazon Pinpoint account.
  24. Using the Message Type dropdown, select the SMS message type. If you plan to send time-sensitive content, specify TRANSACTIONAL. If you plan to send marketing-related content, specify PROMOTIONAL. Please refer to Pinpoint documentation on Message Type for more information.
  25. (For SMS Channel Only) In the Sender ID field, enter the Sender ID to display as the sender of the message on a recipient's device.
  26. Click Start Export.pinpoint-send-msg-workflow-2