UNPKG

@botonic/plugin-flow-builder

Version:

Botonic plugin for **Hubtype Flow Builder**: run and bridge flow-driven logic from bots on the **current** line.

20 lines (19 loc) 580 B
import { HtBaseNode, HtNodeLink } from './common'; import { HtNodeWithContentType } from './node-types'; export declare enum HtAiValidationType { NONE = "none", NAME = "name", EMAIL = "email", PHONE = "phone", CUSTOM = "custom" } export interface HtCaptureUserInputNode extends HtBaseNode { type: HtNodeWithContentType.CAPTURE_USER_INPUT; content: { field_name: string; ai_validation_type?: HtAiValidationType; ai_validation_instructions?: string; capture_success: HtNodeLink; capture_fail: HtNodeLink; }; }