Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Controlling Knowledge in Digital Bot Flows

    Posted 08-21-2025 15:06

    Hello,

    I am struggling through setting up the proposed suggestion to control knowledge in digital bot flows here: Control knowledge behavior in your voice or digital bot flow - Genesys Cloud Resource Center.

    I have set this up identically to the documentation on 2 separate bots, and when I go to test it hits the No path after the Decision action but then ends the chat. I added some communication objects to see what the searchResults variable is pulling back and every time Count(Flow.searchResults) > 1 pulls back 0, even when using prompts that have up to 100 articles with that keyword or using the full phrasing that is associated to an article. 

    It's totally possible I am misinterpreting how this would work or I am missing some additional setup for the variable that collects the searchResults, but I am not sure how to verify what is happening. Does anybody have experience and advice on this suggested handling?

    Here is an image of my flow that I replicated from the documentation, which always returns 0 and ends the session.


    #ConversationalAI(Bots,AgentAssist,etc.)
    #DigitalChannels

    ------------------------------
    Nicole VanWie
    UC Engineer
    ------------------------------


  • 2.  RE: Controlling Knowledge in Digital Bot Flows

    Posted 08-21-2025 16:18

    Hello Nicole,

    I have moved your question to the Genesys Cloud - Developer Community. Hopefully one of the experts there will be able to assist you with this.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Controlling Knowledge in Digital Bot Flows
    Best Answer

    Posted 08-22-2025 04:32

    Hi @Nicole VanWie,

    Have you added the Search Results variable to your Ask for and Wait for input blocks?



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



  • 4.  RE: Controlling Knowledge in Digital Bot Flows

    Posted 08-26-2025 12:04

    Thanks Savino. That helped. I don't know why I didn't realize that I would need to update every reusable task Waiting for Input object with the variable. But totally made sense once I read your suggestion. Thanks!



    ------------------------------
    Nicole VanWie
    UC Engineer
    ------------------------------



  • 5.  RE: Controlling Knowledge in Digital Bot Flows

    Posted 08-26-2025 15:16

    No problem! This caught me out too when I did it!



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