Fired after a contact form or landing page submission has been saved, carrying the resulting contact request. Raised by ContactFormService once the submitted contact request is persisted, and dispatched to the funnel manager so that ContactFormGoal trigger nodes can match against it. The event's organisation is taken from the page the form was submitted on, and its triggered goal type is ContactFormGoal.

Group: Journeys

Implements: FunnelEvent


Properties

PropertyReturnsDescription
contactRequestContactRequestThe contact request created from the submitted form.
emailAttachmentsList<EmailAttachmentBean>Email attachments carried by the submitted contact request, built from its stored attachment records.
leadProfileProfileThe profile of the person who submitted the contact form.
relatedLeadLeadThere is no existing lead directly associated with a contact form submission.
triggeredGoalClass<? extends Goal>The goal type that this event can trigger.

Methods

toProps()

Returns: Map<String,Serializable>

Builds the event properties map for this event, adding a URN pointer to the submitted contact request under the property key "contactRequest" so that JS-driven automations can resolve the full contact request.

getContactRequest()

Returns: ContactRequest

The contact request created from the submitted form.

getLeadProfile()

Returns: Profile

The profile of the person who submitted the contact form.

getRelatedLead()

Returns: Lead

There is no existing lead directly associated with a contact form submission.

getTriggeredGoal()

Returns: Class<? extends Goal>

The goal type that this event can trigger.

getEmailAttachments()

Returns: List<EmailAttachmentBean>

Email attachments carried by the submitted contact request, built from its stored attachment records.

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