MEGAINFRA-WEBAPP/docs/n8n
DEls e6a8f97767 feat(po-email): hourly mailbox check that files new POs into MEGA
scripts/po_email_intake.py reads ai@megainfra.co.za through Mail.app, pulls the PO
documents out of unseen messages, reads the PO number, site and supplier from the
document, checks for duplicates by file hash and by PO number, and files what is new
into the same purchase_orders pending queue the browser upload uses so the existing
MEGA - Purchase Order Ingest workflow finalises it. Anything it cannot place is
flagged for review instead of being filed against a guessed site.

A scheduled task runs it every hour (7 * * * *, Africa/Johannesburg).
2026-11-02 22:37:12 +02:00
..
delivery-note-ocr.md docs(n8n): rewrite for the two-node tick workflow 2026-09-17 15:23:16 +02:00
delivery-reconciliation-api.md fix(dn): harden delivery-note matching, posting and PO reconciliation 2026-09-28 21:16:24 +02:00
po-email-intake.md feat(po-email): hourly mailbox check that files new POs into MEGA 2026-11-02 22:37:12 +02:00
po-email-intake.workflow.js feat(po-email): pre-flight duplicate check and filed labels 2026-10-28 23:17:52 +02:00
po-ingest-before-2026-10-04.json Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
purchase-order-ingest-implementation.md Integrate agent work and add dashboard attention indicators 2026-10-04 21:53:32 +02:00
purchase-order-ingest.md feat(po-email): n8n workflow + runbook to auto-file POs from the MEGA mailbox 2026-10-28 16:07:29 +02:00