I'm having an issue with a flow that I'm using which is only supposed to trigger "when an item or file is modified".
I have a Power Apps form that is linked to a SharePoint list. I have noticed that when I submit this form and create a new item in my SharePoint list I get an email from my flow that is only supposed to trigger when an item or file is modified.
I did some investigation into the issue and believe I have found the root cause.
I used Power Apps monitor to check the calls that occur when I submit this form back to the SharePoint list

You can see that when the form is submitted, there is a patch request that creates the item in the SharePoint list with all the data.
However, very quickly after there is this "createAttachment" request that the network calls.

We can see this is a "Post" request and is posting data to the SharePoint list.
When I inspect the flow that has ran as a result of this I can see the created and modified times are different

Hence, the flow is running due to the file being "modified" even though I only just created the item entry.
Is there a fix or this or a way to avoid the flow running when I'm just creating an entry?