← Back to directory
Customer Support Medium to set up Automation Orchestrate/Approve

TheHive Case Management via Slack

Source reviewed Updated 2026-07-07

Manage TheHive cases directly in Slack by updating assignees, severity, and status without switching contexts.

ops and IT teams

What it does

Manage your TheHive cases directly from Slack by updating assignees, severity, and status without switching contexts. You can modify case attributes through simple form inputs in messages, ensuring updates reflect immediately across both platforms for rapid response.

Step by step

  1. Configure a Slack Block Kit message payload with interactive elements like buttons or modals for case attributes.
  2. Implement an HTTP POST request to the TheHive API endpoint /api/case/{id} with the appropriate JSON body for updates.
  3. Set up a Slack slash command or button callback URL that points to your middleware server.

Where the LLM does the work

  • Generate the specific Block Kit JSON structure for the interactive Slack message components to ensure proper formatting.
  • Determine the exact field mapping logic between TheHive case attributes and the corresponding Slack input fields.
  • Draft the error handling response messages in Slack to provide clear feedback when API calls fail.

Watch out for

Case ID mismatches can cause silent failures so always validate that the extracted case ID from the Slack payload exists in TheHive before sending update requests.

Tools that fit

Slack Service User interface for case management and notifications
TheHive 5 Service Security incident case data source and target
HTTP Request API Connecting Slack actions to TheHive API

The agent brief

Everything your agent needs, including the gotchas. Copy it and go.
agent-brief.md
You are helping me build the following AI agent workflow.

## Goal
TheHive Case Management via Slack: Manage TheHive cases directly in Slack by updating assignees, severity, and status without switching contexts.

## Specification
- What it does: Manage your TheHive cases directly from Slack by updating assignees, severity, and status without switching contexts. You can modify case attributes through simple form inputs in messages, ensuring updates reflect immediately across both platforms for rapid response.
- Trigger: Run manually (Event · on new case or update)
- Autonomy: Fully hands-off
- Expected setup effort: about an afternoon
- Tools/services involved:
  - Slack: User interface for case management and notifications
  - TheHive 5: Security incident case data source and target
  - HTTP Request: Connecting Slack actions to TheHive API

## Known pitfalls, handle each one explicitly in your implementation
1. Case ID mismatches can cause silent failures so always validate that the extracted case ID from the Slack payload exists in TheHive before sending update requests.

## Reference implementation
https://n8n.io/workflows/2577 (workflow template)
Fetch and inspect this before building. If it matches my stack, adapt it;
if not, rebuild the pattern with my tools.

## Process requirements
1. Before building: ask me which of the listed tools I actually use and
   what my platform is (n8n / Make / code / other). Do not assume.
2. Adapt the pattern to my answers; do not force the reference stack.
3. Address every pitfall above; tell me how you handled each.
4. Provide a test plan I can run before letting this touch real data.
5. Ask before any step that sends messages, modifies data, or spends money.

Source: https://usecasesforagents.com/use-case/thehive-case-management-via-slack/ via usecasesforagents.com

Frequently asked questions

Can I use a different Messaging than Slack?

Yes. Slack is only the example messaging in this recipe. The same flow works with ClickSend API, Discord, Google Chat and LINE Messaging API. Swap the messaging connection and keep the rest of the setup as written.

Want this running in your business?

This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Get in touch →

Who it's for

Built for Ops-IT teams who need one more recurring task off a human's plate.

Seen in the wild

← Back to directory