AI Agent with Gemini: OCR works for JPEG but not for PDF files

Hi @Leonardo_Vale Welcome
Currently AI agents do not handle files like that directly, there 2 things you can do first convert the PDF to images before the Agent and let Gemini OCR those and then process them further into the flow, second you can skip the Agent directly and convert the PDF to binary and then directly send that to the Gemini node and then let it analyze that document and process it further.

Consider reading this for more info about how to actually process PDFs: