> For the complete documentation index, see [llms.txt](https://help.delpha.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.delpha.io/delpha-for-salesforce/how-to-faq/delpha-duplicate/how-to-set-the-frequency-of-the-auto-merge.md).

# How to set the frequency of the Auto Merge

Learn how to schedule the Auto Merge job in Delpha using the DDQ\_DuplicateRecord\_AutoMerge Apex class. Automate daily deduplication in Salesforce.

## How to Set or Increase the Frequency of Auto Merge in Delpha

Delpha allows you to automate the merge of duplicate records using the **Auto Merge** feature. To ensure the process runs regularly, you need to schedule the underlying Apex job in Salesforce.

Follow the steps below to configure or increase the frequency of this automation.

## Steps to Schedule the Auto Merge Job

1. **Go to Salesforce Setup**
   * Click the gear icon in the top-right corner and select **Setup**.
2. **Find Apex Classes**
   * In the **Quick Find** search bar, type **Apex Classes**.
   * Select **Apex Classes** from the list.
3. **Schedule the Merge Job**
   * Click the **Schedule Apex** button.
   * In the list of Apex classes, select:\
     `DDQ_DuplicateRecord_AutoMerge`
4. **Set Frequency**
   * Configure the job to **run daily** (or at your preferred interval).

> Once scheduled, Delpha will automatically merge eligible duplicate records based on the confidence threshold defined in your Duplicate Settings.

***

## Summary

| Setting              | Recommendation                  |
| -------------------- | ------------------------------- |
| **Apex Class**       | `DDQ_DuplicateRecord_AutoMerge` |
| **Frequency**        | Daily                           |
| **Trigger Location** | Salesforce Setup → Apex Classes |

{% hint style="info" %}

* You can create multiple schedules depending on the desired frequency
* The automatic/mass merge deals with potential duplicates with Status = Auto Yes or Steward Yes. Duplicates processed through the bot are merged instantly.
  {% endhint %}

![](https://help.delpha.io/servlet/rtaImage?eid=ka0EY00000008VN\&feoid=00N5w00000NsgBL\&refid=0EMEY000000FzR4)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.delpha.io/delpha-for-salesforce/how-to-faq/delpha-duplicate/how-to-set-the-frequency-of-the-auto-merge.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
