The connector only reads data. It never creates, changes or deletes anything in Pontotel.
Configuring Pontotel as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Pontotel option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
The connector signs in with a Pontotel API user (an e-mail and a password). API users are not regular Pontotel logins: Pontotel creates them for accounts that have the Public APIs module.1
Request an API user
Ask Pontotel support (suporte@pontotel.com.br) for a production API user for your account, dedicated to Nekt. If your plan does not include the Public APIs module, Pontotel’s sales team can enable it.
2
Check what the API user can see
Make sure the API user can read every company and work location you want in Nekt. A table the API user is not allowed to read is skipped (see below) and the others keep syncing.
3
Fill in the form
Paste the API user’s e-mail and password in the source form.
- API User E-mail and API User Password: the credentials of the Pontotel API user.
- Start Date: Earliest date synced to the Punches, Schedule history, Daily journeys and Monthly results tables on the first sync and on full syncs. The other tables are always read in full.
- Environment (advanced): keep production. Use sandbox only with an API user of Pontotel’s test environment.
- Lookback Days (advanced, default 62): every sync reads again this many days of punches, daily journeys and schedule history before the last synced one, so punches adjusted or voided afterwards are updated. The default covers a timesheet closed in the following month; older changes are brought by a monthly Additional Full Sync (see below).
- Monthly Results Lookback (months) (advanced, default 2): every sync reads again this many months of monthly results before the last synced month, while timesheets are still open.
- Include Legacy (Portaria 1510) Punches (advanced, default off): also reads punches made in Pontotel’s old app under Portaria 1510. Turn it on only if your employees used that app; it makes the punch search slower.
- Max Requests per Hour (advanced, default 450): how many requests per hour the connector allows itself. Pontotel allows 500 per hour per API user; keep some room if the same API user serves other integrations.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data, which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data, which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.How the data is read
- Punches are read one day per request (plus one request for every extra 1,000 punches in a day), because Pontotel limits a punch search to one day. Pontotel allows 500 requests per hour, so a first sync with a start date one year back takes about 1 hour for up to ~1,000 punches a day (about 250 employees punching four times a day) and about 2 hours for 2,000 punches a day. Keep the start date within a year. Later syncs read only the last Lookback Days: about 5 minutes for 500 employees, but about 1 hour 20 minutes for 2,000 employees, so at that size do not schedule the source to run every hour.
- After reading the recent days, every sync also looks for punches created since the previous sync, whatever their date, so a punch included by hand for an older day is brought too.
- A punch voided more than Lookback Days after it was made is not seen by the regular syncs. Schedule a monthly Additional Full Sync of this source to keep old punches up to date.
- Schedule history is read from the start date on the first sync and from Lookback Days before the last change on later syncs.
- Daily journeys are read seven days per request and Monthly results one month per request. Every day of every active employee gets a row, also on days without journeys (an empty list), so a journey removed in Pontotel disappears from the table. Employees that Pontotel leaves out of a whole week (during a leave, or after a dismissal registered late, for example) are taken from the employee list; this needs the API user to be able to read employees. On those empty days, the employer, work location and schedule columns show the employee’s current ones.
- Every other table is read in full on every sync (up to 1,000 records per request). Where Pontotel offers it, removed records are kept with
deletado= true, so removals reach your tables; the justified absences, absence reasons, vacation accrual periods, user groups and cost centers tables have no such flag, so a record removed there disappears from the table. - A reference to another record (an employee’s employer, work location or schedule) arrives as two columns:
<name>_id, with the referenced record’s id, and<name>, with what Pontotel sent about it (JSON). Nested values are JSON text. Every table also keepsraw_payload, the whole record as Pontotel sent it. Dates and times are stored in UTC; the punch time on the employee’s local clock is also kept as text inhorario_da_batida_no_horario_local, together with its offset inoffset_no_fuso_do_horario_local. - If Pontotel sends a value in a format a column does not expect, the column is left empty for that record, the original stays in
raw_payload, and the run log says which column and how many values. - Before reading, the connector checks every selected table with one small request. A table the API user is not allowed to read (or that Pontotel does not answer) is skipped and reported in the run log, and the other tables keep syncing. Wrong credentials stop the run.
The employee’s password to punch the clock, which Pontotel sends with the employee record, is never synced.
Fields by stream
Organization and people
Employers
Employers
The companies (CNPJ or CPF) employees are registered under, removed ones included.Table:
empregadores · Primary key: id · Sync: Full tableWork locations
Work locations
Work locations (plants, stores, branches) with their address and virtual fence settings.Table:
locais · Primary key: id · Sync: Full tableEmployees
Employees
Every employee, including dismissed and removed ones. The employee’s password to punch the clock is never synced.Table:
empregados · Primary key: id · Sync: Full tableUsers
Users
Users of Pontotel (HR, managers and employees with a login), with their permission profiles.Table:
usuarios · Primary key: id · Sync: Full tableUser groups
User groups
User groups and the work locations they cover.Table:
grupos · Primary key: id · Sync: Full tableCost centers
Cost centers
Cost centers.Table:
centros_de_custo · Primary key: id · Sync: Full tableJourneys and schedules
Schedules (escalas)
Schedules (escalas)
Work schedules: the cycle of shifts and days off assigned to employees.Table:
escalas · Primary key: id · Sync: Full tableShifts (jornadas)
Shifts (jornadas)
Shift templates with planned entry, break, return and exit times.Table:
jornadas · Primary key: id · Sync: Full tableSchedule history
Schedule history
Every schedule change of every employee, with who made it and when the new schedule starts.Table:
historico_escalas · Primary key: id · Sync: Incremental (data_da_alteracao)Daily journeys
Daily journeys
The planned journeys of each employee on each day: one row per employee and day, with the day’s journeys in
jornadas (an empty list on a day without journeys).Table: jornadas_diarias · Primary key: empregado_id, data · Sync: Incremental (data)Calculation rules
Calculation rules
Timesheet calculation rules.Table:
regras_de_calculo · Primary key: id · Sync: Full tableHour bank rules
Hour bank rules
Hour bank rules.Table:
regras_banco_de_horas · Primary key: id · Sync: Full tableHolidays
Holidays
Holidays registered in the account.Table:
feriados · Primary key: id · Sync: Full tablePunches and timesheet results
Punches (pontos)
Punches (pontos)
Every punch of every employee, read one day at a time.Table:
pontos · Primary key: id · Sync: Incremental (horario_da_batida)Monthly results
Monthly results
Monthly timesheet results of each employee: the totals by pay item (rubrica), including hour bank credits, debits and balances.Table:
apontamentos_mensais · Primary key: id · Sync: Incremental (competencia)Absences and time off
Leaves (afastamentos)
Leaves (afastamentos)
Leaves of absence (sick leave, maternity…), removed ones included.Table:
afastamentos · Primary key: id · Sync: Full tableJustified absences (dispensas)
Justified absences (dispensas)
Justified absences and allowances, partial or whole-day, with the medical certificate details.Table:
dispensas · Primary key: id · Sync: Full tableAbsence reasons
Absence reasons
Standard reasons used to justify absences and adjustments.Table:
motivos_padrao · Primary key: id · Sync: Full tableVacations
Vacations
Vacation records, removed ones included.Table:
ferias · Primary key: id · Sync: Full tablePlanned vacations
Planned vacations
Vacations planned in Pontotel’s vacation management module.Table:
ferias_planejadas · Primary key: id · Sync: Full tableVacation accrual periods
Vacation accrual periods
Accrual and concession periods of each employee’s vacations and the days already used.Table:
periodos_aquisitivos · Primary key: id · Sync: Full tableOn-call periods
On-call periods
On-call (sobreaviso) periods, removed ones included.Table:
sobreavisos · Primary key: id · Sync: Full table