Power Automate Exchange

Please login or click SIGN UP FOR FREE to create your FlowUG account to join this user group.
 View Only
  • 1.  Add attachments to sharepoint list item

    Bronze Contributor
    Posted Jun 07, 2022 10:48 AM
    I have created a flow that adds attachments from onedrive to a sharepoint list.  When it adds more than one, it populates that name of the file correctly but the content of the file is the same file.  What am I missing or is there a better way to attach more than one file to a sharepoint list?

    Error when it runs


    ------------------------------
    TButler
    ------------------------------


  • 2.  RE: Add attachments to sharepoint list item

    Posted Jun 08, 2022 04:28 AM
    Hello @Tequilla Butler

    I don't follow all you are trying to do but logically:

    1) You need a trigger
    2) You need to find the item in the Sharepoint list
    3) You need to get a list of the attachments
    4) FOR EACH attachment you need to
    5) Get a file name, a file content and write the file to where you want it to be

    I can't see a get content statement inside your FOR EACH loop.  So the flow will use the same content for every file

    Hope this helps, Guy


    ------------------------------
    Guy Boswell
    Care for the Family
    Newport
    02920810800
    ------------------------------