Convert large XML to PDF using standard n8n nodes

Hi n8n Community,

I’m working on a workflow where I need to:

  1. Receive an XML file via an HTTP request or from a public URL (like GitHub).
  2. Transform that XML into an HTML or structured format.
  3. Feed that content into an AI Agent to generate a clean PDF file.
  4. Send the generated PDF file back via Telegram.

My current limitations:

  • I want to avoid using the Code node.
  • I’m trying to rely entirely on visual/standard n8n nodes.
  • The XML file is large (30+ MB), so parsing fails or overloads the server.
  • Even when using HTTP Request + Edit Fields + XML node combo, I get parsing errors or flat string outputs.
  • AI Agent won’t generate PDF output directly, and I’m unsure how to use the FileMaker/Tool agent combo (tried Tools AI Agent but maybe misconfigured).

Main question:
Is there a better way to:

  • Safely transform and parse large XML into usable structured data?
  • Feed that to an AI Agent or another node to generate a downloadable PDF?

I’d really appreciate any examples or use cases you’ve seen or built. Even a sample working XML-to-PDF flow would be huge.

Thanks in advance!