Blog  Post

Blog Post

Introducing the XML Create Action for AI Rule Engine

Apr 7, 2026   

We’re excited to announce the new XML create action for AI Rule Engine. If you already use the existing JSON create action to build structured payloads inside your workflows, this addition gives you a similar way to generate XML directly in the platform. That means teams working with XML-based systems, integrations, and downstream services can now build XML output without falling back to custom workarounds.

What This Means for You

With the XML create action, you can now:

  • Build XML Directly in a Rule Flow: Create structured XML as part of your workflow without relying on an external formatter step.
  • Work the Same Way You Do with JSON: Use a dedicated create action for XML that fits naturally alongside the existing JSON create action.
  • Save XML to Context: Generate XML and store the result in a context key for later steps in the same ruleset or workflow.
  • Support XML-Based Integrations More Easily: Prepare payloads for systems and APIs that still depend on XML documents.

Why This Matters

Many real-world business processes still depend on XML. Enterprise integrations, legacy systems, document-style payloads, and partner-facing interfaces often expect XML rather than JSON. Until now, teams that needed XML output had fewer native options when building those workflows.

The XML create action closes that gap. It brings the same core benefit that the JSON create action already provides for JSON-centric scenarios: a native way to define structured output inside AI Rule Engine itself. Instead of treating XML as a special-case format, you can now build it as a first-class part of your automation design.

Similar to JSON, Built for XML

This release is intentionally familiar. Teams already comfortable with the JSON create action will recognize the same overall value: define your output structure, save it to context, and use it downstream in the workflow. The difference is that this action is designed specifically for XML, so you can work with XML roots, elements, attributes, namespaces, and text content in a format that matches the structure you need to produce.

That makes it easier to support mixed integration environments where some systems expect JSON and others require XML. You can now model both formats natively inside AI Rule Engine.

A Practical Example: Generating an XML Payload for a Partner System

Imagine a workflow that collects order data, approval metadata, and customer information, then sends the final result to a partner system that expects XML. With the XML create action, you can assemble the required XML structure directly in the workflow, save it to context, and pass it to the next step for delivery or transformation.

This reduces friction for teams that need to support XML-based handoffs while keeping the workflow readable and maintainable inside AI Rule Engine.

How to Get Started

Getting started with the XML create action is straightforward:

  1. Open AI Rule Engine: Sign in to RuleEngine.ai and open the ruleset or workflow where you want to generate XML.
  2. Add the XML Create Action: Insert the new XML action where structured XML output needs to be created.
  3. Define the XML Structure: Build the XML root and add the elements, attributes, namespaces, and content your workflow requires.
  4. Save the Output to Context: Store the generated XML in a context key so later steps can use it.
  5. Continue the Workflow: Pass the XML to the next action, integration, or downstream process.

What’s Next?

The XML create action is part of our broader effort to make AI Rule Engine more useful in real integration environments, not just idealized ones. Teams often need to work across modern APIs, legacy platforms, and partner systems at the same time. Supporting both JSON and XML natively is an important step toward that goal.

We’re looking forward to seeing how teams use the XML create action to simplify structured payload generation and support more workflows without extra complexity.

Try It in the App

Ready to start generating XML directly inside your workflows? Visit RuleEngine.ai to explore the XML create action and use it alongside the existing JSON create action.

Happy building, The AI Rule Engine Team