
Announcements
I created a power automate flow to save this pdf file in the library.
But, is there anyway to save this pdf file to the SharePoint list as an attachment?
You can use the "Create item" action in Power Automate to add an attachment to a SharePoint list item. Here are the high-level steps to accomplish this:
Start with the "When a file is created in a folder" trigger, and specify the SharePoint folder where your PDF files are created.
Add a "Create item" action, and specify the SharePoint list where you want to store the PDF files as attachments.
In the "Create item" action, specify the relevant fields for the SharePoint list item.
To add the PDF file as an attachment, click "Add an attachment" under "Attachments" in the "Create item" action. Select the "File identifier" from the dynamic content pane, which will be the "Id" of the "Create file" action that created the PDF file.
Save and test the flow.
Note: Make sure that the SharePoint list has an attachment field enabled.