> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ada.cx/_mcp/server.

# Rules can tell apart Sunshine Conversations channels that share one AI Agent

The new `sunshine_integration_id` variable holds the ID of the Sunshine Conversations integration that sent the end user's latest message. Ada sets it before the AI Agent answers each message. When several Sunshine Conversations channels, such as two web chats, share one Agent, a Rule or a Playbook condition can compare it with the integration ID of each channel. When the end user switches channels, their next message sets the value to the new channel's ID. If a message carries no integration ID, the variable keeps its last value.

Only Ada sets this variable. For the list of reserved variables, see [Using variables](/docs/automation/variables/using-variables).