Eventlayer / Build a flow
Send registration and ticket emails
Use Eventlayer activity to trigger messages through your email provider.
Eventlayer supplies the ticket activity. Your email provider sends the message.
1. Choose a trigger
| Message | Trigger |
|---|---|
| Confirmation | ticket.created with an attendee, or ticket.assigned |
| Follow-up | ticket.checked_in |
| Reminder | Your application’s scheduler |
Use the webhook guide to receive and verify these events.
2. Prepare the message
After a successful registration, use the attendee and ticket-page URL saved by your application to prepare an email.
const message = {
to: attendee.email,
subject: "Your event ticket is ready",
text: "View your ticket: " + ticketPageUrl,
};Send these fields through your email provider’s API. The ticket page can generate a fresh Wallet download.
3. Send once
Use a stable message key, such as ticket ID + attendee ID + message type, to avoid sending again when a webhook or job is retried.
Schedule reminders in your application. Before sending, check the current event time, ticket status and recipient. Respect their communication preferences.
See retries and recovery for failed or uncertain sends.