# How to set the frequency of the Auto Merge

## 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
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>
```

The question should be specific, self-contained, and written in natural language.
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.
