Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Agentic Agnet collecting variables

    Posted 3 hours ago

    I've been working with Agentic Agents and need to capture a generated ticket number as a variable during the conversation. The agent successfully generates and presents a seven-digit ticket number (starting with "748") to the customer, but it is not being stored in the ticket_customer variable as expected.

    In my guidelines, I've specified: "Generate a unique seven-digit ticket number starting with '748' and store that value in ticket_customer." However, the variable never seems to persist or get assigned. I'm likely missing the correct syntax or method for storing this value-can you clarify the proper approach?


    #ConversationalAI(Bots,VirtualAgent,etc.)

    ------------------------------
    Martin Bunting
    New Era Technology
    Senior Solutions Consultant
    ------------------------------


  • 2.  RE: Agentic Agnet collecting variables

    Posted 3 hours ago

    Hello Martin, 

    I believe what you're experiencing is likely because you need to assign the proper syntax, mentioning the variable in the guidelines doesn't automatically store the values.

    When you want to generate and store a ticket number, you need to explicitly use the store instruction in your guidelines. Here's the proper syntax:

    - Generate a unique seven-digit ticket number starting with '748'
    - Store in {{Variable.ticket_customer}}

    You can use any of these variations:

    Store in {{Variable.ticket_customer}}
    Store to {{Variable.ticket_customer}}
    Store into {{Variable.ticket_customer}}
    Store as {{Variable.ticket_customer}}

    Hope this helps!



    ------------------------------
    Cameron
    Online Community Manager/Moderator
    ------------------------------