From 2e48d1f234c3f12ce21739ff92eaf30eabc552eb Mon Sep 17 00:00:00 2001 From: "Yuwen Memon (via MelvinBot)" Date: Thu, 3 Sep 2026 06:35:49 +0000 Subject: [PATCH] Update AI Agent help docs from Web-Expensify generators Co-authored-by: Yuwen Memon --- .../ai-agents/AI-Agent-Capabilities.md | 16 ++++++++++++++-- .../ai-agents/AI-Agent-Triggers.md | 18 +++++++++++++++--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/docs/articles/new-expensify/ai-agents/AI-Agent-Capabilities.md b/docs/articles/new-expensify/ai-agents/AI-Agent-Capabilities.md index 7bf66ba2f025..aa9a4a85ca61 100644 --- a/docs/articles/new-expensify/ai-agents/AI-Agent-Capabilities.md +++ b/docs/articles/new-expensify/ai-agents/AI-Agent-Capabilities.md @@ -52,7 +52,7 @@ To accomplish this, include phrases like: ## How to write instructions that reject expense reports -**Goal:** Sends an Outstanding (submitted) expense report back to the submitter with a user-facing rejection comment explaining why. +**Goal:** Sends an entire Outstanding (submitted) expense report back to the submitter with a user-facing rejection comment explaining why. To accomplish this, include phrases like: - Reject reports that have violations @@ -64,6 +64,18 @@ To accomplish this, include phrases like: --- +## How to write instructions that reject individual expenses + +**Goal:** Rejects selected expenses from an Outstanding (submitted) report individually, giving the submitter a reason for each expense while compliant expenses continue through approval. + +To accomplish this, include phrases like: +- Reject each expense over $500 and approve the rest +- Reject individual expenses that are not reimbursable and were not paid with a company card +- Reject every duplicate expense with a reason specific to that expense +- Reject noncompliant expenses without rejecting the whole report + +--- + ## How to write instructions that un-submit expense reports **Goal:** Unsubmits a submitted expense report, returning it to Draft so the submitter can edit it. @@ -257,4 +269,4 @@ To accomplish this, include phrases like: --- -*This reference covers all 19 AI Agent capabilities.* +*This reference covers all 20 AI Agent capabilities.* diff --git a/docs/articles/new-expensify/ai-agents/AI-Agent-Triggers.md b/docs/articles/new-expensify/ai-agents/AI-Agent-Triggers.md index a72450dbe43b..08da0392b128 100644 --- a/docs/articles/new-expensify/ai-agents/AI-Agent-Triggers.md +++ b/docs/articles/new-expensify/ai-agents/AI-Agent-Triggers.md @@ -304,10 +304,10 @@ To react to this event, include phrases like: - When a manager or admin removes a receipt from a submitted expense - When a receipt is detached from an expense after the report has already been submitted -**SmartScan (receipt OCR) finished reading a receipt on a submitted expense, so the merchant, amount, date, and itemized line items are now available. This is the earliest point at which the contents of a receipt can be checked against a rule — including a receipt that was matched onto an expense imported from a credit card.** +**SmartScan (receipt OCR) finished reading a receipt, so the merchant, amount, date, and itemized line items are now available. This is the earliest point at which the contents of a receipt can be checked against a rule — including a receipt that was matched onto an expense imported from a credit card. It fires whether the report is still a draft or already submitted.** To react to this event, include phrases like: -- When a receipt finishes scanning on a submitted expense +- When a receipt finishes scanning on an expense - When SmartScan finishes reading an itemized receipt - When a scanned receipt is matched onto an existing credit card expense - When receipt details need to be checked against workspace rules once the scan completes @@ -741,6 +741,18 @@ To react to this event, include phrases like: - When a member's final approver (forward-to) is changed - When expense report forwarding is updated for an employee +**A workspace admin changed which person approves a specific workspace member's reports above a set amount, or removed that approver.** + +To react to this event, include phrases like: +- When a member's approver for reports over a set amount is changed +- When large expense reports from a specific employee will now go to a different approver + +**A workspace admin changed the amount above which a specific workspace member's reports need an extra approver.** + +To react to this event, include phrases like: +- When the approval amount for a specific member is changed +- When the amount that sends an employee's reports to an extra approver is updated + **A workspace admin created a new conditional approval rule (e.g., expenses over a certain amount go to a specific approver).** To react to this event, include phrases like: @@ -887,4 +899,4 @@ To react to this event, include phrases like: --- -*This reference covers all 121 events AI Agents can react to.* +*This reference covers all 123 events AI Agents can react to.*