sdk
latest
false
- Overview
- Custom activities- Understanding the Activity Project Structure
- Writing the activity code
- Configuring the activity metadata
- Building the solution and creating the NuGet package
- Using the activity in a Studio project
- Testing your activity
- Writing the code for a custom activity
- Adding the external assembly .dll in UiPath Studio
 
 
 
- Migrating Activities to .NET 6
- Release Notes
- Building Workflow Analyzer Rules
- Building Activities Project Settings
- Creating Custom Wizards
- Prioritize Activities by Scope
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
 
 
 
- Robot JavaScript SDK
- Triggers SDK
- Agents SDKs

Developer Guide
Last updated Oct 30, 2025
To better understand how to write the code for a custom activity, we are going to create a simple activity which asks the
               user for two numbers, then outputs the square of their sum.
            
            
            If you do not wish for your activity to have a designer interface, you can skip to the building the library section.
Important: 
                        
                        
                        
                     
                     In order to build a Designer Interface, you need to have the Windows Workflow Foundation component installed in Visual Studio. If you have not selected the component from the Visual Studio installer, you can add it as follows:
- In Visual Studio, click the Tools menu, and select Get Tools and Features.... The Visual Studio Installer window shows up.
- Switch to the Individual Components tab and search for the Windows Workflow Foundation component. It is located under the Development activities section.
- Check the box in front of the Windows Workflow Foundation component and click Modify. The required component gets installed.