Hello Team,
I am trying to extract text from the image, but the flow should trigger when my email has attachments in jpeg, jpg format. I am unable to find the solution. I wonder if anyone can help me?
Thanks
Solved! Go to Solution.
Hello @solvepower - thanks for trying out AI Builder!
The following flow should accomplish what you're looking for. Make sure you set Include Attachments and Only with Attachments to Yes.
Let us know if this helps!
@JoeF-MSFT Thank you for the reply, I was wondering it should work the same way as we upload image manually and it extracts the text. So it should work like whenever I am receiving an image it should send a new email to me with the text details. let me know your thoughts
Hi @solvepower - absolutely! The following cookbook will help you: Extract Text from an image - Power Platform Community (microsoft.com)
Unable to create the email trigger that triggers email with jpeg/image attachments. Unable to apply the text recognition on those files(attachment). thanks
Hello @JoeF-MSFT !! Can you help m, please. I wonder if I don't want another email. it should just send a message with the text details on teams. Thanks
Hi @solvepower of course, let me see if I can help. 🙂 So you're looking that every time you receive an email message with a JPEG image attached, you want to extract all the text in the message and post it in Microsoft Teams?
Here's how to do it:
And this is how the Outlook trigger in your flow should look like:
I hope this helps! 🙂
Hi @JoeF-MSFT
Can you define these attachments like which one you used.( attachement content type, or id)?Mine is not working.
Hi @solvepower - in the condition that you're showing, you should use Attachments Content-Type.
If that doesn't work, you can instead build this condition with Attachments name
Let us know if this works better. 🙂
@JoeF-MSFT It didn't worked, Can you help in finding the solution or is there any other way to do it?
Thanks,
Thank you @solvepower! Two things I've noticed:
In the condition instead of is equal to, you should select contains
Hopefully with these changes, your flow will work. 😀
Wohoo! Great to hear that you got it working. Congrats!
To get more details on the error, can you click on Next failed? This will take you to the iteration that is failing. From there you should be able to see the action that failed and see a more detailed error message.