Omni is a business intelligence (BI) platform that teams use to model their data, explore it, and build workbooks and dashboards on top of their data warehouse.
Hevo uses the Omni API to replicate the metadata of your Omni organization, such as its connections, models, topics, documents, folders, schedules, users, user groups, and their permissions, to the Destination of your choice. Hevo connects to Omni with an organization API key. Hevo does not ingest the results of the queries in your documents.
Supported Features
| Feature Name |
Supported |
| Capture deletes |
Yes |
| History mode |
No |
| Custom data (user-configured tables & fields) |
No |
| Data blocking (skip objects and fields) |
Yes |
| Resync (objects and Pipelines) |
Yes |
| API configurable |
Yes |
Prerequisites
Create an Organization API Key in Omni
Hevo connects to Omni with an organization API key. Omni also supports personal access tokens, but Hevo does not accept them, because a personal access token cannot read the users, user groups, and document favorites, and can read only the content that its owner can see.
To create an organization API key:
-
Log in to your Omni organization as a user with the Organization Admin permission.
-
Navigate to Settings > API access > Organization keys.
-
Click Generate new key.
-
Specify a name for the key, for example, Hevo Data, and click Generate.
-
Copy the key and save it securely like any other password. Omni displays the key only once. You need it to configure your Source.
Read API authentication for more information.
Note: If your Omni organization allows access only from specific IP addresses, add the Hevo IP addresses of your region to the allowlist. Read IP allowlist for more information.
Perform the following steps to configure your Omni Source:
-
Click Pipelines in the Navigation Bar.
-
Click + Create Pipeline in the Pipelines List View.
-
On the Select Source Type page, select Omni.
-
On the Select Destination Type page, select the type of Destination you want to use.
-
On the Configure Source page, specify the following:

-
Source Name: A unique name for your Source, not exceeding 255 characters. For example, Omni Source.
-
In the Connect to your Omni organization section, specify the following:
-
Instance: The part of your Omni URL before .omniapp.co. For example, if you log in to Omni at acme.omniapp.co, enter acme. If your organization is hosted on the Omni playground, enter the part of your Omni URL before .playground.exploreomni.dev.
-
Environment: The Omni environment in which your organization is hosted: Production or Playground. Select Playground only if your organization is hosted on the Omni playground. Default value: Production.
-
Organization API Key: The organization API key that you created in Omni.
-
Click Test & Continue to test the connection to your Omni Source. Once the test is successful, you can proceed to set up your Destination.
When you click this button, Hevo connects to your Omni organization with the API key and checks that it is an organization API key. The test fails if you specify a personal access token.
Data Replication
Hevo replicates data for all the objects selected on the Configure Objects page during Pipeline creation. By default, all supported objects and their available fields are selected. However, you can modify this selection while creating or editing the Pipeline.
Omni does not let Hevo filter records by their update time. Hence, Hevo ingests all the records of all the selected objects in each Pipeline run:
-
Historical Data: The first run of the Pipeline ingests all the available data for the selected objects and loads it into the Destination.
-
Incremental Data: Once the historical load is complete, Hevo ingests all the records of the selected objects again in each run, as per the sync frequency, and updates them in the Destination.
Note: If you select Replicate data changes only (Incremental Only) as the replication type while creating the Pipeline, Hevo still ingests all the records of the selected objects in each run, including the first run.
Hevo reads the child objects, such as topic, document_query, document_access, and user_model_role, with one or more API requests for each parent record. For example, Hevo reads the queries of each document with one request. Hence, deselect the child objects that you do not need, to reduce the number of API requests and the duration of the Pipeline runs.
You can create a Pipeline with this Source using the Merge load mode.
Schema and Primary Keys
Hevo uses the following schema to upload the records in the Destination. For a detailed view of the objects, fields, and relationships, click the ERD.
The following table lists the primary key of each object:
| Object |
Primary Key |
| api_key |
id |
| connection |
id |
| document |
identifier |
| document_access |
document_identifier, id, access_source |
| document_favorite |
document_identifier, user_id |
| document_query |
document_identifier, id |
| email_only_user |
user_id |
| folder |
id |
| group_model_role |
user_group_id, model_id, connection_id, role_name |
| label |
name |
| model |
id |
| model_branch |
id |
| schedule |
id |
| schedule_recipient |
schedule_id, destination_type, recipient_kind, recipient_key |
| schema_refresh_schedule |
connection_id, schedule_id |
| topic |
model_id, name |
| upload |
id |
| user |
id |
| user_attribute |
id |
| user_group |
id |
| user_group_member |
group_id, user_id |
| user_model_role |
user_id, model_id, connection_id, role_name, source_type, source_group_id |
Data Model
The following is the list of tables (objects) that are created at the Destination when you run the Pipeline:
| Object |
Description |
| api_key |
Contains the API keys of your Omni organization, such as the name, type, whether the key is enabled, and the creation time. Hevo does not ingest the value of the keys. |
| connection |
Contains the database connections of your Omni organization, such as the name, database dialect, database, default schema, base role, and the creation and update time. |
| document |
Contains the documents (workbooks and dashboards) of your Omni organization, such as the name, description, connection, URL, owner, folder, labels, number of visits, and the last view and update time. |
| document_access |
Contains the users and user groups that can access each document, such as the name, email address, role, how the access was granted, and whether the user is the owner. |
| document_favorite |
Contains the users who added each document to their favorites, and the time when they added it. |
| document_query |
Contains the queries of each document, such as the name, description, URL, and the query definition. |
| email_only_user |
Contains the users who receive deliveries from Omni by email but do not log in to Omni, such as the email address and the user attributes. |
| folder |
Contains the organization folders of your Omni organization, such as the name, path, URL, owner, labels, and the number of documents and favorites. |
| group_model_role |
Contains the roles of each user group on the models of your Omni organization, such as the model, connection, role, and base role. |
| label |
Contains the labels of your Omni organization, such as the name, color, description, number of uses, and whether the label is verified or shown on the home page. |
| model |
Contains the models of your Omni organization, such as the name, kind, connection, base model, and the creation and update time. |
| model_branch |
Contains the branches of your models, such as the name, description, whether the branch is open to viewers, and the creation and update time. |
| schedule |
Contains the scheduled deliveries and alerts of your Omni organization, such as the name, document, delivery type, format, schedule, time zone, owner, number of recipients, and the status and time of the last delivery. |
| schedule_recipient |
Contains the recipients of each schedule, such as email recipients, Slack channels and users, webhooks, and SFTP and Amazon S3 destinations. |
| schema_refresh_schedule |
Contains the schedules on which Omni refreshes the schema of each connection, such as the schedule, time zone, and whether the refresh is a hard refresh. |
| topic |
Contains the topics of each model, such as the name, label, description, base view, and whether the topic is hidden or composite. |
| upload |
Contains the CSV files uploaded to your Omni organization as data, such as the file name, view name, connection, model, size, and the user who uploaded the file. Hevo does not ingest the content of the files. |
| user |
Contains the users of your Omni organization, such as the user name, display name, email addresses, groups, user type, whether the user is active, and the creation, update, and last login time. |
| user_attribute |
Contains the user attributes defined in your Omni organization, such as the name, label, type, default value, and whether the attribute allows multiple values. |
| user_group |
Contains the user groups of your Omni organization, such as the name and the creation and update time. |
| user_group_member |
Contains the members of each user group. |
| user_model_role |
Contains the roles of each user on the models of your Omni organization, including the roles assigned directly to the user, the roles inherited from user groups, and the base role of the connection. |
Read the detailed Hevo documentation for the following related topics: