Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Trying to capture two pieces of data from an intent

    Posted 05-06-2025 16:18
    No replies, thread closed.

    It seems like this should be possible but I'm new to bot creation so I could use some guidance. 

    We're creating a digital bot for a messaging flow and we'd like to be able to ask the customer to provide either their email address or account number.   We'd store those in different slots depending on whether the response contains an @ symbol or not.  Is something like this possible?

    Thanks


    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Carlos Alonso
    Dow Jones & Company, Inc.
    ------------------------------


  • 2.  RE: Trying to capture two pieces of data from an intent

    Posted 05-07-2025 08:55
    No replies, thread closed.

    Hi Carlos,

    It makes sense to be able to do this, hopefully someone on the community can give you a good explanation of how to do this



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: Trying to capture two pieces of data from an intent
    Best Answer

    Posted 05-07-2025 17:20
    No replies, thread closed.

    You should be able to do this. Either create one slot to capture any value, and if string contains an @ assume it is an email if not assume it is an account number. Issue there of course is validating customer input, which is doable but requires some extra thinking.

    Or create two slots, both as regular expressions - finding a regular expression for email addresses - a google or LLM can find you one of those easily.

    Creating one for an account number format should be fairly straight forward too.

    As two slots:

    The key is here under utterances, I need to show it examples of what those slots will look like

    Then we just do a wait for input:

    Then in my task for the intents I'm just going to read back which slot is filled and the value

    end result

    Does that give you what you are after?



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



  • 4.  RE: Trying to capture two pieces of data from an intent

    Posted 05-20-2025 13:28
    No replies, thread closed.

    @Anton Vroon Thanks for the detailed response! That was exactly what I was looking for. 

    Best,
    Carlos



    ------------------------------
    Carlos Alonso
    Dow Jones & Company, Inc.
    ------------------------------