Skip to main content
Msys Imob is a real estate management system for agencies that sell and rent properties. This connector reads your Msys Imob account through the Msys Imob API and brings the active properties, the attendances (leads) with their details and feedback history, the people registered in the system (owners, tenants, buyers, agents…), the active rental contracts, the open bank slips of the tenants, and the reference tables (categories, cities, condominiums, campaigns, portals and others).
The connector only reads data. It never creates, changes or deletes anything in Msys Imob.

Configuring Msys Imob as a Source

In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Msys Imob 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 an Msys Imob API refresh token. Msys Imob generates it for your account:
1

Ask Msys Imob for an API refresh token

Contact Msys Imob support (suporte@moldsystems.com.br) and ask for a refresh token for the Msys Imob API (OpenAPI v1) of your account.
2

Paste it in Nekt

Paste the token in the Refresh Token field.
The following configuration is available:
  • Refresh Token: The Msys Imob API refresh token. On every sync the connector exchanges it for an access token that lasts one day.
Use this refresh token only in Nekt. Msys Imob returns a refresh token on every login and does not document whether the previous one stops working; Nekt keeps the newest one for the next sync. If another tool or script uses the same token, a sync may fail to log in. If a sync fails with “Msys Imob refused the refresh token”, ask Msys Imob support for a new token and update it in the source settings.
Once you’re done, click Next.

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.
Once you are done configuring, click Next.

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.
Once you are ready, click Next to finalize the setup.

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.
For you to be able to see it on your Catalog, you need at least one successful source run.
Each table is read completely and checked before it is loaded, so a sync that fails half-way never leaves a table with part of its rows. If Msys Imob refuses access to one area of the system (for example, contracts or bank slips), the tables of that area are skipped, the sync log says which ones, and the other tables keep syncing.

Fields by stream

The Msys Imob API does not document the fields of its main lists (properties, attendances, people and active contracts). These tables keep the whole record in one JSON column, data, with the field names exactly as Msys Imob sends them (for example idtProperty, valSales, namDistrict), next to their id columns. Extract the fields you need in a Query, for example JSON_VALUE(data, '$.valSales') in BigQuery.

Properties and attendances

Active properties (for sale, for rent, or both). Properties that are no longer active in Msys Imob are not returned by the API, so they leave this table.Table: properties · Primary key: property_id · Sync: Full table
Attendances (leads and their follow-up) of every status: normal, attention, caution, lost, finished, rented and sold.Table: attendances · Primary key: attendance_id, pre_attendance_id · Sync: Full table
Details of each attendance, with its feedback history. Msys Imob serves them one attendance at a time, so incremental syncs only read again the attendances that are new or changed in the attendance list, plus a seventh of the others each day: every attendance is refreshed at least once a week. The first sync and full syncs read every attendance and take longer.Table: attendance_details · Primary key: attendance_id · Sync: Incremental (details_read_at)

People

Everyone registered in Msys Imob: owners, tenants, buyers, guarantors, agents, captivators, employees and service providers, active and inactive. Incremental syncs ask Msys Imob for the people registered or updated since the day before the last sync.Table: people · Primary key: person_id · Sync: Incremental (synced_at)

Contracts and bank slips

Active rental contracts.Table: active_contracts · Primary key: contract_id · Sync: Full table
Bank slips (boletos) still open for the tenants of the active contracts. Msys Imob looks them up one tenant (CPF or CNPJ) at a time, so this table makes one request per tenant. Paid slips leave the table. If no open slip is found (or Msys Imob returns no active contract) but the previous sync had some, the table is kept as it was and the sync reports it; run a Full sync to accept an empty table.Table: open_bank_slips · Primary key: document, slip_key · Sync: Full table

Reference tables

All reference tables are synced as full table and have the same columns: id (identifier of the row in Msys Imob), name (its name or description) and data (the full row as Msys Imob returns it, JSON). Some have an extra column, which is part of the primary key.