Delete obsolete Cody conversations from Slack
Keep your Cody workspace focused by acting on clear cleanup requests in Slack.
Trigger
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Action
Delete Conversation
Tool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
Why this helps
Old experiments and duplicate threads accumulate because deletion requires a separate manual task.
- Reduce workspace clutter
- Remove obsolete experiments
- Make cleanup requests actionable
Setup
Build it in a few focused steps.
- 1Connect Slackbot and Cody in Notis once.
- 2Create an automation that permanently deletes a Cody conversation only when a Slack cleanup request includes its identifier.
- 3Pick Channel Message Received as the trigger.
- 4Choose a report channel and test with one disposable conversation.
Questions about this workflow
Is deletion reversible?
No. Cody conversation deletion is permanent, so use this only for explicit requests with the correct ID.
Can it delete based on a vague message?
No. The instruction should require an identifiable conversation and a clear deletion request.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slackbot to Cody. A trigger fires from one place; an action lands in another.
Slackbot triggers
Cody actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Conversation
Tool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Document
Tool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
New Channel Created Trigger
Triggered when a new channel is created in Slack.
Create Document From File
Tool to create a document by uploading a file (up to 100 MB). Supports txt, md, rtf, pdf, ppt, pptx, pptm, doc, docx, docm formats. Use when you need to add file-based documents to Cody's knowledge base. The file is processed asynchronously.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Create Document from Webpage
Tool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensure the URL is publicly accessible and not blocked by a firewall.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Create Folder
Tool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
Delete Conversation
Tool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
Delete Document
Tool to delete a document by id. Use when removing a document that is no longer needed.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
Get Conversation
Tool to fetch a conversation by its ID from Cody AI. Use when you need to retrieve details about a specific conversation. Supports optional includes parameter to filter response to list document IDs.
Connect any two apps with Notis in the middle.
Slackbot and Cody, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Cody.