Screen and triage invoice emails for approval with MailMint
UnknownWhat this workflow does
This workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Mailmint (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set your approval policy (Edit Fields (Set)): sets 7 fields: min_confidence, auto_approve_up_to, require_sender_auth…
- Is there an email to read? (If): checks a condition and branches into true / false
- Read the invoice fields (Mail Mint): parse
- Explain what went wrong (Edit Fields (Set)): sets 1 field: error
- Did MailMint answer? (If): checks a condition and branches into true / false
- Say why a human is needed (Edit Fields (Set)): sets 5 fields: status, reasons, invoice…
- Return the error as JSON (Respond to Webhook): sends the response back to the webhook caller
- Score it against your policy (Code): runs custom JavaScript code
- Return it for human review (Respond to Webhook): sends the response back to the webhook caller
- Inside your policy? (If): checks a condition and branches into true / false
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-mailmint is verified or supports 3.0 (used in Read the invoice fields).
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Mail Mint
n8n-nodes-mailmint.mailMint - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Screen invoice emails and hold the doubtful ones for review with MailMint Who's it for Anyone whose accounts-payable inbox fills up with supplier invoices and who wants the routine ones to go straight through, but refuses to let a machine pay something it…