$ make bin
$ ./bin/dd
Default port is 9001.
DD_DRIVER_TRIGGERSPATH="examples/triggers.yaml"
-- triggers.yaml --
http:
src: http
qname: q
wtype: w4
slack:
src: slack
qname: q
wtype: w4
DD_SLACKSOURCE_BOTTOKEN="xoxb-...."
DD_SLACKSOURCE_APPTOKEN="xapp-..."
Post this form the workflow:
POST host:9001/api/signals
{
"name": "signal name",
"wid": "temporal workflow id to receive signal",
"src": "slack|http",
"filter": "..."
}
And when a matching event is received by source, DD will signsl the workflow with the trigger name and the event data.