Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

AVA end context

  • 1.  AVA end context

    Posted 05-13-2026 06:24

    Hi everyone,

    I understand that end context variable has to be either from tool or start context. When I create it as a start context variable, and I want AVA to set it's value during the conversation, it is always NOT SET. How do I make the AVA populate the end context purely from the conversation or is that not possible?

    Thank you!


    #Architect

    ------------------------------
    Marija Kovrlija
    NA
    ------------------------------


  • 2.  RE: AVA end context

    Posted 05-13-2026 08:12

    Hi Marija,

    From my understanding, AVA cannot arbitrarily populate End Context variables purely from the conversation unless the value is explicitly mapped from either:

    • a tool/action result
    • or an existing Start Context variable

    The conversational reasoning itself does not automatically persist values into End Context.

    So if you create a Start Context variable and expect the AVA to dynamically assign/update it during the conversation without a tool/action involved, it will typically remain NOT SET.

    In practice, the common pattern is:

    • collect/extract the information during the conversation
    • pass it through a tool/action
    • map the returned value into the End Context variable

    At the moment, I don't believe there is native support for directly persisting arbitrary conversational state into End Context variables without that intermediary mapping/action step.



    ------------------------------
    Gabriel Garcia
    NA
    ------------------------------



  • 3.  RE: AVA end context

    Posted 05-13-2026 08:12

    Hi Marija,

    From my understanding, AVA cannot arbitrarily populate End Context variables purely from the conversation unless the value is explicitly mapped from either:

    • a tool/action result
    • or an existing Start Context variable

    The conversational reasoning itself does not automatically persist values into End Context.

    So if you create a Start Context variable and expect the AVA to dynamically assign/update it during the conversation without a tool/action involved, it will typically remain NOT SET.

    In practice, the common pattern is:

    • collect/extract the information during the conversation
    • pass it through a tool/action
    • map the returned value into the End Context variable

    At the moment, I don't believe there is native support for directly persisting arbitrary conversational state into End Context variables without that intermediary mapping/action step.



    ------------------------------
    Gabriel Garcia
    NA
    ------------------------------



  • 4.  RE: AVA end context

    Posted 05-13-2026 08:16

    Agree with @Gabriel Garcia, currently no method to achieve this other than what Gabriel mentioned. Out of curiosity, what prompts have you tried to achieve this?



    ------------------------------
    Savino Ricci
    Senior Technical Consultant
    ------------------------------



  • 5.  RE: AVA end context

    Posted 05-13-2026 08:23

    Thanks Savino.

    I tested a few variations trying to make the AVA persist the value directly from the conversation itself, something like:

    • "Store the customer account number into variable X"
    • "Update the end context variable with the collected value"
    • "Persist this information for Architect output"

    I also tried reinforcing it through role/guideline instructions and confirmation steps during the conversation, but the End Context still remained NOT SET unless the value came back from a tool/action mapping.

    So from what I could validate, prompts alone do not seem enough today to persist values into End Context variables.



    ------------------------------
    Gabriel Garcia
    NA
    ------------------------------



  • 6.  RE: AVA end context

    Posted 05-13-2026 08:34

    Ok, so I need a "dummy" tool to achieve this. Thank you! that was my current workaround but wanted to check if I am missing anything. Thank you Gabriel.
    Savino, I tried with: Once the value has been identified populate the custom_field variable with the result. Or "immediately set custom_field to Emergency and transfer to an agent", but saw they are not populating no matter the description, nor did it say in the documentation it can be done. Thank you!



    ------------------------------
    Marija Kovrlija
    NA
    ------------------------------



  • 7.  RE: AVA end context

    Posted 05-14-2026 08:57

    To populate variables, we can 'Set Participant data' on conversation through APIs in Agentic. Once the data is available as participant data in conversation, one can always do  'Get Participant data'  in Architect flow to retrieve it.



    ------------------------------
    Jyoti Sharma
    Senior Design Consultant
    ------------------------------



  • 8.  RE: AVA end context

    Posted 05-14-2026 10:06

    Output Context can only be obtained from the output of a tool. I use a Genesys Cloud Function that ouputs whatever is sent to the function.  I like this approach because it is all contained in Genesys and I don't have to worry about an external service.    



  • 9.  RE: AVA end context

    Posted 7 days ago

    Hey @Robert Wakefield-Carl what tool are you using to do this? I am running into this issue currently. 



    ------------------------------
    Nick
    Telephony Admin
    ------------------------------



  • 10.  RE: AVA end context

    Posted 6 days ago

    I created a cloud function that echos back whatever you send to it.



    ------------------------------
    Robert
    Senior AI Partner Architect
    ------------------------------



  • 11.  RE: AVA end context

    Posted 4 days ago

    Hi,

    From my understanding, AVA doesn't automatically populate an End Context variable just from what the customer says during the conversation. If you want AVA to return a value in the End Context, the value needs to come from something AVA can explicitly use, such as a Tool output or an available context variable.

    Creating the variable only as Start Context does not mean AVA will automatically update its value during the conversation.

    For example, if you want to capture something the customer provides during the conversation, you could use a Tool to process or store that information and then map the Tool output to the End Context variable. So, if you are expecting AVA to understand something from the conversation and directly write it into an End Context variable without using a Tool, I don't think this is currently possible. 

    Hope this helps!



    ------------------------------
    Carlos
    Solution Consultant
    ------------------------------