Hi,
I made a flow that will send email of stored attachments in SharePoint list as email when a value in SharePoint list is modified.
what is happening now that i will get all stored attachment in SharePoint.
my goal is to get only the latest added attachment when the value in SharePoint list is modified.
my flow is running like bellow:



what I can modify in this flow that will help me to get only the latest added attachment in the list.
i have tried also to use last(outputs('Get_attachments')?['body'])?['Id'] as ID in get attachment content
thank you