Funnel action that sends the email associated with a SendEmailGoalAction journey node when a funnel automation fires. Configured as JSON with type name sendEmail on a funnel automation, referencing the target node by its emailNodeId. When run, resolves that node id within the firing funnel and, if it is a SendEmailGoalAction, sends the email to the event's lead profile and related lead without an explicit recipient override. The list of selectable email nodes offered in the admin UI is drawn from the funnel currently being edited, found via the ManageFunnelBranchFolder page attribute on the current request.
Group: Journeys
Implements: FunnelAction, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| emailNodeId | String | Id of the SendEmailGoalAction journey node whose email is sent when this action runs. |
| emailNodesIfPossible | List<String> | |
| fields | List<Pair<ExtraField,Object>> | The editable configuration fields for this action, paired with its current value, used to render the action's edit form in the funnel automation admin UI. The emailNodeId field's options are the ids of SendEmailGoalAction nodes found on the funnel currently being edited, if any. |
| funnelActionTypeId | String | Identifier of this action's type, used to match it to its registered SendEmailFunnelActionType and to tag its JSON representation. |
Methods
getFunnelActionTypeId()
Returns: String
Identifier of this action's type, used to match it to its registered SendEmailFunnelActionType and to tag its JSON representation.
getFields()
Returns: List<Pair<ExtraField,Object>>
The editable configuration fields for this action, paired with its current value, used to render the action's edit form in the funnel automation admin UI. The emailNodeId field's options are the ids of SendEmailGoalAction nodes found on the funnel currently being edited, if any.
getEmailNodeId()
Returns: String
Id of the SendEmailGoalAction journey node whose email is sent when this action runs.