A community member has associated this post with a similar question:
validate the flow of file creation in sharepoint

Only moderators can edit this content.

Validation for files

Ananya Dixith 101 Reputation points
2022-05-18T05:06:26.713+00:00

Hi all..

I need to solve the follwing problem

Im working on moving files from azure blob storage to sharepoint library using Logic App.

I want to validate for a situation if a file is already present in SharePoint

I want to send a mail with a message to the recepient.

202970-image.png

I want to send this message with the file attached to recepient stating that this file is already present in the sharepoint document library.

Im using Logic App.

Please help me with this

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kamlesh Kumar 3,866 Reputation points
    2022-05-18T15:24:43.177+00:00

    Hi There,

    Thank you for asking this question on the Microsoft Q&A Platform.

    You can achieve it by three main steps:

    1. List the files/folders in your target SP folder
    2. Loop through each one and test whether its filename matches the one you want to use.
    3. Use the Condition block to determine what you want to do if the condition results in a Yes or a No.

    203105-image.png

    Regards,
    Kamlesh Kumar
    BizTalk Techie

    If this answer solved your problem, please click the Verify Answer button (found below the answer) to help other users who have the same question.