Developers · .NET 10 Plugin SDK

Write custom steps
in C#

WorkflowMonk loads all 71 of its own built-in steps through the same plugin loader we give outside engineers. Build custom C# step packs for internal tools, legacy ERPs, or vertical SaaS APIs.

  • .NET 10SDK 0.1.0 preview
  • 1 folderDLL + plugin.json
  • 3 hostsDesktop, wm CLI, MCP

Code preview

One class for description and behaviour.

Inputs, outputs, plain-language sentence, and safety flags live next to RunAsync. Taken directly from our Acme.TextTools sample.

CountWordsStep.csC# · .NET 10
using Microsoft.Extensions.Logging;
using WorkflowMonk.Sdk.Contributions;
using WorkflowMonk.Sdk.Steps;

namespace Acme.TextTools;

public sealed partial class CountWordsStep(
    ILogger<CountWordsStep> logger) : IStepBehaviour
{
    public const string Source = "text";
    public const string Result = "count";

    public static StepType Type { get; } = StepType.Create<CountWordsStep>(
        ContributionId.Create("texttools", "count-words"),
        displayName: "Count words",
        category: "Text",
        sentence: "Count the words in {text}",
        reach: StepReach.Anywhere,
        effect: StepEffect.NoSideEffects) with
    {
        Inputs = [new StepInput(Source, "Text", StepValueType.Text) { IsRequired = true }],
        Outputs = [new StepOutput(Result, "Number of words", StepValueType.Number, 12m)],
    };

    public Task<StepOutcome> RunAsync(
        StepInputs inputs, StepContext context, CancellationToken ct)
    {
        var count = inputs.Text(Source)
            .Split((char[]?)null, StringSplitOptions.RemoveEmptyEntries).Length;
        return Task.FromResult(
            StepOutcome.Succeeded(new StepOutputs().Number(Result, count)));
    }
}
plugin.jsonManifest
{
  "id": "acme.text-tools",
  "name": "Text tools",
  "version": "1.0.0",
  "sdk": "[0.1.0, 0.2.0)",
  "assembly": "Acme.TextTools.dll",
  "stepPacks": ["texttools"]
}
Quickstart commandsPowerShell
dotnet new install WorkflowMonk.Templates@0.1.0 --add-source C:\feeds\workflowmonk
dotnet new workflowmonk-plugin -n Acme.TextTools
cd Acme.TextTools
dotnet test

Want the architectural rationale behind this model? Read why all 71 built-in steps are plugins →

How it works

From empty folder to working plugin.

No proprietary store submission needed. Build locally, test with xUnit, and load straight from disk.

  1. 01

    Get the 0.1.0 preview bundle

    Request access below to receive WorkflowMonk.Sdk, WorkflowMonk.Sdk.Testing, and WorkflowMonk.Templates.

  2. 02

    Scaffold a plugin project

    Run dotnet new workflowmonk-plugin -n Acme.TextTools to generate a working pack and xUnit test suite.

  3. 03

    Test steps with fakes

    Run dotnet test against mock file stores and services with zero UI or Windows-only dependencies.

  4. 04

    Drop in the plugins folder

    Copy your build output and plugin.json into %LOCALAPPDATA%\WorkflowMonk\plugins and turn it on in Settings.

Honest status

What works today, and what comes next.

The plugin loader is live in early access, and the SDK is at 0.1.0 while we gather feedback from our first developers.

AreaAvailable todayPlanned
.NET 10 SDK (0.1.0) & test kitShared directly as a local NuGet folder (.nupkg) with dotnet new workflowmonk-plugin.Public NuGet.org packages once the API settles.
Plugin loadingLocal folder in %LOCALAPPDATA%\WorkflowMonk\plugins, toggled on in Settings.One-click install and update.
Supported hostsDesktop editor, headless wm CLI, and the built-in MCP server all load the same folder.Same contract on macOS and Linux desktop builds.
Signing & directoryNot built yet. Operators explicitly choose which local folders to trust.Publisher verification and a browsable plugin directory.

SDK preview

Request the 0.1.0 package bundle.

Tell us what you want to integrate or build. An engineer will reply directly within one to two business days with the NuGet packages, sample solution, and authoring guides.

Building workflows without C#? Visit our Community & Flow Partners page →

Questions

SDK
FAQ.

Have a deeper technical question?

Write to us

Plugins target .NET 10 in C#. They reference WorkflowMonk.Sdk and avoid Avalonia or Windows-only APIs so the same step works in the desktop app, the wm CLI, and MCP.

Yes. Plugins are plain folders on disk and never have to be published publicly. Internal ERP, database, or file-format connectors stay inside your network.

The SDK is at 0.1.0 while we validate the public API with early developers. Sharing the package bundle directly lets us fix rough edges before locking down 1.0.

Every step declares its reach (ThisComputerOnly or Anywhere) and effect (NoSideEffects or HasSideEffects). Preview uses those flags so side-effecting steps do not write or send during a dry run.