Listen
Capture Node
Pauses the conversation and waits for the user to respond in chat
The conversation will pause at this step in the conversation and wait for the user to respond in chat. The user response will be stored in the capture response variable.
Node Inputs
The capture node does not have any node inputs.
Node Parameters
The capture node does not have any node parameters.
Node Outputs
- Response: The user message
- Type:
Text
- Example usage:
{{capture_0.response}}
- Type:
Considerations
- To keep the conversation going, you can add capture node in the dependency array of the next node or connect the handle of the capture node to the next node.
- The capture node can be used in cyclic pipelines.
Example
The below example is a pipeline for asking a about the user’s name and email.
- Start Node: Represents the entry point of the pipeline
- Message Node: Displays the message to the user
- Message:
What is your name?
- Message:
- Capture Node: Pauses the conversation and waits for the user to respond in chat
- Message Node: Displays the message to the user
- Message:
What is your email?
- Message:
- Capture Node: Pauses the conversation and waits for the user to respond in chat