Flow targeting
At the highest level, every Flow you create will have optional targeting logic. You can view this targeting logic on the Flow Overview page and modify it by tapping “Targeting” button. The Flow Targeting logic is used to determine who should see the Flow.
- Only show a Flow to new accounts by comparing account creation date
- Show a Flow to users with a certain job function or other user property
- Show a Flow to users who have taken a specific action in the product (e.g. an upsell once they use something 10 times)
- Show a Flow to users who have completed another Flow (e.g. a “next steps” Flow after a user completes an initial onboarding Flow)
Step targeting
Beyond Flow targeting, you can also leverage targeting logic within Flows themselves.
- Show or hide a Step based on a condition using visibilityCriteria
- A Step only starts when a condition becomes true using startCriteria
- Mark a Step complete based on a condition using completionCriteria
Boolean logic
Supported operators are:&&
, ||
, ==
, !=
, >
, <
, >=
, <=
User props
All data you’ve made available to Frigade can be used in your targeting logic, including the following properties supported on Users:user.flow('<flowId>')
User Flow state (e.g.
COMPLETED_FLOW
)user.flowStep('<flowId>', '<stepId>')
User Flow Step state (e.g.
COMPLETED_STEP
)user.event('<eventId>').count
User event count
user.property('<property>')
User properties
user.propertyContains('<property>', '<searchString>')
User properties partial match (). It supports searching in strings, objects, and arrays.
Organization props
All data you’ve made available to Frigade can be used in your targeting logic, including the following properties supported on Organizations:organization.property('<property>')
Organization properties
organization.event('<eventId>').count
Organization event count