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
Solved! Go to Solution.
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:
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: