On this page

Triage a Shared Procurement Inbox With AI

Triage a shared procurement inbox with AI by reading the bounded mailbox context, matching each message to a stable RFQ or PO line and returning an evidence-linked queue. Deduplicate repeated content while preserving the messages that carried it. The buyer decides whether a quote, proposed date or unmatched reply needs action.

The WR-12 packet includes inbox/gmail-read-only-request-plan.json, inbox/gmail-normalized-inbox.json and inbox/gmail-triage-output.csv. Their mailbox, message IDs and content are fictional. No Gmail account was read, labelled, drafted in or sent from. Normalized fixture fields are separate from the actual API payload.

Read complete bounded threads with permitted access

Google's thread guide documents listing threads and retrieving their messages. Use users.threads.list for a bounded query, then read each relevant thread. Follow result pagination or mark the batch incomplete.

The thread-get reference documents GET /gmail/v1/users/{userId}/threads/{id}, the full format and gmail.readonly scope. The full format includes parsed body content. Metadata-only access cannot supply the same body review.

Keep mailbox identity beside thread and message IDs. The message resource identifies message ID, thread ID, internal timestamp and MIME payload. Read each identified attachment using the attachment-get method. A thread summary or snippet can omit the current terms or a later buyer decision.

Separate message identity from repeated content

MSG-Q-B-01 in TH-Q-B-01 carries Q-B-D-r1. A forwarded message, MSG-Q-B-02 in another thread, carries the same teaching attachment content identity CONTENT-Q-B-D-r1. The queue retains both message references but one quote version. It creates no extra bid and no additional order quantity.

In a real read, derive content equality from the retrieved bytes or an inspected source comparison. Filename equality alone is insufficient. The fixture's contentIdentity explicitly marks repeated teaching content and is not a claimed Gmail field.

Copy the inbox-triage prompt

Read the supplied WR-12 inbox snapshot and current RFQ/PO records. Classify quote, acknowledgement, date proposal, accepted readback and unmatched messages. Retain mailbox, thread, message, attachment and source-version evidence. Deduplicate repeated content without deleting message history. Return a proposed follow-up queue with owner and unresolved match fields. Do not label, draft in the mailbox, send or amend orders.

Return the buyer's next review queue

Fictional inbox output at December 9, 4 p.m. PST
Message and sourceClassificationReview result
MSG-Q-B-01, Q-B-D-r1QuoteRetain historical USD 640 offer. Renew validity for a new award after December 4.
MSG-Q-B-02, CONTENT-Q-B-D-r1Repeated attachmentLink forward to original quote. Add zero bid or supply quantity.
MSG-ACK-B-00, ACK-B-4860-v0Incomplete acknowledgementEight D scope accepted, delivery unconfirmed at December 7.
MSG-PROP-B-02, PROP-B-4860-02Date proposalDecember 11 remains proposed until separate buyer acceptance/readback.
MSG-ACK-B-01, ACK-B-4860-v1Accepted schedule readbackJoin BUY-SCHED-B-4860-v1. Friday dock supports conditional Monday usable.
MSG-UNMATCHED-01Unmatched deliveryHold. Request PO, revision, quantity and receiving site before coverage changes.

At December 7 the eight-D order is undated. Later proposals describe the same eight. Only the buyer acceptance and v1 readback support the accepted December 11 dock. These states stay visible rather than becoming one overwritten “Friday delivery” value.

Pass a proposed action to the correct owner

The buyer checks matching, current context and proposed next action. Engineering reviews a technical exception. Receiving confirms usable stock separately. Use the supplier-follow-up guide to prepare the exact unsent message after triage. A later edit requires review of the revised draft.

Google's documentation was reviewed on 29 November 2026. Actual mailbox delegation, read grants, retention and attachment handling depend on the approved setup. The queue is a reusable teaching output and establishes no connector run.

How Arc helps with this workflow

Arc is AI procurement and sourcing software for robotics teams. Arc connects supplier correspondence to open orders so buyers can review date or quantity exceptions and draft an appropriate response. Permissions depend on the inbox setup.

Return to the robotics procurement workflow guide or continue with How to Manage Supplier Emails and PO Follow-Ups With AI.

Frequently asked questions

Is a forwarded quote a second offer?

Retain the forwarding message but link identical content to the same quote version. Compare retrieved content, rather than relying on its filename.

Can a subject line establish the PO match?

Use the complete message and attachments to check PO/version/line, item, quantity and site. Hold an ambiguous match.

Does triage accept a changed date?

Triage identifies the proposal. The buyer's acceptance and required supplier readback establish the accepted schedule.

Review this workflow in Arc

Review an open PO and its related supplier thread in Arc.