Workflow template to parse and unify email attachments for AI processing

Hi everyone!

I’m working on a workflow where I receive emails with various types of attachments — PDFs, images, XML, Word docs, Google Docs, etc. I want to process the content of these attachments alongside the email body in a unified prompt to an AI like OpenAI or Deepseek.

Before I build this from scratch, I’m wondering:

:point_right: Has anyone here already built a template or workflow that does this?

Ideally, I’d like to:

  • Automatically detect and extract content from attachments of various formats
  • Convert them into a consistent, AI-readable format (like plain text or markdown)
  • Merge that with the email content and send it to an AI model via API

If anyone has something similar or can share tips (modules, parsers, plugins, or nodes used), I’d really appreciate it.

Thanks in advance! :pray: