Launch workflow
Launch a new workflow (pipeline run) on Seqera Platform.
Trigger a launch by passing any event message to the input. Configure the pipeline in one or more of the following ways:
- Within the Seqera Platform launchpad
- With static values set the node config fields
- By passing input payloads to the node config fields
Configuration
- Seqera config: Reference to the seqera-config node containing API credentials and default workspace settings.
- Node name: Optional custom name for the node in the editor.
- Launchpad: Name of a Launchpad entry.
- The node will look up the pipeline, fetch its default launch configuration and submit the run. Supports autocomplete.
- Run name: Custom name for the workflow run.
- Optional - if left blank, Seqera Platform will generate a default name automatically.
- Resume from: Workflow ID (Run ID) from a previous workflow run to resume.
- Optional - typically extracted from
msg.workflowIdof a monitored workflow.
- Optional - typically extracted from
- Parameters: Individual parameter key-value pairs configured in the node editor's editable list.
- Each parameter can be a string, number, boolean, JSON object, or evaluated from message properties. These take highest precedence when merging.
- Params JSON: A complete JSON object containing multiple parameters.
- By default this is a JSON literal (
{}), but can be changed to read from a message property likemsg.params. Merged before individual parameters.
- By default this is a JSON literal (
- Workspace ID: Override the workspace ID from the Config node.
- Source WS ID: Workspace that owns the source pipeline when launching a shared workflow.
Outputs
msg.payload– Raw API response.msg.workflowId– Convenience copy of the submitted workflow ID.
Configuration
Providing parameters
The workflow-launch node supports two methods for providing parameters:
- Params JSON (
paramsKey): A JSON object that gets merged intolaunch.paramsText - Parameters list (
paramsArray): Individual key-value pairs from editable list (highest precedence)
Parameters from the list take precedence over the Params JSON, allowing you to override specific values while using a base parameter set. These will be merged over the parameters that are set within the Seqera Platform, in the Launchpad settings.
Resuming workflows
To resume a failed or cancelled workflow, provide the workflow ID in the Resume from field. The node will:
- Fetch workflow details from
/workflow/{id} - Fetch launch config from
/workflow/{id}/launchto get the session ID - If the previous workflow ran tasks: Set
resume: trueand includerevisionfield - If workflow was cancelled before any tasks: Set
resume: falseand omitrevisionfield
This allows Nextflow to resume from the point of failure rather than restarting from scratch.
Tip
Connect the Failed output of a workflow-monitor node to a workflow-launch node with Resume from set to msg.workflowId to automatically retry failed workflows.
See the auto-resume-on-failure example to see this in action.
Required permissions
Minimum required role: Maintain
See the configuration documentation for a full table of required permissions for all nodes.