- Newest
- Most votes
- Most comments
Hey FinHead,
Sorry your having some difficulty with using message templates. I created a small test to see if I could get some steps for you to follow that may help you troubleshoot.
Before following, verify your email is verified and the email channel is enabled. Navigate to the Pinpoint Console > Project > Settings > Email to verify this information. Your account shouldn't need to be out of sandbox if your just sending these test messages - but you can see if your exceeding your sandbox limits on the Pinpoint Console > Project Overview page.
Here's some simple steps to get off the ground and see the feature work:
- Navigate to the consoles Create Segment section and download the sample .csv
- Modify one of the rows for EMAIL channel by adding your email address ( note the value in Attributes.FavoriteBaseballTeam for that column this will surface in your message later). Delete the other rows so you just have the one with your EMAIL. Save the csv
- Back at the Console attach the csv and name the segment. Click Create.
- Navigate to the Pinpoint Console > Messages Templates. Create a template for the email channel with the following content: subject: "Forum Test", body: "Your favorite team is {{Attributes.FavoriteBaseballTeam}}" and save it.
- Go back to the Pinpoint project where you uploaded the segment and navigate to the Campaigns feature in the left menu. Create a campaign for the email channel, choose the same created segment in step 3 above, then the same created template in step 4 above, and for schedule choose IMMEDIATE.
Hopefully the above will give you insight into how the feature works and help you troubleshoot. If you are still running into issues please share your step by step and I will help debug further.
Hey awsomeaustin,
Thank you for the reply, it was very helpful!! I walked through your quick test and got it working.
I went back to look through my other attempts
- I was able to fill simple email templates using segments derived from loaded csv files, and also from a file stored in an S3 bucket!
- "Pinpoint >> "Test Messaging" email tests will never fill in message variables?
- New Campaign, Template preview, "send a test message" email tests will never fill in message variables?
- I had a complex html email and now noticed that I had one message variable that was misspelled and this was causing my email to not be sent? Once I fixed the misspelling, the email was sent!
If test messages don't have access to message variables, I didn't notice this mentioned in the help, tutorials, or docs?
Thank you for your help!
Edited by: FinHead on Apr 17, 2020 7:13 AM
Relevant content
- asked 7 months ago
- asked 5 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- How do I set up logging for Amazon Pinpoint voice messages for Amazon Pinpoint SMS and Voice v1 API?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago