---
title: "[Progic] How to set up an employee database integration with your HR system"
description: Learn how to integrate your HR system (Senior or TOTVS) with Progic to keep the employee database updated automatically, map fields, set precedence rules and handle terminations.
---

[Skip to content](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#main-content)

- [English](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system)
- [Español](https://help.progic.com.br/es/cómo-configurar-una-integración-de-la-base-de-colaboradores-con-el-sistema-de-rr-hh)
- [Português](https://help.progic.com.br/pt/como-configurar-uma-integração-da-base-de-colaboradores-com-o-sistema-de-rh)

English

Show submenu for translations

![progic\_120\_55](https://help.progic.com.br/hs-fs/hubfs/progic_120_55.png?width=120&height=55&name=progic_120_55.png)

Open main navigation

Close main navigation

- - [English](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system)
    - [Español](https://help.progic.com.br/es/cómo-configurar-una-integración-de-la-base-de-colaboradores-con-el-sistema-de-rr-hh)
    - [Português](https://help.progic.com.br/pt/como-configurar-uma-integração-da-base-de-colaboradores-com-o-sistema-de-rh)

  English
  
  Show submenu for translations
- [Contact us](https://ty05a.share.hsforms.com/2RIyv8iaWR9qVScnzVXKQSQ)

[Contact us](https://ty05a.share.hsforms.com/2RIyv8iaWR9qVScnzVXKQSQ)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Central de Ajuda](https://help.progic.com.br/en?hsLang=en)
2. [Platform](https://help.progic.com.br/en/platform?hsLang=en)
3. [Integration and Security](https://help.progic.com.br/en/platform?hsLang=en#integration-and-security)

# \[Progic\] How to set up an employee database integration with your HR system

Integrations connect the platform directly to your company’s HR or payroll system and keep the employee database up to date automatically, without relying on spreadsheets or in-house development.

During setup, you define where the data comes from, which Progic field each source system field maps to, which rules apply and how each employee is identified. Then you follow each run with the result of every record and the reason for each decision.

**Important:** in this first version, integrations are available for the Senior and TOTVS systems.

**In this article**

- [How an integration works](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#como-funciona)
- [Step 1: Source](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#etapa-1)
- [Step 2: Raw fields](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#etapa-2)
- [Step 3: Rules](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#etapa-3)
- [Step 4: Identification](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#identificacao)
- [Step 5: Publish](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#etapa5)
- [Scheduling and next run](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#agendamento)
- [Test and run](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#testar-executar)
- [How to handle terminations](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#como-tratar-desligamentos)
- [Tracking runs](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#acompanhar-execucoes)
- [Understanding each decision in the log](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#entender-decisao)
- [Frequently asked questions](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#faq)
- [Best practices](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#boas-praticas)

### How an integration works

An integration is a data source set up to import employees into your Progic database. A company can have more than one integration, for example when some employees are in Senior and others in another system. They all feed the same database.

The setup wizard has five steps:

| **Step** | **What is done** |
| --- | --- |
| 1. Source | Enter the connection details, generate the sample and set up the schedule |
| 2. Raw fields | Map each source system field to a Progic field |
| 3. Rules | Process and standardize the values that make up the final fields |
| 4. Identification | Define the key that recognizes each employee and the precedence rules for duplicate records |
| 5. Publish | Review the setup summary and publish the new version |

### Step 1: Source

Choose the source system and enter an HTTPS URL, the credentials and any other parameters required by the connector version. Your HR or IT team provides these details.

Then generate a sample. The platform queries the source system and brings in a few real employees from your company. The same employees appear in the previews of the following steps, so you can check the result before publishing.

If the sample doesn’t load, read the message shown. The cause may be the credentials, but also permissions, the address entered, connectivity, the certificate, the source system being unavailable, or no records. Review the connection, permissions and settings with your IT team.

The run schedule is also set up in this step. [See the Scheduling and next run section.](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system#agendamento)

### Step 2: Raw fields

Each HR system uses its own field names, often technical or abbreviated. In this step, you indicate which Progic field each one corresponds to, such as name, email, phone, date of birth, hire date and status.

To make this easier, the platform pre-maps the known fields of each system. For example, the source date of birth field already appears mapped to the Progic date of birth. Review the suggestions and fill in what’s missing.

Mapped fields feed the original fields, which are the starting point for the next step’s rules. For most fields, the value is kept as it came from the source, and the platform distinguishes between a missing field, a null value and an empty value. Some fields, such as the PIN, have their own handling.

**Mapping doesn’t save employees.** Records are only created or changed when the integration actually runs.

**Tip:** if a field name isn’t clear, confirm what it means with whoever manages the HR system before mapping it.

![Captura de Tela 2026-11-18 às 00.02.02](https://help.progic.com.br/hs-fs/hubfs/Captura%20de%20Tela%202026-11-18%20%C3%A0s%2000.02.02.png?width=670&height=376&name=Captura%20de%20Tela%202026-11-18%20%C3%A0s%2000.02.02.png)

### Step 3: Rules

Rules process the incoming values and form the final fields, which are the ones used on the platform and to identify employees. The preview shows the result applied to the sample employees.

Some example rules:

| **Field** | **Rule** |
| --- | --- |
| First and last name | Optional AI-assisted splitting. A full name received in a single field is split into first and last name, keeping the original spelling |
| Email | Lowercase and trimming of leading and trailing spaces |
| Phone | Normalization to the Brazilian standard, with country code and prevention of duplicate area codes. You can also choose to keep or clear the existing phone number when the source doesn’t send a value |
| Dates | Conversion and validation of incoming dates, such as the hire date |
| PIN | Rules such as "Numbers only", so the document is in the format used for identification |
| Status | Handling of status values received from the source, including the "Block existing employee" option. See How to handle terminations |

### Step 4: Identification

**Integration key**

The key is the criterion used to recognize each employee coming from the source system and decide whether they already exist in the database or are new. The options are:

- Automatic (API V2);
- PIN / CPF;
- Email;
- Company + employee ID.

Identification uses the final fields, that is, values already processed by the rules. So mapping the CPF to the original PIN field isn’t enough: you also need to set up the final PIN field, usually with the "Numbers only" rule.

The PIN (personal identification number) stores the employee’s ID document. In Brazil it’s usually the CPF, but it can be another national document, such as the Social Security Number in the United States.

**Attention:** before changing the key of an existing integration, check that it matches the current records. A different key may cause an employee already in the database to be treated as new.

![Captura de Tela 2026-11-18 às 00.02.34](https://help.progic.com.br/hs-fs/hubfs/Captura%20de%20Tela%202026-11-18%20%C3%A0s%2000.02.34.png?width=670&height=380&name=Captura%20de%20Tela%202026-11-18%20%C3%A0s%2000.02.34.png)

### Precedence rules for duplicate records

Some HR systems send more than one record with the same key. This happens, for example, when a person was terminated and later rehired, and the system sends both employment records.

Precedence rules choose which employment record to use when the same person appears more than once. They are applied in sequence, each one breaking ties left by the previous one. An example setup:

1. **Status:** prefer employment records with status TRABALHANDO or FERIAS.
2. **Employee ID:** if there is still more than one record, prefer the highest employee ID.
3. **Hire date:** if the tie continues, prefer the most recent hire date.

The result depends on what happens in the group:

- **There is a winner:** the chosen record is used and the group’s other records are ignored.
- **No record meets the criteria or the tie remains:** the whole group is rejected. For example, if the rule prefers TRABALHANDO or FERIAS and all of a person’s records arrive with maternity leave, the group is rejected.

Use the values exactly as they appear at the source. If the system sends TRABALHANDO and FERIAS, the rule must use those same values.

> **These rules only act among records that share the same key. They don’t filter the whole database and don’t replace the general handling of the Status field, set up in the Rules step.**

### Step 5: Publish

The last step shows a summary of the whole setup. Review the information and publish the new version of the integration.

Publishing alone doesn’t guarantee automatic runs. For that, the schedule must be active. After publishing, check the next scheduled run.

### Scheduling and next run

The schedule is set up in the Source step. You can add more than one time, for example daily at 8 a.m. and 10 p.m.

- Check the time zone used for the schedule.
- After publishing, check the date and time of the next run.
- The schedule can be paused, for example while a new setup is being tested.

![Captura de Tela 2026-11-18 às 00.04.08](https://help.progic.com.br/hs-fs/hubfs/Captura%20de%20Tela%202026-11-18%20%C3%A0s%2000.04.08.png?width=670&height=380&name=Captura%20de%20Tela%202026-11-18%20%C3%A0s%2000.04.08.png)

### Test and run

A published integration offers two ways to run immediately:

- **Test without applying:** queries the real source and shows the expected results without changing employee records. The run and its diagnostics are recorded in the history.
- **Run now:** actually runs the integration and saves the changes to the database, without waiting for the next scheduled run.

In a test run, additions, updates and blocks are previews of what would happen. Totals represent records processed, not necessarily distinct people.

**Important:** the test without applying uses the published version of the integration, not changes still in draft.

![Captura de Tela 2026-11-18 às 17.22.35](https://help.progic.com.br/hs-fs/hubfs/Captura%20de%20Tela%202026-11-18%20%C3%A0s%2017.22.35.png?width=670&height=747&name=Captura%20de%20Tela%202026-11-18%20%C3%A0s%2017.22.35.png)

#### Recommended flow for changes

- While editing, check each step’s previews.
- Pause the schedule and publish the new version.
- Run the test without applying and review the results.
- If everything looks right, resume automatic runs.

Every setup change is recorded in the change history, with the responsible user and the date.

### Tracking runs

Each run generates a summary with the duration, status and record totals:

| **Indicator** | **Meaning** |
| --- | --- |
| Added | New employees added to the database |
| Updated | Existing employees whose data changed |
| No changes | Records that didn’t require any change |
| Blocked | Existing records marked as blocked (BLOCKED) |
| Ignored | Records discarded by the precedence rules because another record for the same person was chosen |
| Rejected | Records with invalid data, incompatible identification or unresolved precedence |
| Failed | Records with problems during processing or application |

Totals refer to records processed, not necessarily distinct people. In the log, rejections may also appear as FAILED; each record’s diagnostic explains the reason.

The integrations screen also shows, for the whole company, a summary of what needs attention and the total number of synced employees. That total corresponds to the distinct records linked to the integrations, not only active employees.

#### Alerts

The platform flags problems such as delays and run errors. When an integration has repeated errors, it is marked as critical so the situation can be handled as a priority.

### How to handle terminations

Ignoring a record, or simply no longer receiving it from the source, doesn’t block or delete an employee already in the database.

To handle terminations, set the Status field rule with the "Block existing employee" option. When the identification and employment conditions are met, the record is marked as blocked (BLOCKED), keeping its data and history. If there is no matching record, this action doesn’t create a new employee.

Keep terminated employees in the HR system response. A filter at the source that hides these records prevents the integration from evaluating their status.

**Attention:** don’t confuse this option with simply assigning the BLOCKED status to a status value. In that case, the integration may also create new records that are already blocked.

### Understanding each decision in the log

From the summary, open the run details and the log. It lists what happened to each record and shows the diagnostic for each decision.

Diagnostics show the information recorded in that run, even if the data has since changed in the source system.

To fix it, check the diagnostic and adjust the data at the source or the integration settings, depending on the cause shown.

You can also search for an employee and see their full history: when they were added, what changed in each run, where each change came from (integration, API, spreadsheet or manual edit) and who made it.

**For full details, see the article** [**on the integration log.**](https://help.progic.com.br/en/employee-database-integration-log?hsLang=en)

### Frequently asked questions

**Which HR systems can be integrated?**

Currently, Senior and TOTVS.

**Can I have more than one integration?**

Yes. A company can have several data sources, and they all feed the same employee database.

**How do I test the integration without changing records?**

Use the Test without applying option. It queries the real source and shows the expected results without changing employee records. The run is recorded in the history.

**Does the test include changes I haven’t published yet?**

No. The test uses the published version. To test a change, pause the schedule, publish the new version and run the test.

**If an employee stops coming from the source, are they blocked?**

No. Not receiving a record doesn’t block or delete the employee. To handle terminations, use the "Block existing employee" option in the Status field rule and keep terminated employees in the HR system response.

**Why wasn’t an employee imported?**

Check the diagnostic in the run log. The most common causes are invalid data, identification incompatible with the chosen key, or a group of duplicate records the precedence rules couldn’t resolve.

**How do I know who changed the integration setup?**

Check the integration’s change history, which records the user and date of each change.

### Best practices

- Generate the sample at the start and, if it doesn’t load, read the message before changing the credentials.
- Review the pre-mapping and confirm with HR what unclear fields mean.
- Set up the final field used in the key, such as the PIN with the "Numbers only" rule.
- In precedence rules, use status values exactly as they come from the source.
- Keep terminated employees in the HR system response and use the "Block existing employee" option to handle them.
- Before changing the key of an existing integration, check that it matches the current records.
- To test changes, pause the schedule, publish, test without applying, and only then resume runs.
- After publishing, check the next scheduled run.
- Follow the alerts and quickly address integrations marked as critical.

### Related articles

- [Integration of the Employee Database with Progic Manager](https://help.progic.com.br/en/integra%C3%A7%C3%A3o-da-base-de-colaboradores-com-o-progic-manager?hsLang=en)
- [How to send the employee database: API v2 and spreadsheet](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet?hsLang=en)
- [Employee database integration log](https://help.progic.com.br/en/employee-database-integration-log?hsLang=en)
- [Employee Field Protection](https://help.progic.com.br/en/employee-field-protection?hsLang=en)
- [Employee termination date](https://help.progic.com.br/en/employee-termination-date?hsLang=en)

- [Corporate TV](https://help.progic.com.br/en/corporate-tv?hsLang=en#main-content)

    - [Channels & Campaigns](https://help.progic.com.br/en/corporate-tv?hsLang=en#channels-campaigns)
    - [Media and Uploads](https://help.progic.com.br/en/corporate-tv?hsLang=en#media-and-uploads)
    - [Creative Resources & Editorial Sections](https://help.progic.com.br/en/corporate-tv?hsLang=en#creative-resources-editorial-sections)
    - [Playlists](https://help.progic.com.br/en/corporate-tv?hsLang=en#playlists)
    - [Connectivity & Network](https://help.progic.com.br/en/corporate-tv?hsLang=en#connectivity-network)
    - [User Management & Access](https://help.progic.com.br/en/corporate-tv?hsLang=en#user-management-access)
    - [Manager](https://help.progic.com.br/en/corporate-tv?hsLang=en#manager)
    - [Broadcast and Monitoring](https://help.progic.com.br/en/corporate-tv?hsLang=en#broadcast-and-monitoring)
    - [Installation & Initial Configuration](https://help.progic.com.br/en/corporate-tv?hsLang=en#installation-initial-configuration)
- [Platform](https://help.progic.com.br/en/platform?hsLang=en#main-content)

    - [Integration and Security](https://help.progic.com.br/en/platform?hsLang=en#integration-and-security)
    - [Management and Operations](https://help.progic.com.br/en/platform?hsLang=en#management-and-operations)
    - [Tips and Best Practices](https://help.progic.com.br/en/platform?hsLang=en#tips-and-best-practices)
- [Apps](https://help.progic.com.br/en/apps?hsLang=en#main-content)

    - [Mobile](https://help.progic.com.br/en/apps?hsLang=en#mobile)
- [New Manager Caqui](https://help.progic.com.br/en/new-manager-caqui?hsLang=en)

[![progic\_120\_55-1](https://help.progic.com.br/hs-fs/hubfs/progic_120_55-1.png?width=120&height=55&name=progic_120_55-1.png "progic_120_55-1")](https://progic.com.br/?utm_source=hubspot)

<https://www.instagram.com/progic_tv/> <https://progic.com.br/>

Copyright © 2026, Progic