Actions18
- Ai Actions
- Api Actions
- Chat Actions
- Flow Actions
- Config Actions
- Context Actions
- Intent Actions
Context → GetContext
AI-generatedSummary
Retrieve the current conversation context, optionally including the previous node's output in the context.
Inputs
- Add Prev Node to Context — Boolean flag to include the output of the previous node in the context.
- Node Name — Name of the previous node, required if adding the previous node's output to the context.
Output shape
a single JSON object representing the current conversation context wrapped in a standard message structure
If there is no active conversation context available, the output JSON will contain an empty context. The output format is standardized using the node's internal
buildStdMessagemethod.
Examples
Example 1: Getting the current context of an ongoing conversation
Set 'Add Prev Node to Context' to false or leave it unset; the node returns the current context state.