> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# xApps Functions

The xApp functions are used to manage conversations with xApps.

## [`setAppState`](/ai/for-developers/function-reference/xApps/setAppState)

**Syntax:** `setAppState(xAppTemplateId, xAppTemplateData)`

Updates the state of the xApp Session for this conversation.
