Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Use Ask for Slot value in a Set Intent action?

    Posted 01-19-2024 15:34
    No replies, thread closed.

    Does anyone know of a way to take the value captured with an Ask for Slot and then use that value in a Set Intent action?

    I've tried to achieve this in multiple ways and none of my attempts have been successful. Either it can't be done or I'm missing something. It's hard to imagine that this isn't possible though.

    Could someone please confirm this for me?

    Thx! 


    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Patrick Rohlf
    Summit Broadband
    ------------------------------


  • 2.  RE: Use Ask for Slot value in a Set Intent action?

    Posted 01-21-2024 17:09
    No replies, thread closed.

    Hi Patrick

    Could you share what you are trying to do, or even a snippet of your bot flow?

    Set Intent action doesn't always work the way you expect / want, it has a pretty singular purpose. 

    Set Intent action works fine if you set it before the ask for intent block, like so:



    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: Use Ask for Slot value in a Set Intent action?

    Posted 01-29-2024 12:35
    No replies, thread closed.

    @Anton Vroon,

    Thank you for the response. I apologize for the delay in replying. 

    Attached are some screenshots from my bot flow that might make it clearer what I'm trying to achieve.

    This is a simple example of a user responding to an Ask for Slot action, and my flow logic attempting to use that value to Set Intent action in an upcoming Ask for Intent action:





    I appreciate your assistance. Please let me know if you have any additional questions.

    Cheers.



    ------------------------------
    Patrick Rohlf
    Summit Broadband
    ------------------------------



  • 4.  RE: Use Ask for Slot value in a Set Intent action?
    Best Answer

    Posted 01-29-2024 14:20
    No replies, thread closed.

    I wish Set Intent worked this way, or that there was a clear Intent action, but alas no. As far as I am aware, once intent is set there is no resetting it without leaving the bot. Slots on the other hand, you can set, clear and re-set as much as you like.

    So generally I would either use slots instead of intents for this sort of use case, or spit out the intent as an output, and then in my inbound flow pass that back in as input in another bot flow call, either to the same bot or a different bot. 



    ------------------------------
    Anton Vroon
    ------------------------------



  • 5.  RE: Use Ask for Slot value in a Set Intent action?

    Posted 01-29-2024 16:26
    No replies, thread closed.

    Thank you for confirming.

    I find it odd that this use case wasn't considered for Set Intent actions, and even more odd that there is no way to clear the value from a Set Intent action. At the end of the day an Intent is just a specialized string variable that has been created for a specific purpose. These use cases seem like lost opportunities for streamlining Bot flows. 

    I think that I will create a suggestion in the Ideas portal to see if this is viable for a future change. 

    At least I don't need to keep searching around now. I appreciate the help. Have a good one. 



    ------------------------------
    Patrick Rohlf
    Summit Broadband
    ------------------------------