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 :
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.