Skip to main content
slack.onChannelUnshared emits channel_unshared events when a channel is disconnected from another Slack workspace.
automations/watch-unshared-slack-channels.automation.ts
The result includes channelId, previouslyConnectedWorkspaceId, isExternallyShared, the typed original event, and the complete envelope.