Skip to content
UsecaseBoard
← All use cases
n8nbuilder

Screen untrusted email before letting an AI draft a response

At a glance

The workflow scores incoming mail for prompt-injection patterns, routes high-risk messages to review, and uses Gemini for structured triage of the remaining messages. This workflow is listed under builder, email-agents, prompt-injection, guardrails.

Agents / tools
n8n, Gemini, Gmail, Google Sheets

SourceBuilding a tool for these workflows? See weekly rates.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

Connect Gmail, Gemini, and Sheets and create the audit-log columns specified in the template. Configure the message query and risk thresholds. Test ordinary mail alongside a synthetic message containing instructions to ignore the workflow rules. Inspect the logged route and resulting drafts; keep high-risk messages in the human-review branch.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →