Stream KitDocs

Chat message intent

AI trigger: ai-actions:ai:chat:chat-message-intent

Chat message intent

Trigger IDai-actions:ai:chat:chat-message-intent
PluginAI
CategoryChat

Variables

Copy variables into handler fields using {variableName} syntax.

{source}{user}{userId}{message}{role}{channel}{broadcasterId}{messageId}{intent}{confidence}{liveChatId}{channelId}
NameTypeDescription
{source}
'twitch' | 'youtube'

Event source (platform such as `twitch`/`youtube`, or rankings source such as `watch-time`/`manual`).

Example: twitch

{user}
string

Display name of the user who triggered the event.

Example: TestUser

{userId}
string

Platform user ID of the chatter or actor.

Example: 123456

{message}
string

Full message text from the event.

Example: When are you streaming again this week?

{role}
string

Role of the user (for example everyone, mod, broadcaster, vip, subscriber).

Example: user

{channel}
string

Channel login or display name where the event occurred.

Example: #testchannel

{broadcasterId}
string

Broadcaster channel ID for the connected account.

Example: 654321

{messageId}
string

Platform message ID for the chat message.

Example: test-message-id

{intent}
string

Intent text configured on the trigger that matched.

Example: Viewer asks when the next stream is

{confidence}
number

How sure the AI is that the message or command matches the intent, from 0 to 1.

Example: 0.92

{liveChatId}
string

YouTube live chat ID for the active broadcast.

{channelId}
string

YouTube channel ID for the connected account.

On this page