Hermes checks invoice references before CRM updates
Duzgun reports a narrow Hermes invoice workflow that validates PDFs and duplicates before Perfex updates, correcting a real supplier-based misassignment by prioritising the invoice reference.
Suggested prompt
Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.
Review [invoice emails] using [validation rules]. Verify the real PDF, reconcile amount and reference, and inspect live CRM duplicates. Show uncertain matches for review; never let a saved supplier pattern override explicit invoice evidence.
Reach people exploring AI agents
See placements →What happened
Duzgun reports a narrow Hermes invoice workflow that validates PDFs and duplicates before Perfex updates, correcting a real supplier-based misassignment by prioritising the invoice reference.
Reported by Uygar DuzgunHow the agent did it
- Inspect recent invoice email against local and live duplicate state.
- Validate actual PDF bytes and reconcile its fields with the message.
- Prioritise the explicit reference when matching consultant and project.
Where a person stepped in
Duzgun corrects a real matching error and requires escalation on conflicting fields. Memory cannot override verified invoice data; no independently audited error rate is supplied.
Uygar Duzgun runs invoice processing through a dedicated Hermes profile, separate from unrelated assistant work. It examines a bounded recent IMAP window, checks local deduplication state and live Perfex CRM records, then verifies the actual invoice PDF before creating or updating an expense.
The source describes a real correction: sender and supplier clues initially directed a consultant invoice toward the wrong party, while the invoice's reference field identified the correct consultant. Duzgun changes the workflow so explicit reference data outranks a remembered supplier pattern. Existing consultant costs should be updated or receive the attachment when appropriate, rather than duplicated as new expenses.
The verification is concrete. Downloads must contain real PDF bytes rather than a login page or HTML response; amounts, references and identity must reconcile. Unclear or conflicting evidence stops the workflow for review. Sanitised memory stores recurring patterns, but cannot override live invoice evidence or a duplicate check. The account does not provide an independently audited error rate or establish that all financial decisions are unattended. The useful lesson is the precedence rule: verify the document and reference, check the live target, and treat memory as supporting context rather than authority.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: Blog · Uygar Duzgun
Frequently asked questions
Why is the sender insufficient?
A forwarded invoice’s supplier or sender can differ from the consultant or project identified by its explicit reference field.
What happens to an HTML download?
The source requires actual PDF bytes; login pages, HTML responses and unusable links stop processing for review.
Can memory override the invoice reference?
No. Duzgun uses remembered patterns as support but gives explicit references and verified live checks precedence.
More details
Remaining steps
- Update an existing cost or create an expense only after checks pass.
- Stop conflicting or uncertain cases for human review.
About this account
Hermes interprets email and invoices, invokes deterministic validation and deduplication tools, then updates Perfex only when the evidence passes the defined gates.
Firsthand account by Uygar Duzgun; original publication date verified against Primary blog date May 9, 2026. Outcomes are the author’s reports, not independently reproduced. Suggested prompt written by Agents In Use; not the author’s original prompt.
Credit: Uygar Duzgun
Source published 9 May 2026
Source checked 14 Oct 2026
Tools and topics
Hermes Agent · IMAP · PDF/OCR tools · Perfex CRM · Deduplication state · Telegram
Invoice references · CRM expense checks · Duplicate prevention
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.