Catalog feed — XML in, JSON out, XML back
A supplier still speaks XML: convert their product feed to JSON, enrich it with Transform, and answer back in their dialect with JSON→XML.
What’s inside
5 nodes — every type links to its full reference page.
| Step | Node | Type |
|---|---|---|
| Supplier XML | Inject | input.inject |
| XML → JSON | XML To JSON | processing.xml-to-json |
| Enrich | Transform | processing.transform |
| JSON → XML | JSON To XML | processing.json-to-xml |
| XML reply | Console | utility.console |
Import it
- Studio → Import — paste the JSON below (or the URL
/docs/templates/catalog-feed-xml-in-json-out-xml-back.json). - Or ask the AI Copilot with the JSON pasted after the phrase:
import this workflow json into a new workflow named "Catalog feed — XML in, JSON out, XML back" - Any credentials the nodes need are
${credential.…}references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 5 node types)
{
"schemaVersion": "flowdrome.workflow.v1",
"id": "",
"name": "Catalog feed — XML in, JSON out, XML back",
"version": "0",
"status": "draft",
"nodes": [
{
"id": "seed",
"type": "input.inject",
"label": "Supplier XML",
"category": "trigger",
"config": {
"contentType": "application/json",
"payload": "<catalog><product><sku>WID-1</sku><name>Widget</name><price>10.00</price></product></catalog>"
},
"position": {
"x": 0,
"y": 0
}
},
{
"id": "toJson",
"type": "processing.xml-to-json",
"label": "XML → JSON",
"category": "processing",
"config": {},
"position": {
"x": 530,
"y": 0
}
},
{
"id": "enrich",
"type": "processing.transform",
"label": "Enrich",
"category": "processing",
"config": {
"operations": [
{
"op": "set",
"path": "importedAt",
"value": "today"
},
{
"op": "set",
"path": "currency",
"value": "USD"
}
]
},
"position": {
"x": 1060,
"y": 0
}
},
{
"id": "toXml",
"type": "processing.json-to-xml",
"label": "JSON → XML",
"category": "processing",
"config": {
"rootName": "Reply"
},
"position": {
"x": 1590,
"y": 0
}
},
{
"id": "out",
"type": "utility.console",
"label": "XML reply",
"category": "utility",
"config": {
"message": "Reply for the supplier: {{ $json }}"
},
"position": {
"x": 2120,
"y": 0
}
}
],
"edges": [
{
"id": "e0",
"sourceNodeId": "seed",
"sourcePort": "output",
"targetNodeId": "toJson",
"targetPort": "input"
},
{
"id": "e1",
"sourceNodeId": "toJson",
"sourcePort": "output",
"targetNodeId": "enrich",
"targetPort": "input"
},
{
"id": "e2",
"sourceNodeId": "enrich",
"sourcePort": "output",
"targetNodeId": "toXml",
"targetPort": "input"
},
{
"id": "e3",
"sourceNodeId": "toXml",
"sourcePort": "output",
"targetNodeId": "out",
"targetPort": "input"
}
],
"triggers": [
{
"id": "t0",
"nodeId": "seed"
}
],
"meta": {
"snippets": [],
"source": "template-gallery",
"description": "A supplier still speaks XML: convert their product feed to JSON, enrich it with Transform, and answer back in their dialect with JSON→XML."
}
} Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: catalog-feed-xml-in-json-out-xml-back.json.