XML Agent

Turn XML files into structured data you can map and transform.

What it does

  • Parses XML input and returns a structured object while letting you choose how to handle attributes and whitespace.

Common uses

  • Read EDI-style or legacy XML feeds into a workflow.
  • Normalize XML before mapping fields to JSON.
  • Strip attributes or whitespace to simplify downstream steps.

Key actions from the spec

  • Accepts raw XML (text, base64, or file) with specified encoding.
  • Options to include attributes, preserve text nodes, and trim whitespace.

Setup notes

  • Check the encoding (for example, UTF-8) and whether attributes are needed before parsing.
  • Large XML files may need upstream filtering before processing in memory.