Umbuntu.Automate.ManualTriggerInput 1.0.0

dotnet add package Umbuntu.Automate.ManualTriggerInput --version 1.0.0
                    
NuGet\Install-Package Umbuntu.Automate.ManualTriggerInput -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbuntu.Automate.ManualTriggerInput" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbuntu.Automate.ManualTriggerInput" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Umbuntu.Automate.ManualTriggerInput" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbuntu.Automate.ManualTriggerInput --version 1.0.0
                    
#r "nuget: Umbuntu.Automate.ManualTriggerInput, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Umbuntu.Automate.ManualTriggerInput@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Umbuntu.Automate.ManualTriggerInput&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Umbuntu.Automate.ManualTriggerInput&version=1.0.0
                    
Install as a Cake Tool

Manual Trigger (with Input) for Umbraco Automate

NuGet Umbraco Marketplace

Run an Umbraco Automate automation by hand and give it some input.

Automate's built-in Manual Trigger starts an automation with no data. This package adds a Manual Trigger (with Input). Editors start the automation from a Run with input… action in the backoffice and type or paste text, such as a sentence, a URL or a JSON object. Every step in the automation can then use that text as ${trigger.triggerInput}.

Requirements

  • Umbraco CMS 18
  • Umbraco Automate 18.5 or later

Installation

dotnet add package Umbuntu.Automate.ManualTriggerInput

There is nothing to register. The trigger, the API endpoint and the backoffice action are all picked up automatically when the site starts.

Usage

  1. Create an automation and choose Manual Trigger (with Input) as its trigger.
  2. In any step, use ${trigger.triggerInput} where you want the input. For example, use it as the message of a Log Message step.
  3. Publish the automation.
  4. In the automations tree, open the automation's actions menu and choose Run with input….
  5. Enter the input and click Run, or press <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Enter</kbd>.

Run with input… only appears for published automations that use this trigger.

The input is always passed to steps as text. To pass structured data, paste JSON and parse it in the step that needs it.

Configuration

The input is stored with every run, so its size is limited. The default limit is 1 MB. To change it, set the value in bytes in appsettings.json:

{
  "Umbuntu": {
    "ManualTriggerInput": {
      "MaxInputBytes": 2097152
    }
  }
}

The run modal shows how much of the limit has been used, and blocks input that is too large. The server enforces the same limit and returns 413 Payload Too Large if it is exceeded. A value of zero or less stops the site from starting.

Security

  • Who can run it. Running an automation requires the same workspace access as Automate's own "Run now".
  • Which automations can run. The endpoint only starts published automations that use this trigger. Automations with any other trigger, such as content events, schedules or webhooks, are rejected with 409 Conflict.
  • Size. Input is limited as described under Configuration.
  • Treat the input as untrusted in your steps. If a step turns it into HTML (for example via Markdown), puts it in an AI prompt, or sends it to an external service, sanitise or validate it first, as you would any user-supplied text.

API

Other code can start runs through the backoffice Management API. These calls need a backoffice bearer token with workspace access to the automation.

Method Path Body Responses
POST /umbraco/automate/management/api/v1/automations/{id}/trigger-with-input { "triggerInput": "…" } 202, 404, 409, 413
GET /umbraco/automate/management/api/v1/automations/trigger-with-input/settings 200 { "maxInputBytes": 1048576 }

Contributing

Issues and pull requests are welcome at github.com/LincsDev/Umbuntu.Automate.ManualTriggerInput.

The backoffice client lives in src/Umbuntu.Automate.ManualTriggerInput/Client. dotnet build builds it automatically, which needs Node.js 22 or later. Run npm run watch in that folder for development builds with source maps.

  • Tests: dotnet test --project tests/Umbuntu.Automate.ManualTriggerInput.Tests
  • Test site: dotnet run --project src/Umbuntu.Automate.ManualTriggerInput.TestSite starts Umbraco and Automate with the package referenced directly. It uses a local SQLite database, and an admin user is created on first run. The admin's credentials are in appsettings.Development.json and are for local testing only. To create automations, first create an API user, then create an Automate workspace that uses it as its service account.

Releasing

Versions come from git tags, via MinVer. To release, push a tag:

git tag v1.0.0
git push origin v1.0.0

The Release workflow builds, tests and packs the tagged commit, pushes the package to nuget.org using Trusted Publishing, and creates a GitHub release. Tags with a suffix, such as v1.1.0-beta.1, are published as prereleases.

Licence

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 107 10/6/2026
1.0.0-beta.1 61 10/6/2026