Added template workflow for channel_created events - along with the flattening logic needed to send data through to Slack Workflow Builder.
Updated unit tests, and moved generic_event_proxy() to utils since Slack Bolt apps are frustrating to unit test.
Docs updates.
Found 🐛 where if Slack event sends us an integer, we need to convert that to a string before sending to Workflow Builder or it breaks Slack.
Why is this good for our users?
This is good because now users have an example for how to use channel_created as an event trigger, and squashed a potentially annoying bug when incoming Slack events are using types that aren't just strings.
Attestation
Below you'll find a checklist. For each item on the list, check one option and delete the other.
What was changed?
channel_created
events - along with the flattening logic needed to send data through to Slack Workflow Builder.generic_event_proxy()
to utils since Slack Bolt apps are frustrating to unit test.integer
, we need to convert that to a string before sending to Workflow Builder or it breaks Slack.Why is this good for our users?
This is good because now users have an example for how to use
channel_created
as an event trigger, and squashed a potentially annoying bug when incoming Slack events are using types that aren't just strings.Attestation
Below you'll find a checklist. For each item on the list, check one option and delete the other.