You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the most basic example workflow that demonstrates the core _Launch workflow_ and _Monitor workflow_ nodes.
20
+
21
+
The flow consists of a simple sequence:
22
+
23
+
1.**Manual trigger** - Click the inject node to start the process
24
+
2.**Launch workflow** - Launches a pipeline using a Seqera Platform Launchpad configuration
25
+
3.**Monitor workflow** - Continuously polls the workflow status until completion
26
+
4.**Debug outputs** - Shows the running status updates and final completion message
27
+
28
+
### Setup
29
+
30
+
To get this example working, you'll need to configure:
31
+
32
+
-**Seqera configuration** - Add your Platform API token and endpoint to both Seqera nodes
33
+
-**Launch workflow node** - Set the correct launchpad name and update any pipeline parameters as needed
34
+
35
+
Once configured, click "Deploy" in Node-RED, then click the inject node to trigger a workflow launch. You can follow the progress in the Debug panel on the right sidebar.
36
+
37
+
## 02 - Launch on file upload
38
+
39
+
`examples/02 - Launch on file upload.json`
40
+
41
+

18
42
19
43
This flow uses the _Poll files_ node to periodically check for the presence
20
44
of a file called `RTAcomplete.txt` within a Seqera Data Link (eg. an s3 bucket).
@@ -39,11 +63,11 @@ Some configuration is needed to make this flow work:
39
63
-_Create dataset_ needs a dataset name to be set somehow (dynamically to avoid name clashes)
40
64
-_Launch workflow_ needs configuring with the name of a Launchpad pipeline, and parameters.
41
65
42
-
## Pipeline → Create Studio → Slack webhook
66
+
## 03 - Pipeline → Create Studio → Slack webhook
43
67
44
-
`pipeline_studios_slack.json`
68
+
`examples/03 - Studio on run fail + Slack webhook.json`
45
69
46
-

70
+

47
71
48
72
This workflow has three parts to it:
49
73
@@ -57,7 +81,7 @@ This workflow has three parts to it:
57
81
58
82
If all goes well, you'll get messages in Slack that look like this:
0 commit comments