client currently sends invoices. now wants delivery receipts too.
instead of separate workflows, building classification router
THE APPROACH
current: email ā extract ā process
planned: email ā classify ā route ā extract
classification layer:
- analyzes structure and headers
- identifies document type
- routes to type-specific extraction
invoice route: vendor details, line items, totals
receipt route: tracking, signature, delivery status
THE N8N SETUP
switch node after classification
each path has different extraction schema
results route to different systems
one workflow handling multiple document types
saves building separate automations for each type
anyone implemented classification routing in n8n?