WhatsApp and support messaging

Sublime Security email attachment analysis and Slack reporting workflow

Short answer

This deterministic n8n workflow inspects incoming IMAP emails and uses a conditional branch to verify whether an attachment is present. Emails without attachments trigger a missing-file notice in Slack, while attached files move through binary conversion to Sublime Security. Matched and unmatched rules are formatted and reported to Slack without AI.

Catalogue ID
#1161
Functional nodes
9
Connections
8
Trigger
manualTrigger
AI layer
Deterministic
Business problem solved

Business problem solved

Reviewing suspicious email attachments by hand slows down incident triage and leaves security teams guessing which detection rules triggered. Without automated Slack reporting, risky messages wait inside personal inboxes.

Trigger

A manual test trigger pairs with an IMAP email reader node that captures incoming emails and raw binary attachments.

Connected systems

Connected systems

  • IMAP email reader
  • Sublime Security API
  • Slack
  • Binary and code formatter
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow architecture

Workflow architecture

  1. 1. Email Trigger (IMAP) (Trigger) (connects to IF email has attachment)
  2. 2. Move Binary Data (Service and data) (connects to Analyze email with Sublime…)
  3. 3. IF email has attachment (Logic and routing) (connects to Move Binary Data, Notify about missing…)
  4. 4. Split to matched and… (Logic and routing) (connects to Format the message)
  5. 5. When clicking Execute… (Trigger) (connects to Move Binary Data)
  6. 6. Slack (Service and data)
  7. 7. Format the message (Service and data) (connects to Slack)
  8. 8. Notify about missing… (Service and data)
  9. 9. Analyze email with Sublime… (Service and data) (connects to Split to matched and…)
  • Trigger
  • AI layer
  • Logic and routing
  • Service and data

Node positions and directed links are generated from the verified catalogue record.

Workflow steps

Workflow steps

  1. 01

    Email intake and attachment gate

    Incoming IMAP data is checked for file attachments; messages without files branch straight to a Slack notice.

  2. 02

    Binary conversion and Sublime Security scan

    Attachments pass through the binary data node and post directly to the Sublime Security message analysis endpoint.

  3. 03

    Rule formatting and Slack delivery

    A code node separates matched rules from unmatched items before posting a structured threat summary into Slack.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow contains zero node-level error flags across its nine functional nodes and eight connections.

Production layer added by ALTAI

During live deployment, ALTAI adds retry handling for Sublime Security API outages, attachment size caps and human approval checkpoints for high-risk alerts.

Frequently asked

Sublime Security email rule analysis workflow Frequently asked questions

No. It runs deterministically and reports exact rule matches returned by the Sublime Security analysis API.

The entry conditional node routes empty messages to a dedicated Slack notification rather than failing the API request.

Messages are read inside your self-hosted n8n instance and sent only to the Sublime Security endpoint authorised in your set-up document.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp