Library / Building Blocks & Utilities
Building Blocks & Utilities
Convert XML to JSON via Webhook
When a webhook receives an XML file or data, it converts it to JSON, returns it in the response and alerts Slack on errors.
What it does
## Response Where possible we will be returning a JSON object. { "status": "ok", "data": { // JSON DATA } } If there is an error { "status": "error", "data": "error message to display" }
The steps
- Extract From File
- Error Response
- POST
- XML
- Success Response
- Already JSON
- Change Field
- Switch
- Send to Error Channel
Similar automations