Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
expected_datamodel | object | Yes | JSON Schema defining the data to collect from the user |
server_message | string | No | Message to display to the user explaining what input is needed. Supports variable interpolation |
timeout | number | No | Maximum time (ms) to wait for user response. Default: 10000 (10 seconds) |
error_message | string | No | Custom error code to throw if interaction times out or fails |
Examples
Basic User Input
Request a single piece of information:Using User Input in Subsequent Nodes
The user’s input is stored in the context and can be used in later nodes:Notes
- User interactions trigger a webhook notification of event type
interaction.waiting - Use
timeoutto prevent workflows from hanging indefinitely - The
server_messagesupports variable interpolation to show context-specific instructions - For submitting user interaction data programmatically, see the Submit User Interaction Data API

