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
| Property | Returns | Description |
|---|---|---|
| customFieldName1 | String | Name of the first optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked. |
| customFieldName2 | String | Name of the second optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked. |
| customFieldName3 | String | Name of the third optional custom field on the sales record to check. If blank, the corresponding custom field value is not checked. |
| customFieldValue1 | 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. |
| customFieldValue2 | 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. |
| customFieldValue3 | 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. |
| description | String | Human-readable summary of this trigger's configuration, naming the sales data series and any configured custom field name and value pairs. |
| fields | 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. |
| funnelTriggerTypeId | 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. |
| seriesName | String | Name 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.