Skip to main content

Syntax

addConditionalEntrypoint(params)

Description

Adds a conditional Entrypoint for the current conversation. This condition is used by the Optional Question Node. If {condition} is met within the next {retentionTime} inputs, Flow execution starts at {entrypoint}. Parameters:
  • params: IAddConditionalEntrypointParams — an object that includes the Entrypoint to trigger, the duration for retaining the condition, and the condition to evaluate.
Returns: void

Example

Last modified on April 21, 2026