Skip to content

Slack ​

Connect Slack once and Truetask can post to a channel from an automation, put a thread reply on the task it answers, direct-message people their notifications, and turn a Slack message into a task.

Slack connects with a Slack app of your own: you create it at api.slack.com, install it in your Slack workspace, and paste its bot token and signing secret into Truetask. Only a workspace owner or admin connects Slack.

What connecting gives you ​

FeatureWhere it is covered
A Send Slack message step and a Slack received trigger in automationsIn automations
Thread replies posted on the task they answerThread replies land on the task
Notifications as Slack direct messages, for whoever turns them onNotifications in Slack
Agent questions and done proposals with buttonsAgent questions and done proposals
A task captured with /truetask, a message shortcut or a reactionCapture a task from Slack
Repository events posted through the connection, with no webhook URLRepository notifications through Slack
Your daily brief as a direct messageYour brief in Slack

Create the Slack app ​

Do this at api.slack.com before you open the Slack card, because Slack issues no bot token until the app has been granted a permission.

  1. At api.slack.com/apps, create an app in your Slack workspace, or open the one you have.
  2. Under OAuth & Permissions, add the bot token scopes below.
  3. Install the app to your workspace.
  4. Copy the Bot User OAuth Token from OAuth & Permissions and the Signing Secret from Basic Information.

Leave Event Subscriptions for later: Truetask hands you the Request URLs once you have connected.

ScopeWhat Truetask uses it for
chat:writePost a message
chat:write.publicPost to a public channel the app was not invited to
channels:readList public channels for the channel picker
groups:readList the private channels the app is in
channels:historyRead a thread reply in a public channel
groups:historyRead a thread reply in a private channel
app_mentions:readAnswer an @mention of the app
reactions:readCapture a task from a reaction
users:readShow a sender's name
users:read.emailMatch a Slack person to a Truetask person
im:writeOpen a direct message for a notification
commandsThe /truetask slash command

Every scope is used: leave one out and the feature it serves stops working.

Connect Slack ​

Open the App menu, choose Integrations under Extend, then the Slack card under Messaging. The connect flow has three steps.

1. Credentials ​

FieldWhat it is
Bot tokenThe Bot User OAuth Token. It starts with xoxb-
Signing secretWhat Slack signs its requests with. Truetask uses it to verify that replies, button presses and the slash command really came from Slack

The step lists the Bot token scopes to grant, and its Where to find this panel carries Ask an assistant, which includes the scopes in the question it writes.

2. Check ​

Truetask verifies the token with Slack and shows what it found: the Slack workspace, the app's bot and how many channels the app can post to.

If Slack has not granted the app every scope Truetask needs, an amber notice names the missing ones. Add them under OAuth & Permissions and reinstall the app; the connection still stands meanwhile.

3. Choices ​

Pick the Default channel: where automations post unless a step names another channel. The list holds the channels the app can see. A public channel is joined when you finish. A private one needs the app invited with /invite first, and the picker says so.

Below the picker, Replies and commands hands you three addresses and the scopes again. In api.slack.com, in your app:

  1. Event Subscriptions: paste the Event Request URL, then subscribe to the bot events message.channels, message.groups, app_mention and reaction_added.
  2. Interactivity & Shortcuts: paste the Interactivity Request URL, and add a message shortcut called Send to Truetask.
  3. Slash Commands: add /truetask with the Slash command Request URL, then reinstall the app.

Slack checks the Event Request URL the moment you paste it. Once it has, the line beside Replies and commands changes from Finish the event subscription in Slack to Slack has verified the Request URL.

Choose Finish to save the channel.

Managing the connection ​

Open the Slack card again to see where it stands.

Truetask Slack card once connected, with its account, channel, replies and last check, and the Check connection, Change channel and Event setup actions

RowWhat it shows
AccountThe Slack workspace the app is installed in
ChannelThe default channel, or Not chosen
RepliesLand on the task once Slack verified the Request URL, otherwise Finish the event subscription in Slack
PermissionsShown once Slack has reported the scopes the token carries: All granted, or Some missing with the scopes named under the rows
Last checkedWhen the token was last verified
ActionWhat it does
Check connectionVerifies the token again and re-reads the channels and the scopes Slack has granted
Change channelPicks the default channel again from what Slack has today
Event setupShows the three Request URLs and the scopes again, for when you rebuild the Slack app
DisconnectRemoves the stored token and secret. Your Slack app is left as it is

A token Slack revoked turns the card to Needs attention, and Update credentials takes a new one without losing the channel. Connecting a different Slack workspace forgets the old one's channel and its matches between people.

In automations ​

Connecting adds a step and a trigger to the automation palette. See Actions and logic and Triggers for the steps and triggers beside them.

Send Slack message ​

FieldWhat it does
ChannelWhere the message goes. The connection's default channel follows whatever the workspace picks later
MessageThe text, with placeholders for any task or board field. Markdown is turned into Slack's own formatting
Post asA new message, or A reply in the thread of the Slack message that started this run. A run nothing in Slack started posts a new message

A channel takes at most 20 messages an hour from automations, so a looping workflow cannot flood it. After the step, {slack_sent.permalink} is the link to the message just sent and {slack_sent.channel} the channel it went to.

Slack received ​

FieldOptions
Start onReplies to this board's messages (a thread reply under a message this board posted; that task becomes the focus of the run), Mentions of the app, or Any message the app can see
ChannelAny channel, or one channel only

The message is available to the steps that follow:

PlaceholderValue
{slack.from_name}Sender name
{slack.from}Sender ID
{slack.body}Message text
{slack.channel_name}Channel name
{slack.channel}Channel ID
{slack.permalink}Link to the message
{slack.kind}message or mention
{slack.thread_ts}The thread it sits in

Truetask ignores its own messages, so a workflow that answers a Slack message never starts itself again. See Placeholders.

Thread replies land on the task ​

When an automation posts a message about a task, a reply in that message's thread is posted on the task as a comment headed Slack reply from and the sender's name. The match is exact: the thread belongs to the one message the board posted, so a reply never lands on the wrong task. It works whether or not any automation listens, as long as the app is in the channel and the event subscription is finished.

Notifications in Slack ​

Once Slack is connected, everyone gets a Slack direct messages section in their profile's Notifications pane, with the same four switches as email: Assignments, Mentions, Due Dates and Agents. They are off until you turn one on.

Truetask finds you in Slack by your email address, so there is nothing to link. Your Slack account has to use the same email address as your Truetask account; if they differ, nothing is sent and nothing fails. See Notifications.

Agent questions and done proposals ​

AI agents ask when they are blocked and propose work as done for a person to approve, and Slack can carry both to you. With Agents on for Slack, two notifications arrive with buttons you can act on without opening Truetask:

NotificationButtons
An agent's blocking questionOne button per option, up to five, with the recommended one highlighted. A question with more options is answered on the task
An agent's done proposalApprove. Sending a proposal back needs a reason, so that is done on the task

Pressing a button replaces the message with what happened: Approved., Answered., Someone already handled this., or This button has expired. Open the task to act.

Each button works once and acts as the person it was sent to, which is why buttons only ever come in a direct message and never in a channel.

Capture a task from Slack ​

Three ways turn a Slack message into a task in your own Inbox, assigned to you:

WayWhat becomes the task
/truetask write the release notesThe text after the command
The message shortcut Send to Truetask, from a message's menuThat message
Reacting with :inbox_tray:The message you reacted to

The first line of the message becomes the title, up to 120 characters. The description says who wrote it in Slack, links back to the message, and holds the whole text. The command and the shortcut answer only you, with the task's key, for example "Captured as DEVE-123 in your inbox."

Capture needs a Truetask account with the same email address as your Slack account. Without one, the command and the shortcut tell you they could not find a Truetask account with your Slack email address, and a reaction does nothing.

Repository notifications through Slack ​

A linked repository can post its pull request, issue, CI, commit and comment events to Slack through this connection instead of a pasted webhook URL. In the repository's settings in the Code view, under Slack and Teams notifications, set Channel type to Slack (connected workspace), then pick a Channel or leave The connection's default channel. That option appears once Slack is connected. See Code view.

Your brief in Slack ​

In your profile's Notifications pane, under Daily brief, Delivery offers Slack direct message once Slack is connected. That sends your brief as a direct message only, not in the app and not by email. See Your daily brief.

What your instance needs ​

Slack calls three addresses on your instance, built from its public URL: one for events, one for buttons and the shortcut, and one for the slash command. Every request is checked against the signing secret, and one signed more than five minutes earlier is refused. Posting, direct messages and the checks only need your instance to reach slack.com.

Self-hosted only

Thread replies, buttons, the shortcut, reactions and the slash command need Slack to reach your instance, so its public URL has to be reachable from the internet. Posting from automations and direct messages work without that. See Network.

From an AI client ​

An AI client connected through MCP with an owner's or admin's token can connect Slack, choose the channel, read the Request URLs and scopes, check the connection and disconnect it.

Truetask works the same on Truetask Cloud and on your own server. Pages and sections that apply to one model only are labelled. For AI assistants: llms.txt.