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
| Property | Returns | Description |
|---|---|---|
| contactRequest | ContactRequest | The contact request created from the submitted form. |
| emailAttachments | List<EmailAttachmentBean> | Email attachments carried by the submitted contact request, built from its stored attachment records. |
| leadProfile | Profile | The profile of the person who submitted the contact form. |
| relatedLead | Lead | There is no existing lead directly associated with a contact form submission. |
| triggeredGoal | Class<? 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.