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 / Power Automate / Creating A workflow ba...
Power Automate
Suggested Answer

Creating A workflow based on Lists

(1) ShareShare
ReportReport
Posted on by 23
Hello Everyone,
 
I am really in need of help.
I have two lists (inventory and orders) in a channel (inventory management). Inventory has 72 rows and 15 columns while orders list has 216 rows and 12 columns. 
I want to create a scheduled workflow in which all information from these two lists will be retrieved into an xlsm file. 
I have done these ways:
1. recurrence
2. get items- inventory
3. get items - orders
4. create a file
5. add a row into table. 
 
but these actions seem likely not to work.
Can anyone actually give the right steps?
I am okay with the raw action steps.
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,442 Super User 2025 Season 2 on at
    Hi,
     
    Why would they not work?
     
    1) You haven't explained exactly the format you would want since you said a single file. Are there columns with the same name? Let's assume not
     
    2) You don't explain the relationships, so how are you going to combine the 72, with 216 since they are not a 1:1 match??
     
    3) you don't explain if Inventory will have a 1:M relationship with Orders??? so are you printing multiple Rows, that duplicate inventory?? Or does each row in an 
    order near to find the inventory..
     
    4) make a CSV file and open it in Excel, don't worry about it being XLSM
     
    So much missing
     
    Without the knowledge of how they 2 lists connect, its impossible to give you specific details, but here are the raw steps
     
     
     
    1. Create Schedule Flow
    1.b Create an Array or a string (array works better) just make it null to start
    2. Get items from the list that you want to FIND if the other list has data for it.
    Let's assume its Orders
     
    3. Do an Apply to each
    3a. Do a Get Items, but with a Filter, using the ID from #2, that allows you to find the Inventory row
    3b. Append the row of data (from both Get Items) onto the Array you created
     
    4. When the Apply to each is done do a Create File (SharePoint or One Drive) with the content being the Variable
     
    Done
     
     

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard