Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Answered

Add a variable within a trigger phrase

(0) ShareShare
ReportReport
Posted on by

Hi

 

Is it possible some how to include a variable within a Trigger question? Something like "Who are the resources in Brazil?"

 

This question triggers the corresponding topic and also has the "Brazil" variable embedded to be used in a Flow.

 

Thanks

 

Ezequiel

  • jcody Profile Picture
    jcody 6 on at
    Re: Add a variable within a trigger phrase

    It would be great if this was a feature
    To use Wildcards inside trigger phrases

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Add a variable within a trigger phrase

    Great, @ezequiel !

     

    Unfortunately, no. Today the chatbot doesn't recognize after the same choices selected.

    Maybe you have some topics with similar trigger phrases like "Who are the resources in Brazil", "resources", "who are", or something like that.

    I recommend you define different phrases and words inside the topics for your bot to understand better which is the best or right topic.

  • ezequiel Profile Picture
    ezequiel on at
    Re: Add a variable within a trigger phrase

    @renatoromao this helped! I tried it and it worked as expected. The only concern is that when I asked "Who are the resources in Brazil?" the bot first asks to confirm the Topic that should be triggered and once confirmed it recognizes "Brazil" and continues as expected. Is there a self-learning experience in the bot, meaning that once I confirm once or a couple of times that that is the correct Topic it won't ask again over and over?

     

    Thanks

     

    Ezequiel

  • renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Add a variable within a trigger phrase

    Hi @ezequiel ,

     

    Unfortunately, not yet.

    But you can do a workaround and will work well for you 🙂 

     

    1- Create a new entity (PVA Portal >> Entities)

    2- Inside your entity, insert the name, description, and inside the options (items, rows) like the countries: Brazil, United States, etc.

    3- Inside your topic, create a new question at the beginning of the topic using your Entity and change the variable name.

    4- When your user sends some phrases and starts this topic if the chatbot understand one country inside the phrase, will get this answer and not show the question to the user (will skip the question if the chatbot find Brazil, United States, or something like that configured inside the entity)

     

    I hope to help you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics