Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to add a condition to a flow so it triggers only when a specific column has a value

(0) ShareShare
ReportReport
Posted on by 25

Hi

 

I'd like to set up a flow that is triggered when a value is entered into a specific column on a list item.

For example...

 

When staff set up an appointment on site, they add the appointment to a list called 'Site Visits'.

When a new item is added, this already triggers an email to the admin team who then create a risk assessment. When this risk assessment is available, the url for the file is added to the original list item.

It then needs to be accepted by the staff member who created the appointment so I'd like an approval email to be sent to them when the admin team have added the url to the list.

 

Can anyone tell me how to set this up please?

 

Thanks

  • AngelinaSpring Profile Picture
    25 on at
    Re: How to add a condition to a flow so it triggers only when a specific column has a value

    Hi - thanks for your quick response!

     

    I've tested this, and it works in that I receive an email, however I receive that message regardless of whether or not there is a URL in the list item field so I think I may be missing a step.

     

    Further information below - if you're able to help it would be very much appreciated.

     

    The list item is created by a member of staff - at this point the 'Risk Assessment' column will be blank.

    The Admin team receive an email highlighting a new item has been created.

    The Risk Assessment file (word document) is create by an administrator and the Sharepoint url for the file is pasted into the 'Risk Assessment' column for the list item .

    Column type is Hyperlink or Picture.

     

    At this point I would like the original creator of the email to receive a request to accept the risk assessment, including a link to the url of the file.

     

    Thank you!

  • v-xida-msft Profile Picture
    on at
    Re: How to add a condition to a flow so it triggers only when a specific column has a value

    Hi @AngelinaSpring,

     

    Could you please show a bit more about your SharePoint list?

    Do you want the flow to be triggered when the url for the file is added to the original list item?

    Further, how does the url for the file is added to the original list item?

     

    I suppose that you want the flow to be triggered when a specific column is filled with the url for the risk assessment file, is it true?  I have made a test on my side and please take a try with the following workaround:

    • Add a "When an item is created" trigger, specify Site Address and List Name.
    • Add a "Send an email" action.
    • Add a "Do Until" action, click "Edit in advanced mode", type the following formula:
    @not(empty(body('Get_item')?['File_x0020_URL0']))
    • Within "Do Until" action, add a "Get item" action, specify Site Address and List Name, Id field set to ID dynamic content of the trigger.
    • Under the "Do Until" action, add a "Start an approval" action.

    Image reference:7.JPG

     

    8.JPG

    The flow works successfully as below:9.JPG

    Best regards,

    Kris

     

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,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow