Funnel trigger that fires when a file is uploaded to a website, optionally filtered by website name and by matching the uploaded resource's path. Configured as JSON with type name "fileUploadTrigger" on a funnel automation. When a FileUploadEvent occurs, this trigger checks the event's website against websiteName (any website if blank) and, if a path is configured, checks the uploaded resource's href against that path using the configured matchMode (startsWith, endsWith, contains or equals; startsWith is the default).

Group: Journeys

Implements: FunnelTrigger, Serializable


Properties

PropertyReturnsDescription
descriptionStringHuman readable summary of this trigger's configuration, showing the website, path and match mode it is configured with.
fieldsList<Pair<ExtraField,Object>>Describes the editable fields of this trigger and their current values, used to render the trigger's edit form in the funnel automation admin UI.
funnelTriggerTypeIdStringThe type identifier for this trigger, used to match it to its registered FileUploadFunnelTriggerType and to tag its JSON representation.
matchModeStringHow the uploaded resource's href is compared against path: one of startsWith, endsWith, contains or equals.
pathStringPath fragment that the uploaded resource's href is compared against, using the configured matchMode.
websiteNameStringName of the website the uploaded file must belong to for this trigger to match.

Methods

getFunnelTriggerTypeId()

Returns: String

The type identifier for this trigger, used to match it to its registered FileUploadFunnelTriggerType and to tag its JSON representation.

getFields()

Returns: List<Pair<ExtraField,Object>>

Describes the editable fields of this trigger and their current values, used to render the trigger's edit form in the funnel automation admin UI.

getDescription()

Returns: String

Human readable summary of this trigger's configuration, showing the website, path and match mode it is configured with.

getWebsiteName()

Returns: String

Name of the website the uploaded file must belong to for this trigger to match.

getPath()

Returns: String

Path fragment that the uploaded resource's href is compared against, using the configured matchMode.

getMatchMode()

Returns: String

How the uploaded resource's href is compared against path: one of startsWith, endsWith, contains or equals.

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