library
turbot/detect_correct
Get Involved
Version
Pipeline: Optional Message
Sends a message using a notifier if the send parameter is true.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run detect_correct.pipeline.optional_message \ --arg 'notifier=<notifier>' \ --arg 'send=<bool>' \ --arg 'text=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = detect_correct.pipeline.optional_message args = { notifier = <notifier> send = <bool> text = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
notifier | notifier | Yes | The notifier to use for sending a message. | - |
send | bool | Yes | Boolean to indicate if the message should be sent. | - |
text | string | Yes | The text of the message. | - |
Outputs
This pipeline has no outputs.