Legacy Dev Forum Posts

 View Only

Sign Up

Pass data in lex bot session variable

  • 1.  Pass data in lex bot session variable

    Posted 06-05-2025 19:19

    kike | 2022-03-09 14:21:53 UTC | #1

    Hello, to pass data from genesys to the amazon lex bot, you just have to add the data in the session variable part, right? Or do I need to add something else? Thanks


    tim.smith | 2022-03-09 15:10:24 UTC | #2

    Yes, see "Inputs" under "Session Variables" here: https://help.mypurecloud.com/articles/call-lex-v2-bot-action/

    Use inputs to pass data to a Lex V2 bot. For each value you send, give the entry a name and an expression that resolves to a string for its value. Then when the action runs, all expressions evaluate to produce a string that passes to the Lex V2 bot event parameters. You can pre-populate slots by choosing the name of what passes as the name of your slot.


    kike | 2022-03-09 15:32:48 UTC | #3

    Hi @tim.smith I am using Amazon Lex v1, I am not using v2.


    tim.smith | 2022-03-10 14:34:20 UTC | #4

    https://help.mypurecloud.com/articles/call-lex-bot-action/


    system | 2022-04-09 15:43:58 UTC | #6

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 13850