Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Create a row in Sharepoint list, based on 2 other lists

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I'm looking for a automated flow to have an overview of instructions of all our employees.

When adding a new employ in a Sharepointlist & function (list 1), I want to add info to a list(List 3) based on List 2, so we got an overview of necessary signed instructions. Its a combination of List 1+2.

 

List 3 will have data from all added names with the relevant instructions.

Any suggestions? 🙂

  • rzaneti Profile Picture
    3,787 Super User 2025 Season 1 on at
    Re: Create a row in Sharepoint list, based on 2 other lists

    Hi @Dries2 ,

     

    I'm not sure if you can create a Form with dynamic content in Microsoft Forms. It is easy to create a form with a "fixed" content that just collect data, but it is not possible (as far as I know) create a Form that contains, for example, an employee name field where you can select all of the available users.

     

    However, you definitively can create a Power App for that, which will not be difficult and may allow you to perform a lot of other customizations. 

     

    The only problem is that you may find some barriers with the Power Apps licensing: you may need to pay an specific subscription by each App or by each user that uses it. 

     

    We can also brainstorm other not so 'user friendly' options if you prefer!

  • Dries2 Profile Picture
    2 on at
    Re: Create a row in Sharepoint list, based on 2 other lists

    Hey

    Very helpful! Thanks a lot!

     

    Would there be a way to use this new list for adding the data 'signed' and 'data' with a simple view?

    It would be nice if I would be able to create a form so i can select 'George'. and i can add the missing info 'date' and 'signed'. What do you think? 🙂

  • rzaneti Profile Picture
    3,787 Super User 2025 Season 1 on at
    Re: Create a row in Sharepoint list, based on 2 other lists

    Hi @Dries2 ,

     

    Here is an idea for you. First, your 3 lists:

     

    Employees

    rzaneti_0-1686770083397.png

     

    Instructions

    rzaneti_1-1686770112211.png

     

     

    Employees_instructions

    rzaneti_2-1686770121921.png

    For this last one, I added a 'Signed' column to control the instructions that were already received by the employee (it a 'Yes/No' data type). 

     

    Step 1 - Flow trigger

    Your flow will start with a trigger 'When an item is created', from SharePoint connector. You will populate the trigger with the 'employee' SharePoint List and it will run automatically for any new item that you insert in the employee List:

    rzaneti_5-1686770746591.png

     

     

    Step 2 - Check the job title instructions

    For each new employee added to your SharePoint List, you will inform the 'job title'. So you will add a 'Get items' action in your flow (be careful, because there is also an action called 'Get Item', without 's'), to filter all instructions related to the job title of the new employee.

     

    For doing this, you will select the 'instructions' list, and pass the following expression in the Filter Query: ColumnName eq 'Job title'. Make sure to pass the 'Job title' as dynamic value and to let it inside simple quotes. Also, make sure to edit the column name according to your specific case (in my List, the column is named as 'Title', as you will see below). the 'eq' operator means 'equal', so you will be basically filtering the 'instructions' List for all records where 'job title' equals to the position of the new employee.

     

    Also, if you do not see the filter query, click in 'Show advanced options'.

    rzaneti_4-1686770725300.png

     

    Step 3 - Loop the instructions output and populate employee_instructions List:

    Finally, you will run all records found in your 'Get items' action and apply a new row into employee_instructions List for each one of them, combining data from both lists. For doing this, you will add a loop ('Apply to each' action) and pass the 'value' property from 'Get Items' as source. 

     

    Inside the loop, you will add the action 'Create item', select your employee_instructions List and populate each field with the dynamic properties from the previous actions: the employee name (in my case, named 'Title') and job title from the trigger (employee List), and the Instruction from the instructions List. 

    rzaneti_6-1686771109877.png

     

    Final result

    After adding 'George' as 'Operator' in your employee List, the employee_instructions list may look like this:

    rzaneti_7-1686771176330.png

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow