I’m trying to upload a PDF file to Google Gemini and process it afterward.
In Make.com, there are built-in modules like “Upload a File” and “Process with Gemini”, but I can’t find a direct way to do this in n8n.
I’ve attempted to send the file using an HTTP Request Node to the media.upload API (https://generativelanguage.googleapis.com/upload/v1beta/files), but I’m unsure how to correctly pass the file as binary data and then use it in a Gemini request.
Has anyone successfully done this in n8n?
Any workflow examples or guidance would be highly appreciated.