Library / Finance, Invoices & Accounting
Finance, Invoices & Accounting
Fetch Euro Exchange Rates via Webhook and Convert XML to JSON
Runs when a webhook is called, fetches the euro foreign exchange reference rates with a cache-busting parameter, and returns them as JSON.
What it does
## Note * The HTTP request adds a randomized URL parameter to ensure getting the latest data by prevent caching. * The provided data is XML-formatted and therefore converted to JSON formatting. Read more about Euro foreign exchange reference rates [here]({{ $env.WEBHOOK_URL }}
The steps
- Respond All Items
- Respond Asked Item
- Incoming Webhook Trigger
- Get latest Euro exchange rates
- Convert XML to JSON
- Split Out Data
- If Webhook Trigger has URL query
- Filter the currency symbol
Similar automations