How recommendations work in Amazon Pinpoint
In a typical workflow, your team performs a series of activities to create and use a recommender model with Amazon Pinpoint. In general, those activities are:
-
In Amazon Personalize, create a solution for the model and deploy it as an Amazon Personalize campaign. Then train, evaluate, and update the model in a continuous cycle to refine the predictions and recommendations that it makes.
-
Configure Amazon Pinpoint to connect to the Amazon Personalize campaign. Use the configuration settings for the connection to specify how you want to retrieve and process data from the Amazon Personalize campaign.
-
Create one or more email, push notification, or SMS message templates. Design those templates to include message variables that refer to recommended attributes. A message variable is a placeholder that refers to a specific attribute. A recommended attribute is an attribute that temporarily stores data that Amazon Pinpoint retrieves from an Amazon Personalize campaign.
-
Create one or more Amazon Pinpoint campaigns that use the message templates. Or, if you created email templates in the preceding activity, create one or more journey activities that use those templates.
After your team performs these activities, Amazon Pinpoint does the following each time it sends a message that includes recommendations from the model:
-
Evaluates the settings and contents of the message and message template.
-
Determines that you connected the message template to a recommender model.
-
Checks the configuration settings that you entered for using the recommender model.
-
Finds one or more message variables for recommended attributes that you created for the recommender model.
-
Connects to the Amazon Personalize campaign that you specified in the configuration settings for the recommender model.
-
For each message recipient:
-
Retrieves recommendations from the Amazon Personalize campaign.
-
Adds the recommendations to the recommended attributes that you created for the recommender model.
-
Replaces each message variable with the corresponding value of the recommended attribute. If you configured the model to enhance recommendations by using an AWS Lambda function, Amazon Pinpoint uses that function as part of this step.
-
-
Sends a version of the message that contains the personalized recommendations for each message recipient.