Prompt
Creates a prompt for user input in chat interfaces.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Output
- Payload - The response object containing the user's input or response to the prompt.
How It Works
The Prompt node creates an interactive prompt in chat interfaces to collect user input. When executed, the node:
- Sends a prompt request to the Assistant
- Displays a prompt interface in the chat for user input
- Waits for the user to provide input or respond
- Returns a payload with the user's response
Requirements
- A valid chat interface or messaging platform
- An active conversation with a user
Error Handling
The node will return specific errors in the following cases:
- No active conversation to prompt
- Communication errors with the messaging platform
- User does not provide input within expected timeframe
Usage Notes
- The prompt node is used to collect user input during conversations
- The payload output contains the user's response to the prompt
- Prompts are useful for gathering information or making decisions in workflows
- The node waits for user input before proceeding to the next step
- Multiple prompt nodes can be used in sequence to collect multiple pieces of information
- The prompt interface may vary depending on the messaging platform being used