...
Note: Each pipeline can define exactly one event.listen
command and it must be the very first command in the pipeline.
Multiple event keys
Status | ||||
---|---|---|---|---|
|
It is also possible to listen to more than one event key by a single pipeline. Add all required event keys separated by a comma:
Code Block | ||
---|---|---|
| ||
pipeline:
- event.listen:
key: "webhook.salesforce.lead.created, webhook.salesforce.lead.updated"
- mail:
to: "sales@company.tld"
subject: "New lead created or updated!" |
The pipeline will be executed if at least one of these events do match.
Deep filtering of events​
...