plugin-workflow-http-trigger
v1.2.5
Published
Triggered by HTTP API calls. Suitable for webhook integrations, external system triggers, and custom API endpoints.
Maintainers
Readme
plugin-workflow-http-trigger
HTTP Request Trigger plugin for NocoBase workflows. It exposes an HTTP endpoint that can start a workflow run, and ships with a companion "Wait for HTTP Request" action node that pauses a workflow until an external caller resumes it.
Features
- Trigger NocoBase workflows from any system that can call an HTTP endpoint.
- Control authentication requirements and allowed HTTP methods per workflow.
- Capture request body, headers, and query string values as workflow variables.
- Pause a workflow mid-run and continue execution when an external webhook fires.
Installation
npm install plugin-workflow-http-triggerAfter installing, rebuild your NocoBase instance and enable the plugin in the admin interface.
Usage Tips
- Configure expected query parameters, headers, and body fields in the workflow designer to unlock better variable suggestions for downstream nodes.
- Expressions: the value exposed as
Trigger variables / Request datais serialized JSON. Wrap it withJSON.parse(...)before accessing nested keys, for exampleJSON.parse(Trigger variables / Request data).orderId. - Use the generated webhook URL and token when working with the "Wait for HTTP Request" action node to resume suspended workflows.
Building from Source
npm run buildThis command compiles both server and client bundles into the dist/ directory. Use npm run rebuild to clean and rebuild in one step, or npm run pack to create a tarball for distribution.
