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

# Salesforce Agent Active

> Choose which synced records the AI agent works.

![Active Filter card with the condition Monumint\_Agent\_Active\_\_c equals true](https://mintcdn.com/omniai/5EsVoTZnq-v8uzi1/images/integrations/salesforce/active-filter.png?fit=max\&auto=format\&n=5EsVoTZnq-v8uzi1\&q=85\&s=a366e555785661581db1c4f2d95937d7)

Every record in your audience syncs into Monumint, but only records that match the active filter are assigned to the AI agent. Everyone else is assigned to your team. Because the filter is checked on every sync, your team can turn the agent on or off by editing a field in Salesforce.

## Set up an agent active checkbox

**1. Create the field**

In **Object Manager**, add a **Checkbox** field to Contact (or Lead) with
the label `Monumint Agent Active`, and leave the default unchecked. Give
the integration user **Read Access** to the field.

**2. Add it to your audience query**

Add `Monumint_Agent_Active__c` to the `SELECT` list, and leave it out of
the `WHERE` clause.

**3. Add the condition**

In the **Active Filter** card, set the condition to
`Monumint_Agent_Active__c` **Equals** `true`, then click **Save**.

You can check the box by hand, through a list view mass update, or from a Salesforce Flow. For example, a Flow could check it when an application moves to "Documents Requested".

## Conditions

A record must match every condition. **Equals** matches one exact value, and **Contains** matches any of several values. **Greater than** and **Less than** compare numbers. A record with an empty field never matches. If you leave the filter empty, every synced record is assigned to the agent.

## When a record changes

* **The record starts matching the filter.** It is assigned to the agent on the next sync, and outreach starts if the agent has not contacted the person before.
* **The record stops matching the filter.** It is reassigned to your team, and any scheduled agent messages are cancelled.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.