cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ra1derActual
Frequent Visitor

Create SharePoint list item from OneDrive

I have a flow that stores a pdf in OneDrive.  How would I expand the flow to send the file to SP as a new list item (attachment).  

2 ACCEPTED SOLUTIONS

Accepted Solutions
PowerRanger
Super User
Super User

@Ra1derActual You need to use the "Create Item" and "Add attachment" action:

 

PowerRanger_0-1662014209617.png

 




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

PowerRanger
Super User
Super User

@Ra1derActual after you store the pdf file use the one drive get file content action. Use the output for file content in the add attachment action.




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

6 REPLIES 6
niklasjegg
Super User
Super User

Hi @Ra1derActual  pretty easy.

 

First use "Create Item" and then use "Add attachment" to that newly created item.

 

PowerRanger
Super User
Super User

@Ra1derActual You need to use the "Create Item" and "Add attachment" action:

 

PowerRanger_0-1662014209617.png

 




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.
Ra1derActual
Frequent Visitor

What goes under file content?

Any idea what i put for file content?  The item is being created but it's not attaching anything.

Any idea what i put for file content?  The item is being created but it's not attaching anything.

PowerRanger
Super User
Super User

@Ra1derActual after you store the pdf file use the one drive get file content action. Use the output for file content in the add attachment action.




​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,388)