Build Workflow to Library Package
Overview
The Build Workflow to Library feature compiles and packages your current workflow project into a reusable NuGet package (.nupkg). The resulting library can be published to akaBot Center or distributed through a local NuGet feed for use across multiple automation projects.

1. Prerequisites
Before building a library package, ensure the following conditions are met:
- Save all workflows: All workflow files (
.xaml) in the project must be saved. - Resolve all validation errors: The project must have no validation errors. Resolve any missing arguments or misconfigured activity properties before proceeding.
2. Build the Library Package
-
Click Build Library in the Studio ribbon.
-
In the Version Input dialog:
- Version: Enter a semantic version number (e.g.,
1.0.0.1or1.1.0.0). - Release Notes: Describe the changes, fixes, or enhancements included in this version.
- Click OK to proceed.
- Version: Enter a semantic version number (e.g.,
-
Studio compiles all workflows, resolves project dependencies, and generates the output package:
<ProjectName>.<Version>.nupkg. -
A completion dialog confirms the build with the package name, version, and output file location. Click Open Output Folder to access the generated file.
3. Using the Library in Other Projects
- In the target project, open Manage Packages from the Studio ribbon.
- Select the appropriate feed (akaBot Center or a custom local repository).
- Search for the library package by name, select the desired version, and click Install → Save.
- The library's custom activities will appear in the Activities Toolbox, ready for use in your workflows.
