Virtual Agent - Live Chat ContextVariables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2023 11:55 PM
Hello,
im currently implementing the Virtual Agent Live Chat with a Standalone Bot (Bot to Bot Integration).
We initiate a new Chat session via the REST API (/api/sn_va_as_service/bot/integration).
In the ContextVariables in the REST Call we define following contextVariables:
- live_agent_only = true
- short_description = Test
They both work. I get a chat session in the Service Operations Workspace with the defined Short description.
Now we created some new fields on the Interaction Table which also should be predefined by the context variables.
In the Conversational Interfaces Settings under Context Variables Section I created a new Record like following:
Name: u_ai_chat_history (The Fieldname of the Interaction-Table Field)
Script Variable Name: LiveAgent_u_ai_chat_history (Automatically generated)
Table: Interaction
Record: true (Automatically set)
Value: <Empty>
When I start a new chat session with the contextVariables:
- live_agent_only = true
- short_description = Test
- u_ai_chat_history = Hello World
Only the Short Description gets prefilled.
I also tried 'LiveAgent_u_ai_chat_history' instead of 'u_ai_chat_history' in the REST Call with the same outcome.
Does anyone know what I have to change to get this working?
Thanks a lot!
With kind regards
Louis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 08:19 AM