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

Amazon Pinpoint Import

Import email, push, or mobile activity from Amazon Pinpoint to add behavior data to your user profiles in Lytics.

Integration Details

Importing Pinpoint activity into Lytics requires setting up an export of Pinpoint Events to Kinesis. See Amazon's documentation for more information, and follow these instructions to set it up via the Pinpoint UI.

This integration uses the Amazon Kinesis Data Streams Service APIs to get Pinpoint activity records from the Kinesis stream in near real-time. You can then start the Pinpoint import workflow in Lytics.

  1. Once the import is started, the Pinpoint events will be continuously read off the Kinesis stream into Lytics in near real-time. Data is pulled from Kinesis via the GetRcords endpoint.
  2. The activity data will be ingested into the Lytics data stream pinpoint_activity.

Fields

The following fields are included in the default mapping of the pinpoint_activity stream:

Source FieldLytics User FieldDescriptionType
endpoint.Idemail unique idstring
last_active_tsLast Active on Any Channeldate
event_typepinpoint_clickctPinpoint Click Countint
pinpoint_firstclick_tsPinpoint First Clickdate
pinpoint_hourly_openPinpoint Hourly event_typesmap[string]intsum
pinpoint_hourofweekPinpoint Hour of Week event_typesmap[string]intsum
pinpoint_last_open_tsPinpoint Last Opendate
pinpoint_lastclick_tsPinpoint Last Clickdate
pinpoint_monthlyPinpoint Opens By Monthmap[string]intsum
event_typepinpoint_openctPinpoint Open Countint
event_typepinpoint_sendctPinpoint Send Countint
endpoint.Statuspinpoint_statusPinpoint Endpoint Statusstring

Configuration

Follow these steps to set up and configure an import of Pinpoint activity in the Lytics platform.

  1. From Data > Integrations, select the Amazon AWS Services tile. aws
  2. Click on New workflow button.
  3. Select Pinpoint Import workflow.
  4. From the Region input, enter the AWS region that the Kinesis stream resides in (e.g. us-east-2).
  5. From the Kinesis Stream input, enter the AWS Kinesis stream that is connected to the Pinpoint activity.
  6. Click Start Import. pinpoint activity import

If activity data is avaiable in the Kinesis Pinpoint stream, the data will appear in Lytics within a few minutes.