Connect services
Slack
Chat with Poppet through a Slack app in your workspace. Only you can use the app. You talk to it in threads, and it can post scheduled results to a home channel.
Anyone who can read a channel can read Poppet’s replies there, including your saved facts and conversations. Use a private channel that only trusted people can see.
Create the app#
- At api.slack.com/apps, create an app for your workspace.
- Turn on Socket Mode, and create an app-level token with the
connections:writescope. Socket Mode means Slack does not need to reach your computer from the internet. - Under OAuth & Permissions, add these bot token scopes:
chat:write,channels:read,channels:history,groups:read,groups:history,reactions:write, andfiles:read. - Under Event Subscriptions, subscribe to the
message.channelsandmessage.groupsbot events. - Turn on Interactivity & Shortcuts, so you can approve commands with buttons.
- Install the app to your workspace and copy its bot token.
- Invite the app to the channels you want to use.
Poppet works in ordinary public and private channels. It does not answer direct messages, group messages, archived channels, or channels shared with another organization.
Find your member ID before setup. Keep the workspace and channel IDs available in case setup cannot list them:
- Your member ID, which starts with
U. Open your Slack profile, choose the โฎ menu, then Copy member ID. - Your workspace ID, which starts with
T. Open Slack in a browser. It is the part of the address after/client/. - The home channel’s ID, which starts with
C. Open the channel’s details. The ID is at the bottom.
Connect#
Run setup and choose Slack when it asks:
poppet setup gatewaysSetup checks both tokens, reads the workspace ID from the bot token, and offers channels the bot belongs to. Enter your member ID and choose the home channel. If the channel is missing or Slack refuses the lookup, you can type its ID. The tokens are hidden as you type them. Review your choices before saving.
Then start the worker, or restart it if it is already running:
poppet worker runIf the worker starts at login, run poppet worker restart instead.
Poppet saves the IDs in the slack section of config.json, and the tokens in a protected file. To turn Slack off, remove the slack section and restart the worker. To change settings without poppet setup, see the command line reference.
Start a conversation#
Mention the app with your message in a channel. It replies in a thread. After that, you do not need to mention it again in that thread.
While Poppet works, it adds ๐ to your message, and replaces it with โ when it finishes. Slack does not show Poppet typing, and Poppet does not rename threads.
Attach images or text files to your message. A message with files does not need any text. See attach files for the types and sizes Poppet accepts.
Thread commands#
Type these as ordinary messages in a thread. They are not Slack slash commands.
| Message | What it does |
|---|---|
/new <message> | Starts a new conversation in this thread |
/new --skill <name> <message> | Starts a new conversation using a skill |
/status | Shows the conversation and its latest answer |
/cancel | Stops the current answer and any waiting messages |
In a channel, mention the app first. To use a skill for one message without starting a new conversation, name it with $, such as Run $weekly-review for Acorn.
Approve commands#
When a command needs your approval, Poppet posts it in the thread with Approve once and Deny buttons. The prompt shows when the request expires. If Show details appears, click it to read the full command or call details in a reply only you can see.
Poppet removes the buttons and shows the outcome when the request ends. You can also reply with /approve <id> or /deny <id> if you have the approval ID. Approve once covers one command. A request expires after one hour by default, set with timeouts.approvalSeconds. Pending approvals survive worker restarts until they expire. Reply with /cancel to cancel one, or send a new message in the same session to replace the waiting answer. See run commands. Reviewed MCP actions work the same way.
When Always allow appears, it approves the action and saves a rule for later calls. You can also reply with /approve-always <id>. Use /approvals list to see saved rules, /approvals revoke <rule-id> to revoke one, or /approvals revoke all to revoke them all. Read saved approval rules for what each rule permits and when it applies.
Scheduled results#
Add --to slack to post a task’s results in the home channel:
poppet tasks add daily-summary --cron "0 9 * * *" --tz Europe/London --to slack "Summarize my recent conversations"Use --to slack:<channel-id> for another channel, or --to slack:<channel-id>:<thread-timestamp> for a thread. See send results to a gateway.
You can also ask Poppet in a thread to schedule a task. By default, its results go to the home channel. Ask for “this thread” or give another channel to post there instead.
If a reply goes missing#
Poppet saves each answer before it posts it. If Poppet cannot tell whether a post reached Slack, it does not post it again, to avoid a duplicate. Check the thread, then read the saved answer with poppet chat show <session-id> if you need it.
If the connection to Slack drops, Poppet tries again after 30 seconds by default. Change this with timeouts.gatewayRetrySeconds. Run poppet worker status to check that Slack is connected. See troubleshooting.