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
V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,838)