Skip to main content
Version: 3.3.0

Action Outputs

Any output can be used as an action, with the (current) exception of http-server.

It's useful when a pipe needs to write data out to some secondary destination, or raise a notification.

The example below, puts "hello dolly" on the RabbitMQ queue some-name, while allowing the data to flow through to standard output:

name: postact
input:
exec:
command: echo '{"message":"hello dolly"}'
raw: true
actions:
- output:
amqp:
input-field: message
queue:
name: some-name
uri: amqp://127.0.0.1//
output:
write: console

One of the implications of 'secondary destination' is that such outputs do not block the data flow within the pipe.