SlideShare a Scribd company logo
1 of 40
Download to read offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
U s e r E n g a g e m e n t , M e s s a g i n g , a n d A n a l y t i c s U s i n g
A m a z o n P i n p o i n t f r o m A t o Z
R y a n I d r o g o , A W S
H e n r i k J o h n s o n , A W S
M B L 3 0 9
N o v e m b e r 2 8 , 2 0 1 7
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Engagement Concepts Integration for All Levels
ENGAGEMENT FROM A TO Z
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Targeting Channels Delivery at Scale SDKs & Beyond
Users & Endpoints Behavior & Events Attributes & Metrics
ENGAGEMENT CONCEPTS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Segmentation Analytics Custom Engagement
Transactional Scheduling Import
INTEGRATION FOR ALL LEVELS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Pinpoint Concepts
W h a t i s e n g a g e m e n t ?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DEVICES, ENDPOINTS & USERS (OH MY)
Devices
Mobile world focuses on customers engaging via devices.
Pinpoint is no longer just for the mobile world.
Endpoints
Endpoint is your customers’ engagement point with your app.
App (iOS, Android), Email, SMS, etc…
Users
Ultimately don’t care about endpoints
Users can have many endpoints
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BEHAVIOR & EVENTS
Tracking Users
MAU, DAU, New Users
Retention
Revenue
Custom Analytics
Custom activity
Funnels
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ATTRIBUTES & METRICS
Powering analytics at any level
Event Attributes – Used for aggregation in behavior
Endpoint Attributes – Provides segmentation features
User Attributes – Cross endpoint aggregation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TARGETING CHANNELS
Users don’t just interact with your applications via a smart phone.
More and more ways for users to interact with your product
Cross platform engagement
Mobile Push
Email
Text Message
Custom
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DELIVERY AND RELIABILITY AT SCALE
Millions of users, more endpoints
Delivering to millions of endpoints isn’t just a matter of hitting a push provider
Pinpoint designed to bring cloud scale to any application
The DDoS effect of scale
Scheduled delivery creates coordination effect
Applications have to interact with app back-ends
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SDKs & BEYOND
SDKs provided across platforms and languages
Simple setup and auto instrumentation
Custom protocols and behaviors
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Integration for all levels
Bring your own users
Operate at Amazon scale
Automated campaign management
Custom integration points
P i n p o i n t a l a c a r t e
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SETUP
AWS CLI/Python Boto
Installation
Credentials
Application (Project)
Mobile Hub
API/CLI
Channels
Email
SMS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#### Install pip https://pip.pypa.io/en/stable/installing/ ####
pip install awscli --upgrade --user
##### ~/.aws/credentials START #####
[default]
aws_access_key_id = ********************
aws_secret_access_key = ****************************************
#################### APP CREATION ####################
APP_OUT=$(aws pinpoint create-app --name reInventDemo)
APP_ID=$(echo $APP_OUT | jq -r .ApplicationResponse.Id)
################### CHANNEL SETUP ####################
aws pinpoint update-sms-channel --application-id $APP_ID --sms-channel-request Enabled=true
SETUP: AWS CLI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SETUP: APP CREATION SETUP (Mobile Hub)
AWS
Mobile Hub
Unified resource
creation
SDK Generation
Serverless
backends
App Samples
and Starters
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TRANSACTIONAL DELIVERY
Direct Sending
Endpoint Sending
User Sending
Templating
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws pinpoint send-messages --application-id $APP_ID --message-request "{
"Addresses": {
"$RYANS_PHONE_NUMBER": {
"ChannelType": "SMS”
},
"$HENRIKS_PHONE_NUMBER": {
"ChannelType": ”SMS”
}
},
"MessageConfiguration": {
"SMSMessage": {
"Body": "Message goes here”
}
}
}”
TRANSACTIONAL DELIVERY: ADDRESS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws pinpoint update-endpoint --application-id $APP_ID --endpoint-id ryan-sms --endpoint-request “{
"Address": ”$RYANS_PHONE_NUMBER ",
"ChannelType": "SMS",
"User": { "UserId": ”reinvent-demo” },
"Attributes":{ "first_name": ["ryan"] }
}“
aws pinpoint send-messages --application-id $APP_ID --message-request "{
"Endpoints": {
"ryan-sms": {
"ChannelType": "SMS”
}
},
"MessageConfiguration": {
"SMSMessage": {
"Body": "Message to endpoints goes here”
}
}
}"
TRANSACTIONAL DELIVERY: ENDPOINT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws pinpoint update-endpoint --application-id $APP_ID --endpoint-id henrik-sms --endpoint-request “{
"Address": ”$HENRIKS_PHONE_NUMBER",
"ChannelType": ”SMS",
"User": { "UserId": ”reinvent-demo” }
}“
aws pinpoint send-users-messages --application-id $APP_ID --message-request "{
"Users": {
”reinvent-demo": {
}
},
"MessageConfiguration": {
"SMSMessage": {
"Body": "Message to multiple endpoints of the same user”
}
}
}"
TRANSACTIONAL DELIVERY: USER
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Import Dynamic Segments
SEGMENTATION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
### JSON Format
{"ChannelType":“SMS","Address":”$RYANS_PHONE_NUMBER",”Attributes":{”source":”presentation"}}
{"ChannelType":“EMAIL","Address":”$RYANS_EMAIL_ADDRESS","Attributes":{”source”:”user_input"}}
### CSV Format
ChannelType,Address,Attributes.source
SMS,$RYANS_PHONE_NUMBER,presentation
EMAIL,$RYANS_EMAIL_ADDRESS,user_input
SEGMENTATION: IMPORT
createImportJob
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws s3 cp endpoints.csv s3://ril-reinvent-bucket/endpoints.csv
aws pinpoint create-import-job --application-id $APP_ID --import-job-request “{
"Format": "CSV",
"RoleArn": "string",
"S3Url": ”s3://ril-reinvent-bucket/endpoints.csv",
"RegisterEndpoints": true,
"SegmentId": "string",
"SegmentName": "string”
"DefineSegment": true
}
SEGMENTATION: IMPORT
createImportJob
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SEGMENTATION: DEMOGRAPHICS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SEGMENTATION: DYNAMIC SEGMENTS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SCHEDULING
Immediate
Once
Recurring
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SCHEDULING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DELIVERY MODES
Limits
Slow Send
Local (Quiet) Time
A/B Testing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws pinpoint create-campaign --application-id $APP_ID --write-campaign-request "{
"Name": ”reinvent live campaign",
"MessageConfiguration": {
”SMSMessage": {
"Body": ”Campaign message to {{Attributes.first_name}}",
}
},
"Limits": {
"Total": 7,
”Daily”: 1,
"MessagesPerSecond”: 100000
},
"SegmentId": "$SEGMENT_ID",
"Schedule": {
"Frequency": "HOURLY",
"StartTime": "2017-08-21T21:16:00.000Z",
"IsLocalTime": true,
"EndTime": "2017-08-30T00:15:00.000Z”,
"QuietTime": { "Start": ”18:00”, "End": ”06:00” }
}
}"
DELIVERY MODES
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DELIVERY MODES: A/B TESTING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Content Schedule
DELIVERY MODES: A/B TESTING
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ANALYTICS
App Analytics
Monetization Events
Custom Analytics
Delivery Receipts
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ANALYTICS: APP ANALYTICS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ANALYTICS: FUNNELS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CUSTOM INTEGRATION
Lambda Filters and Destinations
Kinesis/Firehose Event Streams
Firehose Event Stream
Kinesis Event Stream
Lambda Delivery
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
'use strict';
exports.handler = (event, context, callback) => {
console.log("Received event:", JSON.stringify(event, null, 2));
for (var key in event.Endpoints) {
if (event.Endpoints.hasOwnProperty(key)) {
var endpoint = event.Endpoints[key];
var attr = endpoint.Attributes;
if (!attr) {
attr = {};
endpoint.Attributes = attr;
}
attr["CreditScore"] = [ Math.floor(Math.random() * 200) + 650];
}
}
callback(null, event.Endpoints);
};
EXAMPLE PINPOINT EXTENSION LAMBDA
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
aws lambda add-permission 
--function-name “TestFilter" 
--statement-id sid 
--action lambda:InvokeFunction 
--principal “pinpoint.us-east-1.amazonaws.com" 
--source-arn "arn:aws:mobiletargeting:us-east-1:$AWS_ACCOUNT_ID:/*”
aws pinpoint update-application-settings --application-id $APPLICATION_ID --write-application-settings '{
"CampaignHook": {
"Mode":"FILTER",
"LambdaFunctionName":“TestFilter“
}
}'
CONFIGURING PINPOINT EXTENSION
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TAKING ACTION ON REAL-TIME DATA
Your App
PINPOINT
Kinesis
Trigger a Push Notification to
interested users using Pinpoint APIs
and user attributes
Get the number of
tickets sold from the
events stream
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SDKs
Cross Platform
Endpoint Registration
Standard Events
ABD 214
Real-time User Insights for Mobile and Web
Applications with Amazon Pinpoint
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SDKs: MOBILE HUB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU!

More Related Content

What's hot

MCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWSMCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWSAmazon Web Services
 
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdfDEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdfAmazon Web Services
 
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...Amazon Web Services
 
ARC325_Managing Multiple AWS Accounts at Scale
ARC325_Managing Multiple AWS Accounts at ScaleARC325_Managing Multiple AWS Accounts at Scale
ARC325_Managing Multiple AWS Accounts at ScaleAmazon Web Services
 
SID302_Force Multiply Your Security Team with Automation and Alexa
SID302_Force Multiply Your Security Team with Automation and AlexaSID302_Force Multiply Your Security Team with Automation and Alexa
SID302_Force Multiply Your Security Team with Automation and AlexaAmazon Web Services
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Amazon Web Services
 
SRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the EdgeSRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the EdgeAmazon Web Services
 
Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017
Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017
Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017Amazon Web Services
 
MBL201_Progressive Web Apps in the Real World
MBL201_Progressive Web Apps in the Real WorldMBL201_Progressive Web Apps in the Real World
MBL201_Progressive Web Apps in the Real WorldAmazon Web Services
 
MSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloadsMSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloadsAmazon Web Services
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityAmazon Web Services
 
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWSGPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWSAmazon Web Services
 
DEV207_Deploying and Managing Ruby Applications on AWS
DEV207_Deploying and Managing Ruby Applications on AWSDEV207_Deploying and Managing Ruby Applications on AWS
DEV207_Deploying and Managing Ruby Applications on AWSAmazon Web Services
 
MCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfMCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfAmazon Web Services
 
What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017Amazon Web Services
 
Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...Amazon Web Services
 
CON317_Advanced container management at catsndogs.lol
CON317_Advanced container management at catsndogs.lolCON317_Advanced container management at catsndogs.lol
CON317_Advanced container management at catsndogs.lolAmazon Web Services
 
CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksAmazon Web Services
 
DEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to MicroservicesDEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to MicroservicesAmazon Web Services
 
MBL306_Mobile State of the Union
MBL306_Mobile State of the UnionMBL306_Mobile State of the Union
MBL306_Mobile State of the UnionAmazon Web Services
 

What's hot (20)

MCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWSMCL302_Maximizing the Customer Experience with AI on AWS
MCL302_Maximizing the Customer Experience with AI on AWS
 
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdfDEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
 
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
 
ARC325_Managing Multiple AWS Accounts at Scale
ARC325_Managing Multiple AWS Accounts at ScaleARC325_Managing Multiple AWS Accounts at Scale
ARC325_Managing Multiple AWS Accounts at Scale
 
SID302_Force Multiply Your Security Team with Automation and Alexa
SID302_Force Multiply Your Security Team with Automation and AlexaSID302_Force Multiply Your Security Team with Automation and Alexa
SID302_Force Multiply Your Security Team with Automation and Alexa
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
 
SRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the EdgeSRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the Edge
 
Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017
Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017
Interstella 8888: Advanced Microservice Operations - CON407 - re:Invent 2017
 
MBL201_Progressive Web Apps in the Real World
MBL201_Progressive Web Apps in the Real WorldMBL201_Progressive Web Apps in the Real World
MBL201_Progressive Web Apps in the Real World
 
MSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloadsMSC204_Leverage AWS Marketplace to accelerate production ready workloads
MSC204_Leverage AWS Marketplace to accelerate production ready workloads
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
 
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWSGPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
GPSWKS406-Migrating a Microsoft ASP.NET Application to AWS
 
DEV207_Deploying and Managing Ruby Applications on AWS
DEV207_Deploying and Managing Ruby Applications on AWSDEV207_Deploying and Managing Ruby Applications on AWS
DEV207_Deploying and Managing Ruby Applications on AWS
 
MCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdfMCL306_Making IoT Smarter with AWS Rekognition.pdf
MCL306_Making IoT Smarter with AWS Rekognition.pdf
 
What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017
 
Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...Podcasting on AWS – A Discussion on Everything from Production to Distributio...
Podcasting on AWS – A Discussion on Everything from Production to Distributio...
 
CON317_Advanced container management at catsndogs.lol
CON317_Advanced container management at catsndogs.lolCON317_Advanced container management at catsndogs.lol
CON317_Advanced container management at catsndogs.lol
 
CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash Talks
 
DEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to MicroservicesDEV329_Cisco’s Journey from Monolith to Microservices
DEV329_Cisco’s Journey from Monolith to Microservices
 
MBL306_Mobile State of the Union
MBL306_Mobile State of the UnionMBL306_Mobile State of the Union
MBL306_Mobile State of the Union
 

Similar to MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A to Z

AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAmazon Web Services
 
Containers on AWS - State of the Union - CON201 - re:Invent 2017
Containers on AWS - State of the Union - CON201 - re:Invent 2017Containers on AWS - State of the Union - CON201 - re:Invent 2017
Containers on AWS - State of the Union - CON201 - re:Invent 2017Amazon Web Services
 
Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...
Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...
Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...Amazon Web Services
 
Invite your prospects with an engaging email campaign
Invite your prospects with an engaging email campaignInvite your prospects with an engaging email campaign
Invite your prospects with an engaging email campaignAmazon Web Services
 
Invite Your Prospects With an Engaging Email Campaign
Invite Your Prospects With an Engaging Email CampaignInvite Your Prospects With an Engaging Email Campaign
Invite Your Prospects With an Engaging Email CampaignAmazon Web Services
 
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoTIOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoTAmazon Web Services
 
DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...
DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...
DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...New Relic
 
Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...
Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...
Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...Amazon Web Services
 
NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...
NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...
NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...Amazon Web Services
 
Driving effective Digital User Engagement using Analytics, Push Notifications...
Driving effective Digital User Engagement using Analytics, Push Notifications...Driving effective Digital User Engagement using Analytics, Push Notifications...
Driving effective Digital User Engagement using Analytics, Push Notifications...Amazon Web Services
 
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeGPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeAmazon Web Services
 
ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...
ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...
ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...Amazon Web Services
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Amazon Web Services
 
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...Amazon Web Services
 
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...Amazon Web Services
 
在遊戲上應用AI (包括現場展示)
在遊戲上應用AI (包括現場展示)在遊戲上應用AI (包括現場展示)
在遊戲上應用AI (包括現場展示)Amazon Web Services
 
GPSBUS212-Migration Tools – A Puzzle or Lego Blocks
GPSBUS212-Migration Tools – A Puzzle or Lego BlocksGPSBUS212-Migration Tools – A Puzzle or Lego Blocks
GPSBUS212-Migration Tools – A Puzzle or Lego BlocksAmazon Web Services
 
NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017
NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017
NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017Amazon Web Services
 
MCL306_Making IoT Smarter with AWS Rekognition
MCL306_Making IoT Smarter with AWS RekognitionMCL306_Making IoT Smarter with AWS Rekognition
MCL306_Making IoT Smarter with AWS RekognitionAmazon Web Services
 
ENT212-An Overview of Best Practices for Large-Scale Migrations
ENT212-An Overview of Best Practices for Large-Scale MigrationsENT212-An Overview of Best Practices for Large-Scale Migrations
ENT212-An Overview of Best Practices for Large-Scale MigrationsAmazon Web Services
 

Similar to MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A to Z (20)

AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
 
Containers on AWS - State of the Union - CON201 - re:Invent 2017
Containers on AWS - State of the Union - CON201 - re:Invent 2017Containers on AWS - State of the Union - CON201 - re:Invent 2017
Containers on AWS - State of the Union - CON201 - re:Invent 2017
 
Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...
Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...
Easy Demographics and Campaign Management in a Mobile World Using Amazon Pinp...
 
Invite your prospects with an engaging email campaign
Invite your prospects with an engaging email campaignInvite your prospects with an engaging email campaign
Invite your prospects with an engaging email campaign
 
Invite Your Prospects With an Engaging Email Campaign
Invite Your Prospects With an Engaging Email CampaignInvite Your Prospects With an Engaging Email Campaign
Invite Your Prospects With an Engaging Email Campaign
 
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoTIOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
IOT308-One Message to a Million Things Done in 60 seconds with AWS IoT
 
DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...
DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...
DEV209 A Field Guide to Monitoring in the Cloud: From Lift and Shift to AWS L...
 
Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...
Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...
Tracking and Optimizing Ad Monetization for Your Mobile App - MBL307 - re:Inv...
 
NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...
NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...
NEW LAUNCH! AWS PrivateLink: Bringing SaaS Solutions into Your VPCs and Your ...
 
Driving effective Digital User Engagement using Analytics, Push Notifications...
Driving effective Digital User Engagement using Analytics, Push Notifications...Driving effective Digital User Engagement using Analytics, Push Notifications...
Driving effective Digital User Engagement using Analytics, Push Notifications...
 
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeGPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
 
ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...
ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...
ABD214_Real-time User Insights for Mobile and Web Applications with Amazon Pi...
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
 
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
Bringing the Superpower of Bots to Your Company with a Serverless Bot Solutio...
 
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless...
 
在遊戲上應用AI (包括現場展示)
在遊戲上應用AI (包括現場展示)在遊戲上應用AI (包括現場展示)
在遊戲上應用AI (包括現場展示)
 
GPSBUS212-Migration Tools – A Puzzle or Lego Blocks
GPSBUS212-Migration Tools – A Puzzle or Lego BlocksGPSBUS212-Migration Tools – A Puzzle or Lego Blocks
GPSBUS212-Migration Tools – A Puzzle or Lego Blocks
 
NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017
NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017
NEW LAUNCH! AWS IoT Device Management - IOT330 - re:Invent 2017
 
MCL306_Making IoT Smarter with AWS Rekognition
MCL306_Making IoT Smarter with AWS RekognitionMCL306_Making IoT Smarter with AWS Rekognition
MCL306_Making IoT Smarter with AWS Rekognition
 
ENT212-An Overview of Best Practices for Large-Scale Migrations
ENT212-An Overview of Best Practices for Large-Scale MigrationsENT212-An Overview of Best Practices for Large-Scale Migrations
ENT212-An Overview of Best Practices for Large-Scale Migrations
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

MBL309_User Engagement, Messaging, and Analytics Using Amazon Pinpoint from A to Z

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT U s e r E n g a g e m e n t , M e s s a g i n g , a n d A n a l y t i c s U s i n g A m a z o n P i n p o i n t f r o m A t o Z R y a n I d r o g o , A W S H e n r i k J o h n s o n , A W S M B L 3 0 9 N o v e m b e r 2 8 , 2 0 1 7
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Engagement Concepts Integration for All Levels ENGAGEMENT FROM A TO Z
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Targeting Channels Delivery at Scale SDKs & Beyond Users & Endpoints Behavior & Events Attributes & Metrics ENGAGEMENT CONCEPTS
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Segmentation Analytics Custom Engagement Transactional Scheduling Import INTEGRATION FOR ALL LEVELS
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Pinpoint Concepts W h a t i s e n g a g e m e n t ?
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DEVICES, ENDPOINTS & USERS (OH MY) Devices Mobile world focuses on customers engaging via devices. Pinpoint is no longer just for the mobile world. Endpoints Endpoint is your customers’ engagement point with your app. App (iOS, Android), Email, SMS, etc… Users Ultimately don’t care about endpoints Users can have many endpoints
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BEHAVIOR & EVENTS Tracking Users MAU, DAU, New Users Retention Revenue Custom Analytics Custom activity Funnels
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ATTRIBUTES & METRICS Powering analytics at any level Event Attributes – Used for aggregation in behavior Endpoint Attributes – Provides segmentation features User Attributes – Cross endpoint aggregation
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TARGETING CHANNELS Users don’t just interact with your applications via a smart phone. More and more ways for users to interact with your product Cross platform engagement Mobile Push Email Text Message Custom
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DELIVERY AND RELIABILITY AT SCALE Millions of users, more endpoints Delivering to millions of endpoints isn’t just a matter of hitting a push provider Pinpoint designed to bring cloud scale to any application The DDoS effect of scale Scheduled delivery creates coordination effect Applications have to interact with app back-ends
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SDKs & BEYOND SDKs provided across platforms and languages Simple setup and auto instrumentation Custom protocols and behaviors
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Integration for all levels Bring your own users Operate at Amazon scale Automated campaign management Custom integration points P i n p o i n t a l a c a r t e
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SETUP AWS CLI/Python Boto Installation Credentials Application (Project) Mobile Hub API/CLI Channels Email SMS
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #### Install pip https://pip.pypa.io/en/stable/installing/ #### pip install awscli --upgrade --user ##### ~/.aws/credentials START ##### [default] aws_access_key_id = ******************** aws_secret_access_key = **************************************** #################### APP CREATION #################### APP_OUT=$(aws pinpoint create-app --name reInventDemo) APP_ID=$(echo $APP_OUT | jq -r .ApplicationResponse.Id) ################### CHANNEL SETUP #################### aws pinpoint update-sms-channel --application-id $APP_ID --sms-channel-request Enabled=true SETUP: AWS CLI
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SETUP: APP CREATION SETUP (Mobile Hub) AWS Mobile Hub Unified resource creation SDK Generation Serverless backends App Samples and Starters
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TRANSACTIONAL DELIVERY Direct Sending Endpoint Sending User Sending Templating
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws pinpoint send-messages --application-id $APP_ID --message-request "{ "Addresses": { "$RYANS_PHONE_NUMBER": { "ChannelType": "SMS” }, "$HENRIKS_PHONE_NUMBER": { "ChannelType": ”SMS” } }, "MessageConfiguration": { "SMSMessage": { "Body": "Message goes here” } } }” TRANSACTIONAL DELIVERY: ADDRESS
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws pinpoint update-endpoint --application-id $APP_ID --endpoint-id ryan-sms --endpoint-request “{ "Address": ”$RYANS_PHONE_NUMBER ", "ChannelType": "SMS", "User": { "UserId": ”reinvent-demo” }, "Attributes":{ "first_name": ["ryan"] } }“ aws pinpoint send-messages --application-id $APP_ID --message-request "{ "Endpoints": { "ryan-sms": { "ChannelType": "SMS” } }, "MessageConfiguration": { "SMSMessage": { "Body": "Message to endpoints goes here” } } }" TRANSACTIONAL DELIVERY: ENDPOINT
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws pinpoint update-endpoint --application-id $APP_ID --endpoint-id henrik-sms --endpoint-request “{ "Address": ”$HENRIKS_PHONE_NUMBER", "ChannelType": ”SMS", "User": { "UserId": ”reinvent-demo” } }“ aws pinpoint send-users-messages --application-id $APP_ID --message-request "{ "Users": { ”reinvent-demo": { } }, "MessageConfiguration": { "SMSMessage": { "Body": "Message to multiple endpoints of the same user” } } }" TRANSACTIONAL DELIVERY: USER
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Import Dynamic Segments SEGMENTATION
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ### JSON Format {"ChannelType":“SMS","Address":”$RYANS_PHONE_NUMBER",”Attributes":{”source":”presentation"}} {"ChannelType":“EMAIL","Address":”$RYANS_EMAIL_ADDRESS","Attributes":{”source”:”user_input"}} ### CSV Format ChannelType,Address,Attributes.source SMS,$RYANS_PHONE_NUMBER,presentation EMAIL,$RYANS_EMAIL_ADDRESS,user_input SEGMENTATION: IMPORT createImportJob
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws s3 cp endpoints.csv s3://ril-reinvent-bucket/endpoints.csv aws pinpoint create-import-job --application-id $APP_ID --import-job-request “{ "Format": "CSV", "RoleArn": "string", "S3Url": ”s3://ril-reinvent-bucket/endpoints.csv", "RegisterEndpoints": true, "SegmentId": "string", "SegmentName": "string” "DefineSegment": true } SEGMENTATION: IMPORT createImportJob
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SEGMENTATION: DEMOGRAPHICS
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SEGMENTATION: DYNAMIC SEGMENTS
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SCHEDULING Immediate Once Recurring
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SCHEDULING
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DELIVERY MODES Limits Slow Send Local (Quiet) Time A/B Testing
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws pinpoint create-campaign --application-id $APP_ID --write-campaign-request "{ "Name": ”reinvent live campaign", "MessageConfiguration": { ”SMSMessage": { "Body": ”Campaign message to {{Attributes.first_name}}", } }, "Limits": { "Total": 7, ”Daily”: 1, "MessagesPerSecond”: 100000 }, "SegmentId": "$SEGMENT_ID", "Schedule": { "Frequency": "HOURLY", "StartTime": "2017-08-21T21:16:00.000Z", "IsLocalTime": true, "EndTime": "2017-08-30T00:15:00.000Z”, "QuietTime": { "Start": ”18:00”, "End": ”06:00” } } }" DELIVERY MODES
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DELIVERY MODES: A/B TESTING
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Content Schedule DELIVERY MODES: A/B TESTING
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ANALYTICS App Analytics Monetization Events Custom Analytics Delivery Receipts
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ANALYTICS: APP ANALYTICS
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ANALYTICS: FUNNELS
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CUSTOM INTEGRATION Lambda Filters and Destinations Kinesis/Firehose Event Streams Firehose Event Stream Kinesis Event Stream Lambda Delivery
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 'use strict'; exports.handler = (event, context, callback) => { console.log("Received event:", JSON.stringify(event, null, 2)); for (var key in event.Endpoints) { if (event.Endpoints.hasOwnProperty(key)) { var endpoint = event.Endpoints[key]; var attr = endpoint.Attributes; if (!attr) { attr = {}; endpoint.Attributes = attr; } attr["CreditScore"] = [ Math.floor(Math.random() * 200) + 650]; } } callback(null, event.Endpoints); }; EXAMPLE PINPOINT EXTENSION LAMBDA
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. aws lambda add-permission --function-name “TestFilter" --statement-id sid --action lambda:InvokeFunction --principal “pinpoint.us-east-1.amazonaws.com" --source-arn "arn:aws:mobiletargeting:us-east-1:$AWS_ACCOUNT_ID:/*” aws pinpoint update-application-settings --application-id $APPLICATION_ID --write-application-settings '{ "CampaignHook": { "Mode":"FILTER", "LambdaFunctionName":“TestFilter“ } }' CONFIGURING PINPOINT EXTENSION
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. TAKING ACTION ON REAL-TIME DATA Your App PINPOINT Kinesis Trigger a Push Notification to interested users using Pinpoint APIs and user attributes Get the number of tickets sold from the events stream
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SDKs Cross Platform Endpoint Registration Standard Events ABD 214 Real-time User Insights for Mobile and Web Applications with Amazon Pinpoint
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SDKs: MOBILE HUB
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU!