Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Display values obtained from a data table in a script

    Posted 12-06-2024 01:29
    Hello everyone
     
    Please give me some advice on how to achieve the following objectives
     
    <What I want to achieve>
    The following columns of data are registered in the data table.
    ・Key: ANI
    →e.g.: 06xxxx6670
    ・Agent: The email address of the agent in charge linked to the ANI
     
    When a call comes in from an ANI registered in this data table, I would like to have a script that contains the following information pop up and notify the person in charge.
     
    ANI: Customer number
    Agent Name: The script displays the agent name based on the email address of the agent in charge registered in the data table.
     
    Thank you.

    #Community Videos (TAM, QA, etc.)

    ------------------------------
    Matsumoto Shun
    Unknown
    ------------------------------


  • 2.  RE: Display values obtained from a data table in a script

    Posted 12-06-2024 13:37

    Hi

    In your inbound flow:

    1. Retrieve the agent email from the table using Data Table lookup
    2. Use Find User by email to retrieve the Agent dets. Output.name will have agent name
    3. In the script create Agent Name variable with Input enabled. Built-in script variable Customer Formatted Number gives you the ANI already so just use that for ANI display
    4. Pass the Output.name (from step 2) as input to Agent Name field in script when setting Screenpop



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 3.  RE: Display values obtained from a data table in a script

    Posted 12-08-2024 23:32
    Thank you for your reply.
     
    2. Use Find User by email to retrieve the Agent dets. Output.name will have agent name
     
    I don't understand how to search for this user. Do I use data actions or APIs? Please tell me the specific method.
     
    I have another question.
    In the continuation of this topic, I want to add a link or button to the popup displayed by the script, and notify the operator in charge of ANI by pressing it.
    Is this method feasible?


    ------------------------------
    Matsumoto Shun
    Unknown
    ------------------------------



  • 4.  RE: Display values obtained from a data table in a script

    Posted 12-09-2024 00:13

    In Architect Inbound Flow navigate to Toolbox > Find > Find User action, use this action to find user. The input is the email address and output variable (which I called Output but you can name it whatever you like)

    Yes you can add a Button in the Script to execute an Action or Open URL. 



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 5.  RE: Display values obtained from a data table in a script

    Posted 12-09-2024 00:20
    I'm sorry.
    This question has been resolved here, so it's okay to close it.
    >
    2. Use Find User by email to retrieve the Agent dets. Output.name will have agent name
    >I don't understand how to search for this user. Do I use data actions or APIs? Please tell me the specific method.
     
    I'd like to know if you have any ideas for the following additional questions, including how to implement them.

    --
    I have another question.
    In the continuation of this topic, I want to add a link or button to the popup displayed by the script, and notify the operator in charge of ANI by pressing it.
    Is this method feasible?
    --


    ------------------------------
    Matsumoto Shun
    Unknown
    ------------------------------



  • 6.  RE: Display values obtained from a data table in a script
    Best Answer

    Posted 12-09-2024 14:10

    Matsumoto, I am not quite understanding what you asking.

    If you want to display the ANI and allow the agent to change it and press a button to pop that number into some other application, yes that is possible.  Just show an input field with the default value of scripter.customer formatted number and allow agent to change that.  Take that field and pass to the screen pop, 



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources