I am currently working with n8n and I have a requirement to extract attachments (usually images or PDFs) from Gmail emails, send these attachments to OpenAI assistant for processing, and then output the results. I am looking for guidance on which nodes to use and how to configure them to achieve this workflow.
If anyone has experience with this or can point me to relevant documentation or examples, I would greatly appreciate it.
Thanks for posting here and welcome to the community!
There are many ways to use the OpenAI nodes with n8n and to “feed” them with email attachments.
Perhaps this workflow will serve as an inspiration?
In general though, the PDF/image is passed to the OpenAI node as a binary file. There are many different ways to work with that. You could select one of the OpenAI nodes to work with files/images: