GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing hub.windmill.dev — Slack integration | Windmill Hub What you can do with SlackComplete, deployable projects built around Slack — the fastest way to get something real running. Set up in 2 steps1 Connect from the Resources pageOpen Resources, click Add a resource/API and pick slack under Instance-configured OAuth APIs. Choose a bot token to act as the Slack app (use it for shared and scheduled flows) or a user token to act as yourself, then click Connect and allow access. 2 Run your first scriptFork any script below and run it against a test channel. ScriptsBuilding blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow. Slack Events API handler (HTTP route template) Script slack Verified Upload File Script slack Verified List User Groups Script slack Verified List Members in Channel Script slack Verified List Files Script slack Verified List Custom Emojis Script slack Verified List Channels Script slack Verified Get Current User Script slack Verified Get Channel Details Script slack Verified Download File Script slack Verified Delete File Script slack Verified Update User Profile Script slack Verified Update User Group Members Script slack Verified Update Message Script slack Verified Set User Status Script slack Verified Set Channel Topic Script slack Verified Invite Users to Channel Script slack Verified Create Reminder Script slack Verified Create Channel Script slack Verified Archive Channel Script slack Verified Add Reaction Script slack Verified Search Messages Script slack Verified Get User Script slack Verified Get Thread Replies Script slack Verified Variable expiration handler Script slack Verified Send direct message Script slack Verified Set Channel Purpose Script slack Verified List Conversation History Script slack Verified Send error to slack channel Script· failure slack Verified Ask channel for approval Script· approval slack Verified FlowsMulti-step workflows that already wire Slack to something else. List Slack channels and send shared message to selected channels Flow slack Verified Example handler for slack bot commands and @mentions Flow slack Verified Whenever an HackerNews message contains a mention, publish it to slack with sentiment analysed Flow slack hackernews Verified OCR receipt pictures in gdrive folder and send result to Slack Flow gdrive slack Verified See account data over the last 3 days as a pie chart Flow showcase slack +1 Verified +1 Ban a user, notify them by email, and us by Slack Flow postgresql slack +1 Verified Slack Alert EUR/USD Exchange rate Flow slack exchangerates Verified Trigger flows from SlackSlack is not only a destination. These inbound paths are supported today. Slash commandsA command like /deploy staging hits a webhook and starts a flow with the arguments as inputs. Events APIFork the Slack Events API handler script below and add an HTTP route on it: POST, request type Sync, Signature authentication with the Slack provider and your app's Signing Secret. In the Slack app's Event Subscriptions, paste the route URL as the Request URL, subscribe to bot events such as message.channels or app_mention, and reinstall the app; the script's header lists each event's scope and a manifest snippet. Slack retries after 3 seconds, so hand long work to another job. Interactive blocksButtons and modals resume a suspended flow step. Resource typeThe shape of the credential every script on this page expects. slackView raw schema →
Often combined withIntegrations that appear alongside Slack in hub flows and projects. QuestionsBot token or user token?A bot token acts as the Slack app and reads only public channels it has joined. A user token acts as the person who connected, reads their private channels and DMs, and is the only kind that can search. Scripts that need a user token say so. A script fails with missing_scope or not_allowed_token_typenot_allowed_token_type means the script needs a user token (search, status, profile, reminders). missing_scope means the connection lacks a scope the script names in its description: connect again and tick it. Is my token stored on the hub?Never. It lives only in your own Windmill workspace, encrypted at rest. There is no Connect button on my instanceThe Windmill instance admin must add a Slack OAuth app once under Instance settings, Auth/OAuth/SAML, OAuth. Until then, paste a bot token as in the CLI lane. | ||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |