Welcome to FlowZap, the App to diagram with Speed, Clarity and Control.

Inbox triage → route → log (Gmail → IF → Notion/Zendesk/Slack → Sheets)

An n8n workflow automation that triages incoming Gmail messages by extracting sender, subject, and intent keywords, then routes them through IF-based classification. Billing emails create Notion follow-up pages, support requests generate Zendesk tickets, and unclassified messages are posted to a Slack ops channel — all with a centralized Google Sheets audit log.

Full FlowZap Code

inbox { # Inbox
n1: rectangle label:"Gmail - New Email" system:"Gmail"
n2: rectangle label:"Code - Extract sender + subject + intent keywords" system:"n8n"
n1.handle(right) -> n2.handle(left) [label="Incoming email"]
}

triage { # Triage
n3: diamond label:"IF: Is billing/invoice?" system:"n8n"
n4: diamond label:"IF: Is support/bug?" system:"n8n"
n2.handle(right) -> triage.n3.handle(left) [label="Classify"]
n3.handle(bottom) -> triage.n4.handle(top) [label="No → check support"]
}

work { # Work
n5: rectangle label:"Notion - Create Page (Billing follow-up)" system:"Notion"
n6: rectangle label:"Zendesk - Create Ticket" system:"Zendesk"
n7: rectangle label:"Slack - Post Message (#ops-triage)" system:"Slack"
n3.handle(right) -> work.n5.handle(left) [label="Yes → Billing"]
n4.handle(right) -> work.n6.handle(left) [label="Yes → Support"]
n4.handle(bottom) -> work.n7.handle(top) [label="No → Ops"]
}

audit { # Audit
n8: rectangle label:"Google Sheets - Append Row (Email triage log)" system:"Google Sheets"
n5.handle(bottom) -> audit.n8.handle(top) [label="Log"]
n6.handle(bottom) -> audit.n8.handle(top) [label="Log"]
n7.handle(bottom) -> audit.n8.handle(top) [label="Log"]
}

Visualize your current n8n JSON with our n8n Visualizer

Related templates

Back to all examples