AWS Pinpoint

Samuel .O
5 min readJul 3, 2020

How to Implement an AWS pinpoint for a client to send bulk emails and SMS..

Getting Started:

Begin causation targeted messages in Amazon Pinpoint, you have got to complete many steps. For instance, you have got to feature client contact info into Amazon Pinpoint, and so produce segments that concentrate on sure customers. Next, you have got to form your messages and schedule your campaigns. Finally, when you send your campaigns, you’ll use the analytics dashboards that area unit designed into Amazon Pinpoint to examine however well the campaigns performed.

Overview

In Amazon Pinpoint, a project could be a assortment of settings, client data, segments, and campaigns. If you are unaccustomed Amazon Pinpoint, the primary step you must take is to make a project.

Note
If you have used the Amazon Pinpoint API, you will have seen references to “applications.” In Amazon Pinpoint, a project is that the same as associate degree application.

This section shows you the way to make a project. As a part of this procedure, you furthermore may verify associate degree email address. youst utilize this address to send email after you produce your email campaign later during this tutorial.

https://aws.amazon.com/pinpoint/

Steps 1:

Create a project

On the console, search for amazon pinpoint service and click on create project. Give the project a name of your choice.

Set up a project feature of your choice just as shown in the diagram below.

SMS base: by choosing sms, you are going to receive notifications via sms on any mobile device you are using. Make sure you enable the sms channel so messages can be delivered.

When doing a message test with a phone number and ensure you have the proper country code format.

Email base: you can only use this option after you have verified the email address you wish to use . Otherwise you can decide to use a domain of your choice. when finished click on save.

Steps 2:

Import data and create a segment

A phase may be a cluster of your customers that share sure attributes for example, a phase would possibly contain all of your customers who use similar version of your app, or all customers who resides in Dublin.

When you produce a campaign, you have got to decide on a phase to send the campaign to. you’ll be able to send multiple campaigns to one phase, and you’ll be able to send one campaign to multiple segments.

There area unit 2 sorts of segments that you just will produce in Amazon Pinpoint:

Dynamic segments — Segments that area unit supported attributes that you just outline. Dynamic segments will amendment over time. as an example, if you add new endpoints to Amazon Pinpoint, or if you modify or delete existing endpoints, the quantity of endpoints in this phase might increase or decrease. For a lot of data regarding dynamic segments, see Building segments.

Imported segments — Segments that area unit created outside of Amazon Pinpoint and saved in CSV or JSON format. Foreign segments area unit static — that is, they ne’er amendment. once you produce a brand new phase, you’ll be able to use associate degree foreign phase as a base phase, so refine it by adding filters. For a lot of data regarding commercialism segments, see commercialism segments.

You can download a sample data to use here;

In this project, you produce associate degree foreign phase by uploading a file from your laptop. Next, you produce a dynamic phase that’s primarily based upon the foreign phase.

Steps 3:

Create a campaign

A campaign could be a electronic messaging initiative that engages a particular audience section. A campaign sends tailored messages on the times and times that you simply specify. you’ll use the console to make a campaign that sends messages through the e-mail, push notification, or SMS channels.

Make sure you use existing segment if you already created one earlier, but if not feel free to use the create new segment option.

In this section you will create your message which you intend to deliver to thee receipient.

In this section, you produce associate email campaign. You produce a brand new campaign, select your target section, and make a responsive email message for the campaign. once you end fitting the message, you decide on the day and time once you need the message to be sent.

Sms message below;

Steps 4:

View campaign analytics

More email usage and restrictions.

End Game:

Also when doing the message test, you will be requied to input the notification system as we have indicated as email address below. We then create a new message and name the subject of the message we wish to send.

Messages can be typed using Html format as well as design format just as shown below. you will configure the script file the way you desire and then click on send message.

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8" />
</head>
<body>

This SNS service is awesome! Great work Sam.

</body>
</html>

Result;

Thank you.

Next we will be building a VPC from scratch and provisioning an EC2 instance via SSH.

--

--