{
  "id": "1",
  "name": "ImapEmail, XmlToJson, POST-HTTP-Request",
  "nodes": [
    {
      "id": "trigger-b427f5b6",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        100,
        100
      ],
      "parameters": {}
    },
    {
      "name": "IMAP Email",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        450,
        450
      ],
      "parameters": {
        "options": {
          "allowUnauthorizedCerts": true
        },
        "downloadAttachments": true
      },
      "credentials": {
        "imap": ""
      },
      "typeVersion": 1,
      "id": "node-37c6a1e3"
    },
    {
      "name": "Move Binary Data",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        600,
        450
      ],
      "parameters": {
        "options": {
          "encoding": "utf8",
          "keepSource": false
        },
        "sourceKey": "attachment_0",
        "setAllData": false,
        "destinationKey": "xml"
      },
      "typeVersion": 1,
      "id": "node-db239e20"
    },
    {
      "name": "XML",
      "type": "n8n-nodes-base.xml",
      "position": [
        800,
        450
      ],
      "parameters": {
        "options": {
          "ignoreAttrs": true,
          "explicitRoot": true
        },
        "dataPropertyName": "xml"
      },
      "typeVersion": 1,
      "id": "node-f971fdcd"
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1210,
        450
      ],
      "parameters": {
        "url": "{{ $env.BASE_URL }}",
        "options": {
          "bodyContentType": "form-urlencoded"
        },
        "requestMethod": "POST",
        "responseFormat": "string",
        "bodyParametersUi": {
          "parameter": [
            {
              "name": "orderRequest",
              "value": "={{$node[\"Set\"].data}}"
            }
          ]
        },
        "dataPropertyName": "status",
        "allowUnauthorizedCerts": true
      },
      "typeVersion": 1,
      "id": "node-d8e836b2"
    },
    {
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        450
      ],
      "parameters": {
        "values": {
          "number": []
        }
      },
      "typeVersion": 1,
      "id": "node-5a2ba719"
    },
    {
      "id": "error-0822bcc8",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "active": true,
  "settings": {
    "errorWorkflow": null,
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3
  },
  "connections": {},
  "meta": {
    "instanceId": "workflow-1a7756da",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:45.790838",
    "updatedAt": "2025-09-29T07:07:45.790851",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "description": "Production-ready workflow: ImapEmail, XmlToJson, POST-HTTP-Request. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}