PowerAutomate (Get File Content) within UiPath

Hi All,

I am trying to replicate an Automation I have working in PowerAutomate flow in UiPath (cant use powerautomate in production.)

I am having a little difficulty uploading the document, but there is one step within PowerAutomate (Get File Content), that I am not sure how to replicate in UiPath?

Has anyone done this before?

1 Like

Hey @barryrodick

Looks like you are getting the file binary contents.

In UiPath, Just use an Assign as below…

str_B64FileContents = Convert.ToBase64String(System.IO.File.ReadAllBytes(File_Path))

Hope that helps.


Thank you!

1 Like

Cool buddy @barryrodick :slightly_smiling_face::white_check_mark:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.