Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. Extract From File
  2. Error Response
  3. POST
  4. XML
  5. Success Response
  6. Already JSON
  7. Change Field
  8. Switch
  9. Send to Error Channel

Similar automations