Skip to content

ActionWizardOptions

ActionWizardOptions = object

Defined in: sdks/js/agent-sdk/src/middleware/ActionWizard.ts:57

Configuration for an interactive action wizard.

optional cancel?: boolean | ActionWizardCancelOptions

Defined in: sdks/js/agent-sdk/src/middleware/ActionWizard.ts:65

Enable a cancel button on each select step. Set to true for the default label, or pass options to customize.


optional dm?: boolean

Defined in: sdks/js/agent-sdk/src/middleware/ActionWizard.ts:63

When true, the wizard sends all steps via DM to the user. Recommended when the user is expected to enter sensitive information (e.g. API keys, passwords) to keep it out of group conversations.