Socket Mode

I was just experimenting with this myself - I was about to try opening a websocket to the Slack API in Socket Mode and try to wrap the onmessage handler with a promise that could be awaited in the step https://api.slack.com/apis/socket-mode
Slack API
Socket Mode
How to use Socket Mode with SDKs.
1 Reply
nclevenger
nclevengerOP3w ago
but given that it would be non-deterministic to wait and listen, I probably would need to switch that to say a webhook that stored it somewhere like KV which could be polled in the workflow step ... but either way @Diogo Ferreira we would also really love support for waitForEvent
Want results from more Discord servers?
Add your server