- Overview
- About Functions
- Licensing
- JavaScript functions
- Python functions
- Deploy and run
About Functions
UiPath® Functions are developer-native, platform-governed units of compute. You write the logic in code, deploy it to UiPath as a standard .nupkg package, and call it from anywhere in a solution:
- A Maestro process, as a service task.
- An RPA or API workflow, as a step.
- An agent, as a tool.
- An app, as its backend.
They are typed, traceable, testable, and deterministic: no LLM reasoning loop, no model, just code that takes typed input and returns typed output. A function runs alongside RPA robots, agents, and human tasks in the same orchestration layer, and inherits the same platform governance as the rest of your automations:
- Identity
- Credentials
- Audit trail
- Access control
There is no second stack to host, secure, and keep in compliance.
Choose a language
A function is your code plus a UiPath SDK. Two languages are supported, over one packaging and CLI model.
| JavaScript / TypeScript | Python | |
|---|---|---|
| SDK | @uipath/coded-functions-js-sdk | uipath |
| Contracts | TypeScript interfaces, or JSON Schema | dataclass or pydantic model |
| Called as | Over HTTP or as an Orchestrator job | An Orchestrator job |
| Reach for it when | Backing a coded app, or writing in the language your web stack already uses | Data-heavy processing, or the Python ecosystem |
Both export their input and output as JSON Schema, so typed fields appear directly in the binding UI on every invocation surface, and both retrieve credentials and platform resources at runtime rather than shipping them in the package.
Every call runs as an Orchestrator job, so a function called over HTTP also appears in Executions with its input, output, and logs.
JavaScript functions
A JavaScript or TypeScript function declares itself with defineFunction. An HTTP function sets a method and a path. It backs a coded app, and holds the credentials and business rules the browser must never see. A job function sets neither and runs as a job, like a Python function. A project holds one kind, set by its targetRuntime.
Python functions
A Python function is a typed Python module that runs as an Orchestrator job, retrieves platform resources through the UiPath() client, and emits execution spans through the @traced decorator.
When to use a function
A function fits wherever a solution needs deterministic, code-first logic — for example:
- The backend of a coded app, fetching only what the signed-in user may see and writing back to the system of record.
- A custom calculation or scoring step in a Maestro process.
- An API integration (NetSuite, SAP, any REST service), or a system with no connector.
- Data transformation or business-rule enforcement between process steps.
- An open-source library, or business logic you already have in code, made reusable across automations.
AI-driven, model-reasoning logic belongs in a coded agent instead.
How it fits together
Author (UiPath SDK) → Package (pack) → Publish
↓
Orchestrator package feed
↓
Deploy as a process (in an Orchestrator folder)
↓
Invoke from: Maestro Service Task | Studio Run Job | Orchestrator API | Job trigger
| an HTTP trigger, for JavaScript HTTP functions
Author (UiPath SDK) → Package (pack) → Publish
↓
Orchestrator package feed
↓
Deploy as a process (in an Orchestrator folder)
↓
Invoke from: Maestro Service Task | Studio Run Job | Orchestrator API | Job trigger
| an HTTP trigger, for JavaScript HTTP functions
Next steps
- Get started with JavaScript — scaffold a project and run your first function.
- Get started with Python — install the SDK and build your first function.
- Package and publish — deploy to Orchestrator.
- Invoke functions — call them from an app, Maestro, or the API.