Qubitro Documentation
SupportLog inSign Up
  • Documentation
  • Guides
  • Developers
  • Welcome
  • Data Sources
    • No-Code Integrations
      • Onomondo
      • Notehub
      • The Things Stack
      • Soracom
      • Loriot
      • 1NCE
      • Golioth
      • AWS IoT Core LoRaWAN
      • Actility ThingPark
      • Chirpstack
      • Particle
    • MQTT
    • HTTP
  • Platform
    • Project
      • Settings
      • Access Management
      • Roles & Permissions
    • Device
      • Settings
    • Storage
      • Time Series Storage
    • Functions
      • Decoder Function
        • LoRaWAN Device Template Decoder
        • LoRaWAN Custom Decoder
        • Hex Payload Decoder
      • Transformation Function
      • Rule Function
        • Send Email
        • Webhooks
        • Slack
        • Twilio
        • Mailgun
        • SendGrid
      • Storage Function
        • AWS Redshift
        • Google BigQuery
        • MQTT Publish
        • MongoDB Time Series
      • Scheduled Function
        • HTTP
      • Function Settings
      • Function Templates
        • Settings
    • Monitoring
      • Dashboards
        • Setup & Configuration
        • Widgets
          • Chart
          • State Timeline
          • Gauge
          • Stat
          • Headline
          • Aggregated Chart
          • Map
          • Battery
          • Image
          • Image Map
          • Table
          • Storage Table
          • Iframe
          • Blob Storage
        • Settings
        • Access Management
        • Roles & Permission
      • Blueprints
        • Setup & Configuration
        • Settings
    • Credentials
      • API Keys
      • External Credentials
        • Slack
        • Mailgun
        • SendGrid
        • Twilio
        • AWS Redshift
        • MQTT
        • MongoDB
        • The Things Stack
      • Webhook Signing Key
  • Add-Ons
    • Storage Views
    • Aggregated View
    • Archived Views
    • Blob Storage
    • Managed Email
    • Audit Log
    • MCP Server
  • Organizations
    • Overview
    • General
    • Groups
    • Members & Roles
      • Read Only
      • Read/Write
      • Admin
    • Custom Roles
    • Add-Ons
    • Billing
    • Invoices
    • White-Label
  • Account Management
    • Personal Accounts
Powered by GitBook
On this page
  • Overview
  • How Transformation Functions Work
  • JSONata for Data Transformation
  • Creating a Transformation Function
Export as PDF
  1. Platform
  2. Functions

Transformation Function

Transformation Functions allow you to modify, rename, and structure incoming data.

PreviousHex Payload DecoderNextRule Function

Last updated 2 months ago

Overview

A Transformation Function in Qubitro allows you to modify, rename, and structure incoming data before it is stored or used for automation.

How Transformation Functions Work

Transformation Functions run after Decoder Functions in a system-level order and cannot be changed.

JSONata for Data Transformation

Transformation Functions in Qubitro use , a lightweight query and transformation language designed for JSON data.

JSONata is optimized for real-time data processing, allowing flexible modifications without complex scripting.

For examples and best practices, check out our guidance.

Creating a Transformation Function

Transformation functions can be created from the Functions tab in the device details page:

1

Open the Functions Tab

  1. Navigate to the device details page in the Qubitro Portal.

  2. Click the Functions tab.

  3. Click Create function and select Transformation Function.

  4. Choose JSONata as the function type.

2

Write the JSONata Expression

  1. Enter your JSONata transformation logic in the editor.

  2. Modify, restructure, or filter data as needed.

  3. Click Test to validate the transformation output.

3

Save and Apply the Function

  1. Click Save and complete to activate the function.

  2. The function will now automatically process all incoming data for this device.

Transformation functions can be activated during creation or manually enabled/disabled under the Configuration page in the Device Settings.

JSONata
How to Use JSONata for Real-Time Data Transformation in Qubitro | Qubitro Documentation
Logo