Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Security & Compliance

Security & Compliance

Investigate phishing emails from Google Sheets and report verdicts to Telegram

Triggers on new sheet rows, parses the submitted email, checks SPF, DKIM, and DMARC, scans links and attachments via MCP, and sends a plain-language verdict to Telegram.

What it does

## Phishing Email Analysis Automatically investigate a suspected phishing email and get a plain-language verdict in Telegram. Submit a flagged .eml / .msg (via a linked Google Sheet / Form) and the workflow parses it, checks the mail authentication, scans every link and attachment, and reports the result. ### How it works 1. A new sheet row supplies a Google Drive link to the email; it is downloaded and validated. 2. A Python node extracts headers, the body, every URL (including inside HTML attachments), and a SHA-256 of each attachment. 3. An MCP server checks SPF / DKIM / DMARC and the Received chain, then fans out every URL, attachment hash, and relay IP to reputation lookups (URLhaus, ThreatFox, urlscan). 4. Results are merged, scored, and posted to Telegram as a MALICIOUS / SUSPICIOUS / BENIGN verdict. ### Setup - Deploy the bundled MCP server (Node.js) and note its URL. - Import the workflow and add Google Sheets, Google Drive, and Telegram credentials. - Point the four MCP Client nodes at your server URL and pick the matching tool. - Set the sheet column and your Telegram chat ID, then run a test with the sample email.

The steps

  1. Google Sheets Trigger
  2. Download file
  3. Code in JavaScript
  4. Code in Python
  5. MCP Client
  6. Split IOCs
  7. Switch IOC Type
  8. Check URL
  9. Check Hash
  10. Check IP
  11. Merge Results
  12. Build Report
  13. Notify Telegram

Similar automations