cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fdputhuff
New Member

Can I check an UnrecognizedTriggerPhrase variable in a chat BOT for spaces?

If an input in my Virtual Agent triggers the Fallback, can I take the UnrecognizedTriggerPhrase variable and see if it contains spaces?

 

  • If it has spaces, I want to write a message and wait for the next normal user input
  • If there are no spaces, I want to wait for the next normal user input

 

Do we have enough flexibility to do this?

 

Frank P.

Dell Technologies

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @fdputhuff ,

 

If you are using the System fallback topic, I recommend you to create a workflow with Power Automate and validate it using expressions. Pass your variable as input and validate inside your workflow, after that, return a result as a message using output or create a condition in your topic using the PA output.

Use a system fallback topic - Power Virtual Agents | Microsoft Docs

Solved: Condition body contains with spaces - Power Platform Community (microsoft.com) -> Like input contains " " "


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

1 REPLY 1
renatoromao
Super User
Super User

Hi @fdputhuff ,

 

If you are using the System fallback topic, I recommend you to create a workflow with Power Automate and validate it using expressions. Pass your variable as input and validate inside your workflow, after that, return a result as a message using output or create a condition in your topic using the PA output.

Use a system fallback topic - Power Virtual Agents | Microsoft Docs

Solved: Condition body contains with spaces - Power Platform Community (microsoft.com) -> Like input contains " " "


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

Helpful resources

Announcements
PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Users online (2,005)