Previously I was calling the flow from power app and I was then passing the image value like this :
AIFlow.Run(JSON( colImages, IncludeBinaryData ))
and then in the flow I was parsing json and when I use to pass the image to AI builder text recognizer it would work fine.
This is how my input use to look in this case :
Now when I call the flow when a new file is created, I get the file content which looks like this :
and this gives me error
How can I get the image file content from SharePoint library and then pass it to AI builder text recognizer ? Or How do I make the input string like earlier ? "data:image/jpeg;base64,/9j/4QBqRXhpZgAAT............." from "/9j/4AAQSkZJRgABAQEAYABgAA"
When a new file is uploaded in library I need to pass it to AI builder text recognizer and extract the text.
Solved! Go to Solution.
Now the flow will run when the file is uploaded in SharePoint and there is no powerapps in picture, the flow is triggered when a new file is uploaded and when i use get file content action it gives me string like this :
Keep up to date with current events and community announcements in the Power Automate community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!