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 / power automate flow co...
Copilot Studio
Unanswered

power automate flow configuration in copilot AI agent

(1) ShareShare
ReportReport
Posted on by 19
I have a flow i want to implement in topics with a filter array action and up until this action the rest are okay. The filter array action is getting input but not giving output at all thus my problem starts from there.
The filter query i've given is as follows:
@or(
  equals(item()?['JournalNo'], triggerOutputs()?['body/UserInput']),
  equals(item()?['Id'], triggerOutputs()?['body/UserInput']),
  equals(item()?['TAId'], triggerOutputs()?['body/UserInput']),
  equals(item()?['SystemCode'], triggerOutputs()?['body/UserInput'])
)
Unfortunately chatgpt is taking me in circles but the goal of this flow is:

The agent:
Accept user input: either JournalNo, TAId, Id, or SystemCode.

Use an Excel file (in SharePoint) to map between these fields.

Find the folder named using either Id/TAId/SystemCode related to the user's input in a fixed SharePoint path

Return all documents inside the matching folder.

Provide a summary for each document along with a direct clickable link.


someone please kindly help.

 

I have the same question (0)
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    I would like to know your output from 'ResolvedFolderName' or the input of the 'Get folder Files' .
    We can debug from here.
  • Romain The Low-Code Bearded Bear Profile Picture
    2,111 Super User 2025 Season 2 on at
    i will recommand you a sharepoint to list to make you mapping, much easy way to manipulate it.
     
     
  • JM-16050834-0 Profile Picture
    19 on at
    @stampcoin
    unfortunately anything below the filter array doesnt have output. The input for ResolvedFolderName is:
    if(empty(first(body('Filter_Match_Row'))?['Id']),
      if(empty(first(body('Filter_Match_Row'))?['TAId']),
        first(body('Filter_Match_Row'))?['SystemCode'],
        first(body('Filter_Match_Row'))?['TAId']
      ),
      first(body('Filter_Match_Row'))?['Id']
    )

    the input for Get Folder Files is ;
  • JM-16050834-0 Profile Picture
    19 on at
    @Romain The Low-Code Bearded Bear
    Sorry i didnt understand your response. Can you give more details on it i try it?
     
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    What I mean is when you test it , it has input and output data. 
    please share those two. especially the output it tells clue.
    you can click 'Show raw outputs'
     
  • Veddd007 Profile Picture
    41 on at
    Please check if there is a type mismatch. The columns you've mentioned seem to be of type 'number'. Is the input to the flow also same? If both are of type string then consider using trim and lower function on both sides to ensure consistency while checking. Hope it helps !
  • JM-16050834-0 Profile Picture
    19 on at
    @
    Hello, i'll attach some screenshots and some copies (due to restrictions) of the inputs and outputs to help.
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Sorry, I didn't receive the notification ( it happens now and then).
    I notice that your Filter match Row, doesn't match anything. 
    What is the filter query ?
  • JM-16050834-0 Profile Picture
    19 on at
    @stampcoin the filter query for Filter Match Row is:
    or(
      equals(item()?['JournalNo'], triggerOutputs()?['body/UserInput']),
      equals(item()?['Id'], triggerOutputs()?['body/UserInput']),
      equals(item()?['TAId'], triggerOutputs()?['body/UserInput']),
      equals(item()?['SystemCode'], triggerOutputs()?['body/UserInput'])
    )

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