Links a funnel node's outgoing email or SMS message to the lead and funnel repository it was sent from, so that later delivery and interaction events (opens, clicks, bounces) can be traced back to the point in the journey that triggered them. Exactly one of the email item or SMS item is set on a given row, matching whichever channel the node used. Read frequently while a journey is processing incoming events, so results are held in Hibernate's second-level cache.

Group: Database Entities

Implements: Relational, Serializable


Properties

PropertyReturnsDescription
emailItemEmailItemEmail that was sent from the funnel node, when this link records an email send.
funnelLongId of the funnel repository this link belongs to.
idlongDatabase primary key of this link.
leadLongId of the lead the email or SMS was sent to.
nodeIdStringId of the funnel node that sent the email or SMS, i.e. the lead's current goal at the time of sending.
originatingOrgOrganisationOrganisation that created the email or SMS this link records.
smsItemSmsItemSMS that was sent from the funnel node, when this link records an SMS send.

Methods

getId() · getOriginatingOrg() · setOriginatingOrg(Organisation originatingOrg) · getFunnel() · setFunnel(Long funnel) · getNodeId() · setNodeId(String nodeId) · getLead() · setLead(Long lead) · getEmailItem() · setEmailItem(EmailItem emailItem) · getSmsItem() · setSmsItem(SmsItem smsItem) · lead()

getId()

Returns: long

Database primary key of this link.

getOriginatingOrg()

Returns: Organisation

Organisation that created the email or SMS this link records.

setOriginatingOrg(Organisation originatingOrg)

Returns: void

Sets the organisation that created the email or SMS.

ParameterDescription
originatingOrgthe originating organisation

getFunnel()

Returns: Long

Id of the funnel repository this link belongs to.

setFunnel(Long funnel)

Returns: void

Sets the id of the owning funnel repository.

ParameterDescription
funnelthe owning funnel's id

getNodeId()

Returns: String

Id of the funnel node that sent the email or SMS, i.e. the lead's current goal at the time of sending.

setNodeId(String nodeId)

Returns: void

Sets the id of the funnel node that sent the message.

ParameterDescription
nodeIdthe sending node's id

getLead()

Returns: Long

Id of the lead the email or SMS was sent to.

setLead(Long lead)

Returns: void

Sets the id of the recipient lead.

ParameterDescription
leadthe recipient lead's id

getEmailItem()

Returns: EmailItem

Email that was sent from the funnel node, when this link records an email send.

setEmailItem(EmailItem emailItem)

Returns: void

Sets the email item this link records.

ParameterDescription
emailItemthe email that was sent

getSmsItem()

Returns: SmsItem

SMS that was sent from the funnel node, when this link records an SMS send.

setSmsItem(SmsItem smsItem)

Returns: void

Sets the SMS item this link records.

ParameterDescription
smsItemthe SMS that was sent

lead()

Returns: Lead

Loads the lead that the email or SMS was sent to. Performs a database lookup by the stored lead id, unlike the cheap getLead accessor which only returns the id.

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