Use a trigger
A trigger is an event that will be fired when there is action on our side (for example : An user was created), so it is always placed first in a scenario
Example : One of my contact in database has unsubscribe from newsletter -> zap will trigger and will do the action after that in your scenario
Choice of trigger
Triggers are managed at the same event level : "Generic Mindbaz WebHook".
There are currently 5 triggers:
SUBSCRIBER_UPDATE : contact update
SUBSCRIBER_CREATE : contact creation
SUBSCRIBER_DELETE : contact delete
SUBSCRIBER_UNSUB : unsubscribe a contact
TRACKING_CLICK : clic tracking on mail link
TRACKING_OPENING : open tracking on mail
They all have the same behaviour except for the data returned
Mapping of fields
In order to test the trigger set up with real data, it is necessary to have an action corresponding to this trigger before the test in order to receive real data the first time. Example: If you test the unsubscription of a contact, there must be an unsubscription in the database
If you don't have any previous action and you want to skip the test, you will be sent sample data
Here's an exemple of returned data for subscriber part :
Use of the fields
Now you just have to define the fields to use in the rest of the scenario: