Hi everyone,
I just created a flow to create a word doc and convert it to pdf. Now the fact is that I want to add the pdf (created in my flow) in an attachment column from a SP list item. I know I can do this with the (add attachment) functionality in Power Automate, but when there already exists a file with the same name in that column, I get the error that the file with that name already exists in that column (which is logical).
So my question is if there is any way possible to check if a file already exists in a attachment column and if it does, that the old file can be replaced by the new file.
Thank you in advance.
Kind regards,
Ilias Benabdellah
Hi Qi,
Can you explain what to put in "Id" and "File Identifier" columns of the "Delete Attachment" function?
Kind regards,
Stefan
Hi @Ilias_ben95,
Do you want to delete the existing file and replace it with the new added one?
Could you please share a bit more about your scenario?
Actually, you should check the display name firstly, if yes, delete the previous file and then add the new attachment:
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2