Skip to content
Agentic Workflowdocs
v0.9.0Install free

use the app / connections

Connect Slack

Create a small Slack app from a manifest, install it, and paste its token: every Slack step can then use it.

≈ 3 min Extension Bearer Token
  • A Slack workspace where you may install apps (or an admin who approves it).
  • The AWFlow browser extension. These steps run in the extension (the web app hands them to it).
Method Use it when
Bot token Recommended Posts as your app. Covers every operation except Message › Search.
User token Acts as you. Needed for Message › Search; it also sees every channel you are in.
  1. Create the app from a manifest. Open api.slack.com/apps, click Create New App › From a manifest, pick your workspace and paste:

    awflow-slack-manifest.yaml
    display_information:
    name: AWFlow
    features:
    bot_user:
    display_name: AWFlow
    always_online: false
    oauth_config:
    scopes:
    bot:
    - channels:read
    - groups:read
    - channels:history
    - groups:history
    - chat:write
    - users:read
    - files:read
    - files:write
    user:
    - search:read
    settings:
    org_deploy_enabled: false
    socket_mode_enabled: false
    token_rotation_enabled: false

    Drop the scopes you won’t use. The user scope is only for Message › Search.

  2. Install it and copy the token. Click Install to Workspace and allow. In OAuth & Permissions, copy the Bot User OAuth Token (it starts with xoxb-).

  3. Save it in AWFlow. Open Connections and click Add connection (or Connect in a step’s Connection field), then fill the New connection form. In the browser side panel the form comes in two steps: tap Slack in the list, then fill the rest.

    The New connection form with Slack picked under Integration App / Service: Name and Description fields, a Bearer Token field (no Type menu: the app sets it), and the Cancel and Save and test buttons. The New connection form with Slack picked under Integration App / Service: Name and Description fields, a Bearer Token field (no Type menu: the app sets it), and the Cancel and Save and test buttons.

    Numbered areas in the screenshot: 1. Integration App / Service: Slack; 2. Name; 3. The token field (named after the app’s own word for it); 4. Where the secret is stored (here, locally in this browser); 5. Save the connection.

  4. Invite the bot to each channel it should post in or read: type /invite @AWFlow in the channel.

Operation Token Scope
Channel · Get many, Get info Bot or user channels:read (groups:read for private channels)
Message · Send, Update, Delete Bot or user chat:write
Message · Get Bot or user channels:history (groups:history for private channels)
Message · Search User only search:read
User · Get many, Get info Bot or user users:read
File · Upload Bot or user files:write
File · Get Bot or user files:read
  • “missing_scope” or “not_allowed_token_type”. The token lacks the scope for this operation, or Search got a bot token. Add the scope in your Slack app, reinstall it, and copy the new token.
  • “not_in_channel”. Invite the bot to the channel with /invite @AWFlow.
  • “invalid_auth”. The token was revoked or the app was reinstalled. Copy the current token from OAuth & Permissions.
  • The Channel list stays empty. Pick the credential first; the list loads from Slack with it.
  • The run is blocked in the web app. Slack runs through the browser extension. Install the extension and allow Slack for this workflow when asked, or run the workflow from the extension. See Extension-only integrations in the web app.
Ask Aria