Products
Execute Python or JavaScript functions triggered by device events, schedules, or webhooks — no infrastructure to manage.




How it Works
UbiFunctions lets you write and deploy serverless code directly inside Ubidots, triggered by the events that matter to your operation.
Choose Python or JavaScript and write your logic in the built-in code editor. Import external libraries, define environment variables, and configure your trigger — all from a single interface.




Attach your function to a device variable, a time-based schedule, or an inbound webhook. Functions run automatically when conditions are met, keeping your pipeline reactive and up to date.
Push computed values back to Ubidots variables, send alerts, call external APIs, or update dashboards. UbiFunctions bridges raw sensor data and the business logic your team needs.


Key Features

Write and edit Python or JavaScript directly in the browser with syntax highlighting and error feedback.

Fire functions on device variable updates, incoming webhooks, or time-based schedules.

Choose your preferred language and import third-party libraries without any configuration.

Store API keys, credentials, and config values securely outside your function code.

Read and write device variables, create events, and query historical data from within your function.

View real-time logs for every function run to debug, monitor, and audit your logic.

Expose functions as HTTP endpoints to receive data from external services and third-party platforms.

Run functions on a cron-based schedule for periodic data aggregation, reporting, or maintenance tasks.

Configure retry behavior and receive notifications when functions fail to keep your pipeline reliable.


AgroTech Solutions replaced a custom backend server with 12 lightweight Python functions, cutting infrastructure costs and deployment time significantly.
Replaced a dedicated backend server with serverless functions, reducing monthly infrastructure cost by 60%.
Automated irrigation control logic that previously required manual intervention, saving 8 hours of operator time per week.
Reduced time-to-deploy new business logic from days to minutes using UbiFunctions' built-in editor.
Success Story


Use Cases

Tom Ulanowski
Co-Founder
Quantify Environmental uses Ubidots to monitor utilities across sites, helping clients cut costs through real-time data and alerts.
Results:


Steve Barker
Founder & CEO
Prospect Control uses Ubidots to deliver remote tank level monitoring for industrial customers, replacing complex PLC/SCADA setups with a scalable, web-based IoT solution.
Results:


Darryl Schembri
General Manager
AIS Technology uses Ubidots to monitor electricity, water, and gas consumption across multi-tenant buildings, enabling real-time visibility, automated billing, and faster response to inefficiencies.
Results:


Onofre Tamargo
CEO & Cofounder
S4IoT uses Ubidots to remotely monitor irrigation systems in urban gardens, helping clients reduce maintenance costs, prevent plant loss, and shift from manual operations to a scalable subscription-based model.
Results:

Help & Support
Have questions about Ubidots? Here are some ofthe most common queries to help you get started.
UbiFunctions is Ubidots' serverless code execution environment that lets you run custom Python or JavaScript logic directly inside your IoT application — no servers or infrastructure required. Use it to process sensor data, call external APIs, send alerts, or automate workflows triggered by device events, schedules, or webhooks.
UbiFunctions supports three trigger types: device variable updates (fires when a sensor value changes or crosses a threshold), time-based schedules (cron expressions for periodic tasks like daily reports or data aggregation), and inbound webhooks (HTTP endpoints that accept data from external services or third-party platforms).
No. UbiFunctions is fully serverless — Ubidots manages all runtime infrastructure, scaling, and dependency resolution. You write code in the built-in browser editor, configure your trigger, and deploy in seconds. Functions scale automatically with your data volume, from a single device to thousands, with no CI/CD pipeline or DevOps work required.
Yes. UbiFunctions includes native Ubidots API access, so your code can read device variables, write computed values, query historical data, and create events — all without external API credentials. You can also store API keys and secrets as environment variables to securely call external services like notification platforms or custom REST APIs.

