Skip to main content

Ubidots Webhook

Ubidots makes it easy to white-label visualizations to produce a branded version of your service for end customers. You can also create end-users who have access to their own custom dashboards. This example demonstrates accepting a CBOR data payload, translating it to JSON, then delivering it to Ubidots via the Webhook data destination.

Reminder

Make sure to replace the url with the correct Ubidots URL for your integration, and create a secret named UBIDOTS_API_TOKEN with your Ubidots API token.

filter:
path: "*"
content_type: application/cbor
steps:
- name: step-0
transformer:
type: cbor-to-json
version: v1
destination:
type: webhook
version: v1
parameters:
url: https://dataplugin.ubidots.com/api/web-hook/CyrUiJrCW8b_gOanCyUfRShKpK0=
headers:
X-Auth-Token: $UBIDOTS_API_TOKEN