docs
  1. SCAYLE Resource Center
  2. Emarsys Add-On
  3. Manage events

Manage events

The Emarsys Add-on features two event types:

  • Preconfigured events: ready-to-use events for standard integration use cases.
  • Custom events: freely configurable events for all kinds of customer engagement use cases.

Preconfigured events

Preconfigured events are based on the SCAYLE webhook system. If a webhook is received the Add-on proxies this event to Emarsys to create or update a contact or an external Emarsys event. When you click on More, some of the events allow for adjustments of the field mappings between SCAYLE and Emarsys. Here you can find a list of preconfigured events:

EventDescription
Sign-up EventCreate customer after sign-up in SCAYLE as contacts in Emarsys
Customer Deletion EventAutomatically delete customers in Emarsys, when they are deleted or anonymized in SCAYLE
Login-in EventCreates an external event in Emarsys, if a customer logs via the Checkout frontend
Purchase EventCreates an external event in Emarsys, if customer order is confirmed in SCAYLE

Custom events

Custom events can be used to add contacts to an automated program or trigger mobile or email campaigns in Emarsys. All custom events configured in the Add-on create corresponding external Emarsys events. The trigger for a custom event can be a supported SCAYLE webhook or a POST request sent to the Add-on's custom events endpoint.
The JSON structure for a custom event send the to Add-on's endpoint can be freely defined in the Add-on UI.

Configure a custom event

  1. Go to Add-Ons > Emarsys Add-On > Events.
  2. Click on New Custom Event
  3. Enter a Name for the custom event
  4. Optionally: Enter a Description
  5. Select SCAYLE Event for the Event Type
  6. Choose a supported webhook from the dropdown as event trigger
  7. Select the option Generic for the Event Id
  8. Enter the Emarsys External Event ID
  9. Click SAVE.\

Create Custom Event

External events in Emarsys need to be send with an event Id. If you want to set up different automation flows for different shop countries, the Add-on provides the option to create a shop specific mapping between country shops and external Emarsys event Ids.