Trigger conditions

Scope a customisation so it only applies when certain criteria are met.

Trigger conditions decide when a customisation should run.

Without conditions, the customisation applies to every instance of that event.

Add trigger conditions

1

Open the event editor

Open the event you want to customise from the destination Events tab.

2

Create or edit a customisation

Choose the filter, modify, or clone customisation you want to update.

3

Add each condition

Select a field, choose an operation, and enter a value.

4

Save the customisation

Click Save to apply the conditions.

Condition structure

Each condition has three parts:

Part
Description
Example

Field

A field path using dot notation

email, app.name

Operation

The comparison to perform

is, contains, >=

Value

The value to compare against

String operations

Operation
Description

is

Exact match

contains

Field includes the value as a substring

starts with

Field begins with the value

ends with

Field ends with the value

matches regex

Field matches a regular expression pattern

Numeric operations

Operation
Description

is

Exact numeric match

>=

Greater than or equal to

>

Greater than

<=

Less than or equal to

<

Less than

Common field paths

Field path
Description

email

Customer email address

app.name

Shopify app that created the order

properties.total_price

Order total

properties.financial_status

Payment status

paymentGateways[0]

First payment gateway used

locationId

Shopify location ID

properties.tags

Order tags

AND vs OR logic

All conditions in one customisation use AND logic.

Every condition must pass.

If you need OR logic, create separate customisations.

Conditions on individual mappings

Individual field mappings can also have their own conditions.

Use this for conditional enrichment.

For example, add paypal_gateway only when paymentGateways[0] is paypal.

Last updated

Was this helpful?