Closed krzysztofwolski closed 2 years ago
I've dug a bit of Slack documentation and I've found out that you can programmatically receive a webhook URL when the user creates an app (doc reference).
I'm attaching a screenshot as Slack docs can't link to headers 🤷
sequenceDiagram
participant app
participant slack
app->>slack: share app manifest
slack->>app: send back webhook URL
app->>app: saves webhook URL
After further investigation, I found out that implementing the changes proposed by my comment will require migrating to OAuth flow so I will skip this part for now.
It seems to we'll be able to make the installation process more user-friendly using Slack App Manifest: https://api.slack.com/reference/manifests#sharing_manifests .
Requirements: