Connect a data source
Read in Silon a list that another tool publishes at an address, in CSV or JSON.
A data source is an address that returns a list in CSV or JSON: an agency's internal tool, an Airtable export, a table a developer publishes. Silon reads the address from its servers and runs the rows through the usual import, with the Check screen, saved mappings and undo.
Sources are set up in Workspace settings › Integrations › Data source. A workspace can connect up to 5 sources, including Google Sheets.
Add a source
- Add a source: give a name, then the address, which starts with
https://. - Access:
- None if the address is public;
- Key for a key sent in the
Authorizationheader, as Bearer or Value only: the tool's documentation says which, usually Bearer; - Custom header for a key sent under the header name the tool expects (for example
X-Api-Key).
- Test: Silon reads the first page and says how many rows and columns it finds. If the JSON contains several lists, choose the one to read.
- Save and read: the Check screen opens, as for a file.
The address and key are encrypted and are not shown again. To change them: Edit, then Change the address or key, and enter both again.
First read: the Check screen
In the Columns section of the Check screen, on top of the usual column mappings:
- Identifier column: the column that identifies each row in the source. With it, a new read updates the events already read instead of creating duplicates.
- Create as confidential: new events don't appear on public links or in calendar subscriptions.
- Read the “ID Silon” column: a row that carries the ID of a Silon event is linked to it, and no new event is created.
Read again
Read now reads the source again and reopens Check, with the mappings of the previous read. Each read appears in Import and export › History under the source's name, and can be undone like a file import.
Daily read
As soon as an identifier column is chosen, the source is read every day: at most once every 24 hours, when a member who manages reference data opens the workspace, without going through Check.
- Only rows that changed in the source update Silon; a row removed from the source deletes nothing in Silon.
- Nothing is created automatically: no universe, criterion or value. An unknown value takes the default value.
- Events created by a daily read are confidential, unless set otherwise in Edit (“Create as confidential”).
- If the source's columns change, the read stops and the source becomes To review: Read now reopens Check, which names the columns that are gone and the new ones.
- A read and its undo send no notifications; the changes stay in each event's log.
- After three failures in a row, the source is Paused and the members who manage the workspace receive an email. The record of its events says the updates are paused; padlocked fields keep the last values read from the source. To restart it: check the source, then Read now.
- To stop it: Edit, then turn off “Read every day”.
Locked fields
On an event from a source read every day, a padlock marks the fields the source fills, with the source's name. Edit those fields in the original tool; the others (notes, review, added steps…) can still be edited in Silon.
On an event from a source that isn't read every day, the record shows "Imported from" followed by the source's name. No field has a padlock: everything can be edited in Silon, and Read now updates those fields. If the source has been deleted, the record shows "Imported from a data source".
Google Sheets
The Google Sheets entry in Integrations opens the same window. Only a sheet published to the web can be read:
- In Google Sheets, File › Share › Publish to the web.
- Choose the sheet, then publish.
- Paste the published address into Silon.
A sheet that is only shared by link is refused. No key is sent to Google.
Who can do what
- Add, edit or delete a source: the right to manage workspace settings and the right to manage reference data.
- Read a source: the right to manage reference data. That right is enough to see all the data the key can read at that address.
- All members see the name of an event's source, never its address.
Good to know
- Silon reads the source from shared IP addresses, so an IP allowlist doesn't protect it. Only the key controls access.
- The format to give the tool's developer is described in Expected format.