Standard users CSV
Standard users CSV brings users into Owlie from a CSV file instead of a live system. You upload the file to a file drop that Owlie hosts for the integration, by hand or from a scheduled job, and Owlie syncs one user per row. Every upload is the complete, current list of users. The connector reads only: it has no credentials, reaches no system and never writes.
Use it for a source that can export its people but has no usable API, such as a scheduled HR export or a spreadsheet someone maintains. To describe more files, other entities or relationships between them, build a flat-file connector.
Capabilities
| Capability | Supported | Details |
|---|---|---|
| Sync | Yes | Users, from each uploaded file. A file that arrives starts a full run of the Sync job. |
| Incremental sync | No | Every file is a full snapshot. |
| Account provisioning | No | |
| Grant writes | No | The connector has no Grant kinds. |
| Notifications | No | |
| Custom operations | No |
Authentication
The connector has no authentication settings, because Owlie never calls a system. A script that
uploads files authenticates with an upload token, which you create on the integration after you
install it. An upload token can request upload URLs for that one integration and nothing else.
Creating and revoking tokens needs the integration.modify permission.
Connect Standard users CSV in Owlie
| Field | Required | What to enter |
|---|---|---|
| User columns | Yes | The columns of your file, by header name, each with its position and type. The default columns are employee_id, email, first_name, last_name and department, in that order, all text. |
| Users file name | Yes | The pattern an uploaded file's name must match. The default is users*.csv. * matches any run of characters, ? matches one character, and case is ignored. |
The file must be UTF-8 and comma-separated, with a header row, and at most 8 MiB. Owlie reads each cell into the column whose name is exactly its header text, so name every column the way your export's header spells it. A header column you did not declare is kept on the record as text.
employee_id identifies a user. You can add, rename and remove the other columns, but the
employee_id column stays as it is. A row with a blank employee_id counts as a failed record.
After you install the integration:
- Open Integrations, then the integration, then its Connection tab.
- To load a file by hand, use the File drops card: keep Match by file name, then choose a
.csvfile. - To upload from a script, enter a label in the Upload tokens card, select Create token, and copy the token. Owlie shows it only once. Upload files and run ingestion has the two requests a script sends.
The File drops card lists the newest uploads with their Status. A drop reaches INGESTED
when its run finished and the file's users are in Owlie, or FAILED with the reason beside it. The
connection test always succeeds, because there is no system to reach.
Entities
| Entity | In the file | Identifier | Key attributes | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|---|---|
| user | One row of the users file. This is the account entity. | employee_id | email, first_name, last_name, department | Yes | No | No | No | No |
The Sync job for users starts in Identity mode, so Sync creates or updates an Owlie identity from every row. That suits an HR export. For a file of one application's accounts, open the Sync job and, on its Behavior tab, set Sync mode to Resource, so rows become accounts of identities that already exist. Sync behavior explains the modes. The job has no schedule: it runs when a file arrives or when you run it by hand.
Provisioning behaviour and limits
Owlie never writes to the file or to the system it came from.
Each successful run makes the integration's users match the file. A user that an earlier file contained and the new file leaves out is removed from the integration, exactly as when Sync no longer finds a record in a connected system. Always upload the whole export, never only what changed.
Because a bad file could otherwise remove everyone, Owlie holds back removals in these cases:
- A file with no rows, after an earlier run found some, fails the run and removes nothing.
- When any row can't be read, Owlie ingests the other rows and skips every removal for that run. The run is marked Removals skipped, and the next clean file removes what is missing.
- A file where unreadable rows pile up fails the run as the wrong file or the wrong format.
Troubleshooting
An upload fails with no_matching_feed. The file's name doesn't match Users file name.
Rename the file, or change the pattern in the integration's configuration.
A drop fails and asks you to save the integration's configuration. The users feed has no Sync job yet. Save the integration's configuration, which creates the job, then upload the file again.
A run is marked Removals skipped. At least one row could not be read, often a row with a blank
employee_id. Fix the export and upload the whole file again.
Running the Sync job by hand fails and asks for an upload. A run by hand only retries a file that is archived but not yet ingested. Upload the current export instead.
Changelog
The Standard users CSV connector is at version 1. Owlie shows each connector's changelog with the connector in the catalog.