I would like to parse email event invitations (Gmail) that contain details within an image attachment (like a birthday invitation). Data will be extracted to go into specified fields and ultimately form a new calendar item.
I’m already extracting data from text based emails successfully and converting these into new calendar events. It’s the imagery that’s tripping me up.
I have seen a previous post about using DocParser to achieve this with PDFs, any suggestions for extracting data from a png or jpeg image?
Thanks in advance
Welcome to the Community
There’s an Analyze Image Content With Vision action for the ChatGPT app that you could potentially use for this:
You can give it some instructions like “Extract the text from this image” in the Message field and select the image file you want it to look at, from the email trigger in the Zap and it should be able to pull out the text from the image.
Hope that helps to get you pointed in the right direction. If you run into any issues on that just let us know - happy to help further!
Thank you! I’ll give that a try.
Hey @SamB
The above works brilliantly so long as the email attachment is in png or jpeg format - most images come through as jpg format. Is there any way around this or to convert the image extension? The image attachment is pulled directly from the email, I’d rather not have to put the image on a drive if possible.
Hi there
I’m jumping in to see if I can help!
You might need to use a file converter app like CloudConvert or any of our supported apps here: https://zapier.com/apps/categories/files
Hopefully, this helps!
Thank you! Solved now.
That’s awesome
Happy Zapping!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.