Automation trigger that fires when a sales record is created in a specific sales data series, identified by series name. Can be further restricted with up to three optional custom field name and value pairs that must also match on the created record. Registered as the "salesRecordCreatedTrigger" JSON subtype of FunnelTrigger.

Group: Journeys

Implements: FunnelTrigger, Serializable


Properties

PropertyReturnsDescription
customFieldName1StringName of the first optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked.
customFieldName2StringName of the second optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked.
customFieldName3StringName of the third optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked.
customFieldValue1StringValue that the first custom field named by getCustomFieldName1() must equal on the created record for this trigger to match. Only checked when the corresponding custom field name is set.
customFieldValue2StringValue that the second custom field named by getCustomFieldName2() must equal on the created record for this trigger to match. Only checked when the corresponding custom field name is set.
customFieldValue3StringValue that the third custom field named by getCustomFieldName3() must equal on the created record for this trigger to match. Only checked when the corresponding custom field name is set.
descriptionStringHuman-readable summary of this trigger's configuration, naming the sales data series and any configured custom field name and value pairs.
fieldsList<Pair<ExtraField,Object>>Configuration fields shown in the automation editor for this trigger: the sales data series name and up to three optional custom field name and value pairs, paired with their currently configured values.
funnelTriggerTypeIdStringIdentifier of the trigger type this trigger is an instance of, always "salesRecordCreatedTrigger". Used to look up the matching SalesRecordCreatedFunnelTriggerType from the funnel manager's registry.
seriesNameStringName of the sales data series this trigger matches records against, looked up via DataSeriesManager.

Methods

getFields() · getDescription() · getFunnelTriggerTypeId() · getSeriesName() · getCustomFieldName1() · getCustomFieldName2() · getCustomFieldName3() · getCustomFieldValue1() · getCustomFieldValue2() · getCustomFieldValue3()

getFields()

Returns: List<Pair<ExtraField,Object>>

Configuration fields shown in the automation editor for this trigger: the sales data series name and up to three optional custom field name and value pairs, paired with their currently configured values.

getDescription()

Returns: String

Human-readable summary of this trigger's configuration, naming the sales data series and any configured custom field name and value pairs.

getFunnelTriggerTypeId()

Returns: String

Identifier of the trigger type this trigger is an instance of, always "salesRecordCreatedTrigger". Used to look up the matching SalesRecordCreatedFunnelTriggerType from the funnel manager's registry.

getSeriesName()

Returns: String

Name of the sales data series this trigger matches records against, looked up via DataSeriesManager.

getCustomFieldName1()

Returns: String

Name of the first optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked.

getCustomFieldName2()

Returns: String

Name of the second optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked.

getCustomFieldName3()

Returns: String

Name of the third optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked.

getCustomFieldValue1()

Returns: String

Value that the first custom field named by getCustomFieldName1() must equal on the created record for this trigger to match. Only checked when the corresponding custom field name is set.

getCustomFieldValue2()

Returns: String

Value that the second custom field named by getCustomFieldName2() must equal on the created record for this trigger to match. Only checked when the corresponding custom field name is set.

getCustomFieldValue3()

Returns: String

Value that the third custom field named by getCustomFieldName3() must equal on the created record for this trigger to match. Only checked when the corresponding custom field name is set.

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