Skip to main content

Slack for the Leanmote Agent

Connect your Slack account so the agent can send messages and files as you, after you confirm them.

This connection lets the Leanmote Agent and Lean act in Slack as you: send a message you approved, deliver a voice note or a report, open a group chat with the people who can unblock something, and read a channel or a thread when you ask Lean about it. Everything goes out from your own Slack account, under your name.


​

It is separate from two other Slack pieces:


​

  • The Slack data integration (Administration → Integrations), which only reads channel activity for Context.

  • Lean in Slack, the assistant you talk to in direct messages and mentions. See Talk to Lean in Slack and WhatsApp.


​

What the agent can do


​

Nothing is sent without your OK: you see a card with the recipient and the text, and the action runs only after you confirm it.


​

  • Send a message as you, to a person in a direct message or to a channel.

  • Send a voice note or a document that Lean prepared in the conversation, into a direct message.

  • Open a group chat with the people who can unblock something, when you approve an agent's proposal to bring them together.

  • Read Slack when you ask Lean: a channel's recent messages, a thread, your direct messages with a person, or a search. Reading writes nothing, so there is no card to confirm.


​

Connect


​

  1. Open the Actions Hub and go to Your agents.

  2. In Connections, choose Slack and click Authorize Slack.

  3. Sign in to Slack with your own account and approve the «Leanmote Agent» app.


​

If you ask Lean for something that needs this connection and it is missing, Lean gives you a link to connect it.


​

To reconnect or disconnect later: Connections → Manage → Agent connections.


​

Connection details


​

Detail

Value

Connection type

OAuth 2.0 with the «Leanmote Agent» Slack app, separate from the data integration's app. User scopes only: it installs no bot.

Who connects in Slack

You, with your own account. Depending on your workspace's app policy, a Slack admin may have to approve the app first.

Who can connect in Leanmote

Only you, for yourself. Nobody can connect Slack on someone else's behalf.

Credential

Personal: the agent acts as you, with what your Slack account can see and do.

Write access

Yes: it sends messages and files as you, always after you confirm.


​

Scopes requested


​

The two that the connection needs to work at all:


​

  • chat:write, im:write — send messages and open direct messages as you. Without them the connection is not saved.


​

The ones the actions use:


​

  • mpim:write — open a new group chat with several people.

  • files:write — upload a voice note or a document into a direct message.

  • channels:history, channels:read — read a channel or a thread when you ask Lean.

  • im:history — read your direct messages with a person when you ask Lean.

  • search:read — search Slack when you ask Lean.

  • users:read, users:read.email — find the Slack account of the person you want to write to.


​

The app also requests other scopes that no action uses today: groups:*, mpim:history, mpim:read, im:read, channels:write*, *:write.topic, files:read, remote_files:*, the other search:read.*, reactions:*, pins:*, bookmarks:*, stars:*, canvases:*, users.profile:*, users:write, usergroups:*, team:read, emoji:read, dnd:*, reminders:* and calls:*. They are being removed from the app.


​

Disconnect


​

Open Connections → Manage in the Actions Hub and click Disconnect next to Slack. The agents stop using it right away. To also revoke it on Slack's side, remove the «Leanmote Agent» app from your authorized apps in Slack.


​

Related articles


​

  • Talk to Lean in Slack and WhatsApp

  • Slack integration

  • Leanmote Agent connections

Did this answer your question?