Funnel trigger fired when a lead makes or receives a vote (for example on a forum post), optionally scoped to a specific website and to a range of the lead's total vote count. Configured to match either votes made by the lead or votes received by the lead, selected by the madeOrReceived flag, plus optional minimum and maximum bounds checked against the lead's total votes made or received.
Group: Journeys
Implements: FunnelTrigger, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | A human readable summary of this trigger's configuration, used in the funnel automation admin UI. |
| fields | List<Pair<ExtraField,Object>> | The editable configuration fields for this trigger, paired with their current values, used to render the trigger's edit form in the funnel automation admin UI. |
| funnelTriggerTypeId | String | Identifier of the funnel trigger type that creates this trigger, used to look up the matching VotesFunnelTriggerType and to select this class during JSON deserialisation. |
| madeOrReceived | Boolean | Whether this trigger matches votes made by the lead or votes received by the lead. |
| maxVotes | Integer | Upper bound on the lead's total vote count for this trigger to match, or null if there is no upper bound. |
| minVotes | Integer | Lower bound on the lead's total vote count for this trigger to match, or null if there is no lower bound. |
| websiteName | String | Name of the website this trigger is scoped to. Null or blank means the trigger matches votes on any website. |
Methods
getFunnelTriggerTypeId()
Returns: String
Identifier of the funnel trigger type that creates this trigger, used to look up the matching VotesFunnelTriggerType and to select this class during JSON deserialisation.
getFields()
Returns: List<Pair<ExtraField,Object>>
The editable configuration fields for this trigger, paired with their current values, used to render the trigger's edit form in the funnel automation admin UI.
getDescription()
Returns: String
A human readable summary of this trigger's configuration, used in the funnel automation admin UI.
getMinVotes()
Returns: Integer
Lower bound on the lead's total vote count for this trigger to match, or null if there is no lower bound.
getMaxVotes()
Returns: Integer
Upper bound on the lead's total vote count for this trigger to match, or null if there is no upper bound.
getMadeOrReceived()
Returns: Boolean
Whether this trigger matches votes made by the lead or votes received by the lead.
getWebsiteName()
Returns: String
Name of the website this trigger is scoped to. Null or blank means the trigger matches votes on any website.