I have a SharePoint list as follows, I want to send an email every time an user attach an Invoice including attachment
How can I do that from Power Automate?
Thank you
Osmand
Solved! Go to Solution.
Then just use the trigger when item is created.. ๐
Then you can use "Get Attachments" to get all the attachments and then "Get Attachment Content" to get the file content which you can use to attach to an email.
Create a flow with the trigger When a file is created (properties only)
you can do a condition to check for attachments if needed.
Hi @Gristy thank you for your reply.
Actually it is a list. I have an attachment for each Item I created, I want that attachment to send by an email
Osmand
Then just use the trigger when item is created.. ๐
Then you can use "Get Attachments" to get all the attachments and then "Get Attachment Content" to get the file content which you can use to attach to an email.
Dear @Gristy based on your guidance I made it. Thank you so much. It working very well.
One last question. In the list I have some information such as Invoice number, Location code. Is there a way to turn those information in to pdf and merge with the attachment which a pdf again and send as a one file?
I am not I am asking something impossible for now...
Osmand
yes you can come up with some HTML and then use the Encodian action to covert html to pdf. ๐
How can I create the HTML Table using Get Item. I can do that using Get Items, but i want to get the item I created. now it convert to pdf all the items in the list
Osmand
Hey @OsmandFernando
Building on @Gristy's top help so far.
Yes, you can merge multiple documents to create a single PDF using the Encodian connector, useful reference:
The following article will help ref creating documents from HTML, albeit this example creates a Word document... to create a PDF document just use the 'Convert HTML to PDF' action instead: Building Word Documents from Microsoft Forms Responses
HTH
Jay
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.