Journey goal that is achieved when the funnel sends an email whose subject matches a configured pattern, regardless of whether that email is later delivered. Used as a trigger node in a funnel: matches() checks each EmailSendFunnelEvent's subject against subjectPattern, and onEnter() links the sent email to the lead as an EDM (electronic direct mail) record so it can be tracked against the lead.
Group: Journeys
Extends: Goal
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | Short, fixed label for this goal type, used in the funnel editor and lists of journey nodes. |
| nextNodeId | String | Identifier of the journey node to transition into once a matching email is sent. |
| subjectPattern | String | Regular expression that a sent email's subject must match for this goal to trigger. Never null once configured; matchesSubject() treats a blank pattern as never matching. |
Methods
getDescription()
Returns: String
Short, fixed label for this goal type, used in the funnel editor and lists of journey nodes.
getSubjectPattern()
Returns: String
Regular expression that a sent email's subject must match for this goal to trigger. Never null once configured; matchesSubject() treats a blank pattern as never matching.
getNextNodeId()
Returns: String
Identifier of the journey node to transition into once a matching email is sent.