web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA + Power Automate |...
Copilot Studio
Unanswered

PVA + Power Automate | Help: Flow

(0) ShareShare
ReportReport
Posted on by 3

Hi dear colleagues,

 

I need you help regarding a flow in Power Automate.

 

I have created a flow to return values from an excel table to PVA. Basically, in PVA user write a name of an account/company managed by my team, this company name is the imput used to look up this value in the table and return the column with the account manager name of this corresponding line. The point is I am not having success in two situations:

 

  1. User types partial name of the account, not matching exactly with data in Excel, and then an error due for this. Example: User inform to bot "Exxon" and in excel data is "Exxon Mobil". How should I add a condition where in the flow where I return a column when a certain cell "contains" part of the text informed in chatbot?
  2. Error if user types a company/account name not listed in table. How should I create a rule if value is not find in table, return a text like "this is not a managed account"?

 

I am adding here some screenshots to illustate:

 

Excel Table:

AllysonMuller_1-1698289535184.png

 

Flow:

AllysonMuller_2-1698289582208.png

 

Success test: Bot ask user to type account name: "basf" and flow returns the name of its manager "Andrea":

 

AllysonMuller_4-1698289660752.png

 

Error as point 1 mentioned above - User type "BTG" while data in table is "BTG Pactual", with this an error is faced:

AllysonMuller_5-1698289701221.png

 

Error 2 as mentioned above: User types an account which is not listed in the table "panasonic"

 

AllysonMuller_6-1698289766157.png

 

Many thanks in advance for all help and support.

 

Best wishes,

Allyson

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    You can do a Filter Array in the flow after retrieving all the rows from the table. Set the array filter to use the operator Starts With or Contains depending on whether you want to force the user to get the first part right or just any partial word in the name. 

     

    Then use a condition on the output of the filter array and check the length of the output. If no match was found it will be 0. If a match was found it will be 1. Set variables in the yes or no side based on what you want to send back to the bot.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard