inject_context
Inject context data into a Cognigy.AI session to set user data, preferences, or state before or during conversations. Context is shared state accessible by flow nodes.
Instructions
Injects context data into a Cognigy.AI session. Context is shared state accessible by flow nodes. Use this to set user data, preferences, or state before/during conversations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user ID for the session | |
| context | Yes | The context object to inject (key-value pairs) | |
| sessionId | Yes | The session ID to inject context into |