How to build an event-driven Journey in Pinpoint

0

Simple question: How I can trigger a Journey by an event to start with processing the endpoint?

I need help to build a Journey exactly the same process how AWS use it to resgister for this AWS:Post site. From a Journey, I have an event as a starting point. I assume, I have to point to a attribute inside the endpoint like Attributes.hastoSendVerifyMail = false for the beginning. I understand, if I modify the attributes.hastoSendVerifyMail = true, this event will start my Journey. Possible I understand this function in a wrong way. Following this does not help me to get a clear picture how to get it to work: https://docs.aws.amazon.com/pinpoint/latest/userguide/journeys-entry-activity.html

3 Answers
0

Hi, @ADiedler1979

I may not understand your request, but please point out in that case.

Normally, the journey itself is scheduled and executed.
You can control when an endpoint (such as the user to whom the message is sent) enters the target with an event.

Event-driven chapters of the document you are looking at.

You can also register a custom event from "Add participants when they perform an activity".
What kind of problem do you have?

profile picture
EXPERT
iwasa
answered 2 years ago
0

Hello, Yes, I have read about it "Add participants when they perform an activity" but there is no example or process explained to cover that in documentation. What I try is, I define an event in this block "Attributes.doiVerifed" and valuue=true. I create an Endpoint with "Attributes.doiVerifed=false". Then I fire a updateEndpoint from the AWS CLI and set the "Attributes.doiVerifed=true", nothing happens. In my segment count I can see the endpoint, but the Journey was not triggered. aws pinpoint update-endpoints-batch --application-id XXXXXC --endpoint-batch-request file://endpoint.json I also look at API documentation to update the endpoint, but same behaviour.

answered 2 years ago
0

You can react to events added to your Event Stream and then use those events to either trigger a campaign or journey, or update an Endpoint attribute based on the custom event you registered. Here is an example in our Reference Architecture library: https://github.com/aws-samples/communication-developer-services-reference-architectures/blob/4218c0d043cad3a0c2310f1c9a79a4221d545afb/cloudformation/Event_Based_Segmentation.yaml#L135

You need to enable the Pinpoint Events for your project to react to those events: https://docs.aws.amazon.com/pinpoint/latest/developerguide/event-streams.html

AWS
bruno_g
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions