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

Building 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.
Explore all →
docsbuilder

Detect duplicate invoices and pause risky approvals in n8n

This n8n template extracts invoice PDFs with GPT-4o, checks invoice numbers and totals, assesses category and risk, and uses a wait-and-resume approval path before recording the final status.

n8nOpenAI GPT-4oGoogle Sheets+1
Source ↗