List suppliers silent since the mailbox stopped
well_list_silent_mail_suppliersWhen the workspace's mailbox stopped syncing, list the regular suppliers whose invoices came by mail before the stop and from whom no invoice came since. Use it for "find my missing receipts" or "retrouve mes justificatifs manquants" when the mailbox Well reads the supplier invoices from is stopped. It reads stored documents and connector states only: it reads no mailbox, no bank payment and no supplier site.
mailbox: state is "stopped" when every Gmail or Outlook install of the workspace stopped (its access expired, it errors or it was disconnected), "live" when one still syncs, "none" when none was ever connected. stopped_at is the last successful sync of the stopped mailbox (null when it never synced); stopped_service_ids names it.
suppliers: only for a stopped mailbox. A supplier is listed when its invoices came by mail on a cadence over the 12 months up to the stop, it still sent at the stop, its next invoice was due by today, and Well holds no invoice of it issued since the stop, by any route. Each has company_id, name, cadence (monthly, bimonthly, quarterly), months_received, last_received_at, usual_amount (the grand total of its last invoice; null when that invoice holds none) and currency. The largest cost per month comes first, at most 10; supplier_count counts them all. A supplier absent from the list sends on none of these cadences, a yearly one included, had stopped before the mailbox did, is not due yet, or something of it came since: never name it as silent. suppliers_truncated: true means the history hit its cap, so a silent supplier may be missing.
An empty suppliers with state: "stopped" means no regular mail supplier went silent, not that nothing is missing.
status: "failed" means the read failed: the mailbox state and the suppliers are unknown, never empty.
Every amount in the result is in the major units of its currency, never in cents: 1860 is 1,860.00 EUR, not 18.60 EUR.
When the token authorizes one workspace, call this directly — no workspace call is needed first. When it authorizes several, this read will not guess which one you mean: pass workspace_id on the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Target workspace. Omit when the token authorizes one workspace. Required when it authorizes several: this read reports one workspace's own figures and will not choose which. | |
| conversation_id | No | The conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation. | |
| workspace_scope | No | Restrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | Yes | ||
| mailbox | No | ||
| success | Yes | ||
| suppliers | No | ||
| supplier_count | No | ||
| conversation_id | No | The conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation. | |
| newly_connected | No | Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later. | |
| resolved_workspace | No | The workspace that answered, when the caller named none and the token authorizes several. | |
| suppliers_truncated | No | ||
| conversation_id_note | No | Present only when the server opened a fresh lane, stating that no choice recorded earlier was read. | |
| conversation_id_source | No | Where the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened. |