JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Graphlogic.ai documentation
Docs guide
How to create a bot
FAQ
What to prepare before creating your Agent
What is Graphlogic.ai
Releases history
How to get started with the Platform
How to create your Agent
How to use Chat Context in your Agent
How to succesfully train your Agent
How to deploy your Agent to channels
Agent usage
How to check Analytics for yur Agents
Additional information
Channel Integration
Resources & infrastructure requirements copy
Onboarding task
More
Share
Explore
How to use Chat Context in your Agent
Channel context variables
@
Channel Variables
— are metadata from a
@
Chat
in an
@
End Channel
that the
@
End Channel
transmits to the
@
Agent
during the
@
Conversation
process. Usually this is data about the
@
Bot User
and internal identifiers of
@
Dialog
s and
@
Chat
s of the final software.
Channel context variables
Channel context variables
1
Name
Description
Always in context
Never empty
Format
Editing by a user
Name
Description
Always in context
Never empty
Format
Editing by a user
1
channel_visitor_id
ID of
@
Bot User
or
@
Chat
in an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
2
channel_conversation_id
ID of
@
Dialog
or
@
Chat
in an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
3
channel_visitor_firstname
@
Bot User
‘s name in an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
4
channel_visitor_lastname
@
Bot User
‘s surname in an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
5
channel_visitor_account
@
Bot User
‘s accountvin an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
6
channel_visitor_phone
@
Bot User
‘s phone in an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
7
channel_visitor_email
@
Bot User
‘s email in an
@
End Channel
Yes
No
text: depends on an
@
End Channel
Disabled
8
channel_visitor_source
the source from which the
@
Bot User
came to the
@
End Channel
(for example, utm tags)
Yes
No
text: depends on an
@
End Channel
Disabled
9
channel_visitor_auth
Authorization data of the
@
Bot User
Yes
No
text: depends on an
@
End Channel
Disabled
10
channel_visitor_location
@
Bot User
‘s location in an
@
End Channel
No
string
Disabled
11
channel_message_id
message ID in
@
Chat2Desk
No
Yes, when in context
string
Disabled
12
channel_message_recipient
A
@
Bot
in
@
Chat2Desk
is an operator; its id is written to this variable
Yes
Yes
string
Disabled
13
channel_webhook_url
Channel webhook URL from
@
End Channel
settings
Yes
Yes
string
Disabled
14
channel_webhook_token
Channel webhook Token from
@
End Channel
settings
Yes
Yes
string
Disabled
15
channel_reply_to
Message that was replied to in Telegram
Yes
No
string
Disabled
There are no rows in this table
Channel context variables
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.