Create a has-prior-step trigger
Adds a has-prior-step trigger to the specified campaign controller. The trigger fires when the participant does (or does not) have a prior completed step. Returns the created trigger with its server-assigned id.
Authorizations
Path Parameters
(/version/.+)?Body
Body of a POST /v2/campaigns/{campaignId}{version:(/version/.+)?}/controllers/{controllerId}/triggers/has-prior-steps request.
Choose between static or dynamic count matches
Choose between static or dynamic count max
Choose between static or dynamic count min
Choose between static or dynamic enabled
Choose between static or dynamic filter campaign ids
Choose between static or dynamic filter expression
Choose between static or dynamic filter max age
^[-+]?P(?:(?:[-+]?[0-9]+D)(?:T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)?|T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)$"PT42S"
Choose between static or dynamic filter max date
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
Choose between static or dynamic filter max value
Choose between static or dynamic filter min age
^[-+]?P(?:(?:[-+]?[0-9]+D)(?:T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)?|T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)$"PT42S"
Choose between static or dynamic filter min date
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
Choose between static or dynamic filter min value
Choose between static or dynamic filter names
Choose between static or dynamic filter partner event id
Choose between static or dynamic filter program labels
Choose between static or dynamic filter quality
ANY, HIGH, LOW Choose between static or dynamic filter scope
ATTRIBUTED, CAMPAIGN, CLIENT, JOURNEY, PROGRAM Choose between static or dynamic having all names
Choose between static or dynamic negated
Choose between static or dynamic parent trigger group name
Choose between static or dynamic person id
Choose between static or dynamic sum of value max
Choose between static or dynamic sum of value min
Choose between static or dynamic trigger description
Choose between static or dynamic trigger name
Choose between static or dynamic trigger phase
MATCHING, QUALIFYING, QUALITY Response
Successful response
The enabled as configured: a literal value, or an expression (type:string) when defined dynamically.
The negated as configured: a literal value, or an expression (type:string) when defined dynamically.
The parent trigger group name as configured: a literal value, or an expression (type:string) when defined dynamically.
The trigger description as configured: a literal value, or an expression (type:string) when defined dynamically.
The trigger name as configured: a literal value, or an expression (type:string) when defined dynamically.
The trigger phase as configured: a literal value, or an expression (type:string) when defined dynamically.
MATCHING, QUALIFYING, QUALITY HAS_PRIOR_STEP The count matches as configured: a literal value, or an expression (type:string) when defined dynamically.
The count max as configured: a literal value, or an expression (type:string) when defined dynamically.
The count min as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter campaign ids as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter expression as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter max age as configured: a literal value, or an expression (type:string) when defined dynamically.
^[-+]?P(?:(?:[-+]?[0-9]+D)(?:T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)?|T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)$"PT42S"
The filter max date as configured: a literal value, or an expression (type:string) when defined dynamically.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
The filter max value as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter min age as configured: a literal value, or an expression (type:string) when defined dynamically.
^[-+]?P(?:(?:[-+]?[0-9]+D)(?:T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)?|T(?=(?:[-+]?[0-9]+H|[-+]?[0-9]+M|[-+]?[0-9]+(?:[.,][0-9]*)?S))(?:[-+]?[0-9]+H)?(?:[-+]?[0-9]+M)?(?:[-+]?[0-9]+(?:[.,][0-9]*)?S)?)$"PT42S"
The filter min date as configured: a literal value, or an expression (type:string) when defined dynamically.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
The filter min value as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter names as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter partner event id as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter program labels as configured: a literal value, or an expression (type:string) when defined dynamically.
The filter quality as configured: a literal value, or an expression (type:string) when defined dynamically.
ANY, HIGH, LOW The filter scope as configured: a literal value, or an expression (type:string) when defined dynamically.
ATTRIBUTED, CAMPAIGN, CLIENT, JOURNEY, PROGRAM The having all names as configured: a literal value, or an expression (type:string) when defined dynamically.
The person id as configured: a literal value, or an expression (type:string) when defined dynamically.
The sum of value max as configured: a literal value, or an expression (type:string) when defined dynamically.
The sum of value min as configured: a literal value, or an expression (type:string) when defined dynamically.
