Registers the "fileUploadTrigger" funnel trigger type, letting a funnel automation be configured to fire when a file is uploaded to a website. Supplies the id, display title and description shown when choosing a trigger in the funnel automation editor, and builds a FileUploadFunnelTrigger instance from the submitted form when a developer configures one.

Group: Journeys

Implements: FunnelTriggerType


Properties

PropertyReturnsDescription
descriptionStringShort description of what this trigger does, shown alongside its title in the funnel automation editor.
idStringThe type identifier for this trigger type, used to register it and to match it to FileUploadFunnelTrigger instances.
titleStringDisplay title for this trigger type shown when a developer chooses a trigger in the funnel automation editor.

Methods

getId()

Returns: String

The type identifier for this trigger type, used to register it and to match it to FileUploadFunnelTrigger instances.

getTitle()

Returns: String

Display title for this trigger type shown when a developer chooses a trigger in the funnel automation editor.

getDescription()

Returns: String

Short description of what this trigger does, shown alongside its title in the funnel automation editor.

create(FormContext form)

Returns: FunnelTrigger

Builds a new FileUploadFunnelTrigger from the submitted form's website field, with no path filter and the default startsWith match mode.

ParameterDescription
formthe submitted form data for the trigger's configuration fields
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.