Hi @sonaliaggarwal47 ,
Use “Get List Items” Activity
Retrieve the items from the SharePoint List.
Store the ID of the list item that has attachments.
- Use “Send HTTP Request” Activity (or MS Graph API if needed)
Make an API call to fetch attachment details for a specific list item.
The URL format for SharePoint REST API:
https:///_api/web/lists/getbytitle(‘’)/items()/AttachmentFiles
Headers Required:
Accept: application/json;odata=verbose
Authorization: Bearer (if needed)
- Extract Attachment URLs
The API response will return a list of attachments with their URLs.
Parse the JSON response to extract the ServerRelativeUrl or AbsoluteUrl.
- Use “Download File” Activity
Use the extracted URL to download the attachment and save it locally.
Regards,
Arivu