> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequencehq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accounts receivable agent

> Let an agent action customer billing requests over email, with human review before anything changes

The accounts receivable (AR) agent lets your customers and team action routine billing requests by email. Forward a request to your workspace's agent address and the agent interprets it, prepares the change, and flags it in Watchtower for a human to review and approve.

<Frame>
  <img src="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_watchtower.png?fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=c31aa6d75fec7336beae537f565ff8b5" alt="AR agent change flagged for review in Watchtower" width="2000" height="1145" data-path="images/product/agents/ar_agent_watchtower.png" />
</Frame>

## Overview

Instead of manually handling every "can you update our billing address?" email, let the agent do the interpretation for you. It reads the request, drafts the corresponding change to the customer record, and surfaces it in [Watchtower](/agents/watchtower) so nothing is applied until a person reviews and approves it.

Today the agent can action customer detail changes, including:

* **Company name**: update a customer's legal or trading name
* **Billing address**: update the billing address, including reformatting unstructured addresses
* **Billing contacts**: add or update contacts who receive invoices

Every change is prepared as a proposal for review. The agent never writes to your data without human approval.

<Note>
  The AR agent is an early-access feature in **Sequence Labs**. Behaviour and scope will expand over time. Enable it from Settings > Labs to try it out.
</Note>

## Enabling the agent

The AR agent is turned on per workspace and can only be enabled by an admin.

<Steps>
  <Step title="Open Labs">
    Go to **Settings > Labs** and toggle on **Enable Sequence Labs** to opt in to early-access features.
  </Step>

  <Step title="Enable the AR agent">
    Under **AR agent**, toggle on **Enable AR agent** to allow the Sequence agent to act on customer queries on your behalf.
  </Step>

  <Step title="Copy your agent email">
    Each workspace gets a unique agent email address, derived from your account name (for example, `acme-corp@agents.seqhq.io`). Copy this address to start forwarding requests.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=c2fc7e77fc022474ae9d3bd18bf8ced0" alt="Enabling the AR agent in Settings > Labs" data-og-width="2000" width="2000" data-og-height="1148" height="1148" data-path="images/product/agents/ar_agent_labs.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?w=280&fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=c146290f59a89854c0a6a7a35213f861 280w, https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?w=560&fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=c615a7574401c725b5b6e603fc81fd65 560w, https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?w=840&fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=08f82a4ee19750ef70b645d290f33051 840w, https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?w=1100&fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=9b95ba1fea088c3b640da8369b56ee9b 1100w, https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?w=1650&fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=29d9269e912eeb4d1eea99235d2ea734 1650w, https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_labs.png?w=2500&fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=0e3db6ae273392174e3b8c8e3e52f3f1 2500w" />
</Frame>

## Emailing the agent

Send or forward a customer request to your workspace's agent address. A plain-language description of the change is enough. The agent parses the request, identifies the customer, and works out which fields to update. There's no required subject line or format.

<Frame>
  <img src="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_email.png?fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=c7a675eba7208d2500fa8b70c988e309" alt="Emailing a request to the AR agent" width="1480" height="528" data-path="images/product/agents/ar_agent_email.png" />
</Frame>

<Warning>
  For security, only people registered as users in your workspace can email the agent. Requests from unrecognised senders are ignored.
</Warning>

<Tip>
  Processing can take a minute or two, as the request passes through several steps before it appears in Watchtower. If a request falls outside what the agent can action, it posts a notification in Watchtower explaining why, so nothing is silently dropped.
</Tip>

## Review and approval

Once the agent has processed a request, the proposed change appears in [Watchtower](/agents/watchtower) under **Needs Action**. Each item shows the original email as its source alongside the change the agent has prepared.

<Frame>
  <img src="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_contact.png?fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=b15af2f38716ed0d3eb682c83101c771" alt="Billing contact change flagged for review with source email" width="2000" height="1143" data-path="images/product/agents/ar_agent_contact.png" />
</Frame>

Open the item and choose **Review changes** to see a before-and-after comparison of the customer record. You can edit any field before applying. The agent's proposal is a starting point, with a human always in the loop.

<Frame>
  <img src="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_review.png?fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=1efb3572106aab61f02d56db669f4b3e" alt="Before and after comparison of a customer detail change" width="2000" height="1147" data-path="images/product/agents/ar_agent_review.png" />
</Frame>

From here you can:

1. **Review changes**: apply the update to the customer record
2. **Edit**: adjust any field before applying
3. **Dismiss**: discard the proposed change

Once approved, the change is written to the customer and reflected across Sequence.

<Frame>
  <img src="https://mintcdn.com/sequence/FWpxjfeI558humMk/images/product/agents/ar_agent_customer.png?fit=max&auto=format&n=FWpxjfeI558humMk&q=85&s=06e4d7ce345cc66bd2cab643652297fb" alt="Updated customer record after approval" width="2000" height="1144" data-path="images/product/agents/ar_agent_customer.png" />
</Frame>

<Note>
  All agent activity and approvals are logged in Watchtower's audit trail, so you keep a complete record of who approved what and when.
</Note>

## Best practices

<AccordionGroup>
  <Accordion title="Writing requests" icon="pen">
    * Name the customer clearly so the agent can match the right record
    * Include the full set of details for the change (for example, the complete new address)
    * One request per email keeps changes easy to review
  </Accordion>

  <Accordion title="Reviewing changes" icon="magnifying-glass">
    * Always check the before-and-after comparison before approving
    * Verify billing addresses, which affect tax calculation
    * Confirm the agent matched the correct customer
  </Accordion>

  <Accordion title="If something looks off" icon="triangle-exclamation">
    * Edit any field directly in the review view before applying
    * Dismiss a proposal if it isn't correct and re-send a clearer request
    * Check Watchtower for a notification if a request didn't produce a change
  </Accordion>
</AccordionGroup>

## Next steps

After approving a change:

* The customer record is updated with the new details
* The change is reflected everywhere the customer is used, including future invoices
* The full history stays available in Watchtower's audit trail
