Developer Guide
Last updated Mar 23, 2024

Using The Activity Creator

Activities are the building blocks of process automation. Each contains an atomic action which, stacked together with other activities, composes a workflow.

UiPath Studio includes a number of prebuilt activities that you can install through the Package Manager.

Additionally, you can create your own custom activities specific to your needs using UiPath's Activity Creator extension for Visual Studio. The steps below will give you the foundation to build custom activities in 5 minutes flat. In this section, we'll create an activity package and in the next, populate it with functional activities.

What You'll Need


Note that version 4.0 of the Activity Creator only works with Visual Studio 2022. Likewise, the activities produced target .NET 6 Windows projects. To create activities compatible with older versions of Visual Studio or .NET, please use version 3 of the extension.

Also, the activities created by this extension rely on UiPath-made libraries currently available on the Marketplace feed ( This feed must be available in Visual Studio during development or the activities will not build successfully.

Step 1: Add the UiPath Activity Creator Extension to Visual Studio

Open Visual Studio and click Extensions > Manage Extensions.

In the wizard that appears, click Online and then Search (Ctrl+E) for UiPath. Download the UiPath Activity Creator extension.

Close Visual Studio and, once the VSIX Installer appears, complete the installation.

Step 2: Create a UiPath Project

Reopen Visual Studio and double-click Create a new project on the home screen.

On the Create a new project screen, type "uipath" in the search bar, select UiPath Standard Activity Project, and click Next.

Give your project a name. The UiPath convention is <Your company's name>.<Your product's name> (e.g. UiPath.Orchestrator). Then click Create.

Navigate to the Solution Explorer and notice that 3 projects, a Shared folder, and many files have now been added to solution. This is the foundation of every activity package.The Simple Activity to add your first activity.

The Simple Activity

Now that you have your package created, let's add an activity to it! In this example, you will create the activity shown above: a simple one that adds two numbers together.

Step 1: Open the Activity Creator

Start by opening the Visual Studio solution created in the previous section and select any of the main projects (these are the ones labeled MyCompany.MyProduct...) in the Solution Explorer. Then navigate to Extensions > UiPath > Add Activities in the toolbar. Note that this menu will be disabled until one of the projects is selected.

Step 2: Build an Activity

This will open a new Activity Creator window. The first screen gives you two options:

  1. Create: Build one or more activities from scratch.
  2. Import: Import a list of predefined activities that have been saved in a standard format.

For now, select Create.

Step 3: Define the Activity

Click the Add button and fill in each field as shown below. This will prepare the creator to build an activity named Addition. When ready, click the Edit button to add properties to the Addition activity.

Step 4: Add Properties

This will open a new Define Properties window. Use the Add button to create 3 properties as shown below.

Ensure that the first two are inputs and the last is an output. These properties will represent two numbers and their sum.

Step 5: Generate the Activity

Click OK on the Properties window and Finish on the activities window. You will then see some new files added to your projects.

Step 6: Add Functionality

Open the Addition.cs file that was just created and expand the Protected Methods region within it to reveal the activity's ExecuteAsync method. This is the method that gets called whenever the activity is run in UiPath Studio.

Notice that the two inputs created in step 4 (First Number and Second Number) as well as the one output (Sum) have already been added to this method. The final step is to bridge the gap between them by replacing the comment block with code that adds the two inputs and then sets the result to Sum. See below:

Step 7: Build the Package

Within the Solution Explorer, right-click your Design project and select Publish. This option builds your projects, packages them together, and sends the package wherever you'd like.

In the next screen, enter the folder in which you'd like to save your activity package. It's a good idea to choose one of your package sources from UiPath Studio (you can find these at Settings > Manage Sources on the Studio homepage) so you can publish directly from Visual Studio into UiPath Studio.

Click Create Profile to continue.

On the next page, rename your package source to UiPath Packages (or whatever you'd like) and change the configuration to Debug. Then click Publish.

For more info on Debug vs Release configurations, see Package Metadata.

Your output will then show that all three projects have been built successfully and the resultant package published. You now have a working activity package!

Step 8: Use Your Activities in UiPath Studio

Open UiPath Studio, navigate to the Package Manager, and add your activity set to workflow.

Notice that a new category has been added to the Activities pane.

That's all! Give your new activity a try!

Package Metadata

Looking at the activity package built in this tutorial, you'll see several placeholders where information such as the author, license, icon, etc. should go. Let's personalize the package by replacing those placeholders with real information.

The focus of this section will be on the Design project, which holds all your package info.

Step 1: Open the Design Project

Open the MyCompany.MyProduct.Activities.Design project by double-clicking it and notice that there are three labeled sections:

  • Package Metadata
  • Package Versions
  • Package Icon
Package Metadata




An SPDX identifier for the license you'd like to use. The default is Apache 2.0.


A short description of your activities that will appear in the UiPath Studio Package Manager.

Authors and Company

The author and owner of the package respectively.


The standard copyright notice.


A list of terms for which users can search to find your package.


A link to your activities' documentation or company homepage.

A link to an image file used as the package icon. Note that the PackageIcon tag is currently unsupported in UiPath Studio.
    <Description>A package used to perform simple arithmetic operations in UiPath Studio.</Description>
    <Authors>My Company</Authors>
    <Company>My Company</Company>
    <Copyright>@ 2020 My Company</Copyright>
    <PackageTags>UiPath Activity MyCompany MyProduct Math Addition Arithmetic</PackageTags>
    <Description>A package used to perform simple arithmetic operations in UiPath Studio.</Description>
    <Authors>My Company</Authors>
    <Company>My Company</Company>
    <Copyright>@ 2020 My Company</Copyright>
    <PackageTags>UiPath Activity MyCompany MyProduct Math Addition Arithmetic</PackageTags>
Package Version
Notice that there are two PackageVersion tags here, which correspond to the two modes in which a package can be built--Debug and Release.
  • Debug is useful during development. The version increments with each build so updates can be made and then immediately tested in UiPath Studio.
  • Release is used to create a final package ready for publication. Once development is through, you may set the desired version here.

    <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
        <PackageVersion>0.2.0.$([System.DateTime]::UtcNow.ToString(MMddHmmss)) Version</PackageVersion>
    <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    </PropertyGroup><PropertyGroup Condition="'$(Configuration)' == 'Debug'">
        <PackageVersion>0.2.0.$([System.DateTime]::UtcNow.ToString(MMddHmmss)) Version</PackageVersion>
    <PropertyGroup Condition="'$(Configuration)' == 'Release'">
Package Icon
Use the PackageIconUrl tag to add an icon to your activity package. In this example, a sample icon is used.

Step 2: Rebuild the Package

Rebuild the package and import it into UiPath Studio as in the previous section. Open the Package Manager and notice how your package now has a new icon, description, and updated metadata.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.