Learn how to dynamically complete steps in Flows when your users take certain actions in your application.
completionCriteria
property on a step.
complete
method from the useFlow hook in the React SDK or via the JS SDK. In the example below, we’re calling the complete
method from the React SDK:
completionCriteria
property on a step to automatically mark the step as completed when a user meets the criteria. See Targeting for more examples of how to write targeting queries.