Attachments in Power Automate

Hi,

I am passing data from PowerApps to Plumsail using a flow. I am trying to pass attachments but the flow keeps failing.

In Powerapps I have the File name, File Type, and Base64 of the file all as separate variables I pass them to Power Automate as JSON I then Parse the JSON and amend an array variable in the flow like this:

image

But when it tries to add that array to the Plumsail connector is fails because the Plumsail connector see's it like this:

image

What am I doing wrong? As the format of the Plumsail connectors Attachment array should match my Format in my array append as from other flow I have done that just attaches things straight from SharePoint it looks like this:

Thanks,
David

Hello David! Please check this article for a better understanding of how should be built an array of attachments. And here is my advice:

  • don't use the square brackets when appending to the array variable,
  • pass dynamic content from your flow as values for the object's properties:
    image
  • don't forget to switch the mode of providing attachments when using the HelpDesk action:

1 Like

Hi @Evgeniy,

Thanks so much for this. All I needed to do was lose the square brackets and that solved the issue.

Have a great day.

Thanks,
David

1 Like