Wraps the creation of an outgoing email item as a FunnelEvent so a marketing funnel can react to an email being sent. Fired by BatchEmailService once an email item's content has been generated and saved, then passed to onFunnelEvent so an EmailSendGoal, the only goal type this event can trigger, can match against it and advance a lead through the funnel.

Group: Journeys

Implements: FunnelEvent


Properties

PropertyReturnsDescription
emailItemEmailItemThe email item that was created and sent.
leadProfileProfileThe profile the email item was sent to.
relatedLeadLeadNot used by this event; an email send event has no directly related lead.
triggerBaseEmailJobThe email job that queued the email item this event reports.
triggeredGoalClass<? extends Goal>The only goal type this event can trigger, used to limit which funnels are scanned to those using EmailSendGoal.

Methods

getTriggeredGoal()

Returns: Class<? extends Goal>

The only goal type this event can trigger, used to limit which funnels are scanned to those using EmailSendGoal.

getTrigger()

Returns: BaseEmailJob

The email job that queued the email item this event reports.

getLeadProfile()

Returns: Profile

The profile the email item was sent to.

getEmailItem()

Returns: EmailItem

The email item that was created and sent.

getRelatedLead()

Returns: Lead

Not used by this event; an email send event has no directly related lead.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.