Launch + Black Friday Nitida Tables Pro launch offer: 30% off the first year until Wednesday, December 2. See plans

Skip to content

Nitida Tables · Documentation

Data sources

Requires Nitida Tables Pro.

A data source keeps a table in sync with a Google Sheet, a CSV or JSON address, or a table on a web page. Updates are checked against safety rules and, by default, wait for your approval before they go live. Each table can have one data source.

Create a table from a source

Go to Nitida Tables > Data sources. The page is titled Keep tables up to date automatically and lists every connected table with its source, schedule and last run.

To start from scratch, use Create a new table from a source. Enter a Table name, choose the Source type, fill in the Address (URL) and press Fetch and create table. The source is fetched once. Its first row becomes the header and every column is mapped by its name. You can also choose Connect a table to connect an existing table, then press Continue.

Source types

  • Google Sheets: paste the normal link of the sheet. The sheet must be readable without a login: use Share > Anyone with the link can view, or File > Share > Publish to the web. To use one tab, open it first so the link ends with its gid.
  • CSV: the address of a CSV file that anyone can open without a login.
  • JSON: the address of a JSON file or API that returns a list of objects or a list of lists. If the list sits inside the JSON, enter its location in JSON path (optional), for example data.items or results[0].rows.
  • Web page: the address of a public page with an HTML table, for example a vendor’s release list. Use Table number on the page to pick the table (1 is the first). Pages that build their tables with JavaScript, or that need a login, cannot be read.

Responses can be up to 5 MB. Requests go through WordPress’ safe HTTP functions, so private and local addresses are refused. Use Load preview to see what the source returns before saving. Untick First row is a header if the source has no header row.

Map the columns

Under Column mapping, choose for each table column which source column feeds it. The names in the list come from the source’s header row. Columns set to (not synced, keep my values) are never touched by a sync. Use this for notes you add by hand.

If the source later loses a column you mapped, the update is stopped with a message that names the missing column.

How rows are updated

Choose an Update mode:

  • Replace the table: the table becomes a copy of the source.
  • Add new rows only: rows are matched by key. Existing rows are never changed.
  • Add and update: rows are matched by key. Changed cells are updated and new rows are added.

For the last two modes, pick the Key column (identifies a row), for example a SKU or a version number. Rows with an empty or repeated key are skipped and reported. Other options:

  • Put new rows at the Top or Bottom.
  • Ignore upper/lower case in keys.
  • Remove rows that disappeared from the source (only with Add and update). Rows you added by hand that have no match in the source are removed too.
  • Allow links and basic formatting from the source: off by default, so the source is treated as plain text. Turn it on only for sources you control. Only simple formatting and links are kept.

Safety rules

If an update breaks a rule, it is stopped and the table stays as it is. Under Safety rules you can set:

  • Minimum rows in the result
  • Max % of rows removed in one run
  • Max changes per run (0 means no limit)
  • Check each column: mark a column Required, or say it Must be a number or a date. Then choose what happens to a row that breaks a rule: Skip that row or Stop the whole update.

The defaults are at least 1 row, at most 20 percent of rows removed and at most 50 changes per run.

Review before publishing

Under Publishing, New changes decides what happens after a sync finds changes:

  • Review changes before they go live (recommended): you see what would change and approve it. Nothing changes on the site until you do. Under Changes waiting for review you see counts of added, removed and updated rows and a sample. Press Approve and publish or Reject. A rejected change is not proposed again.
  • Apply automatically: changes that pass the safety rules go live right away.

If someone edited the table after the changes were prepared, they are calculated again on top of those edits when you approve. Every applied update is saved as a table revision, so you can roll back from the table editor. Changes from web pages wait for your review unless you switch to automatic.

Schedule

Under Check the source, pick Manual only, Every hour, Twice a day, Every day or Every week. The default for a new source is every day. Schedules use WP-Cron, which runs when someone visits your site. If a run is late the page says “Overdue, waiting for WP-Cron”.

Use Sync now to run a sync at any time. It starts with a Dry run summary (“If you sync now: …”) so you can see the effect first. Pause and Resume stop and restart scheduled syncs. Disconnect keeps the table and its data but stops updates.

Notifications

Enter an address under Send e-mails to, then choose E-mail me when:

  • Changes are waiting for review (on by default)
  • An update is stopped by a safety rule (on by default)
  • A sync fails (on by default)
  • The table is updated (off by default)

Error e-mails are sent on the first failure and then on every fifth, so a dead source does not fill your inbox.

When something goes wrong

The History list on the source page shows the last 30 runs with a status such as Updated, Waiting for review, Stopped by a rule, Failed, Up to date or Rejected. Failed runs show a plain message, for example:

  • “Google returned a web page instead of the sheet”: the sheet is not shared. Share it with Anyone with the link can view, or publish it to the web.
  • “The source needs a login or refused access (HTTP 403)”.
  • “The source took too long to answer”: requests time out after 20 seconds.
  • “No table was found on the page”: the table is built with JavaScript.
  • “This address is not allowed. Private and local addresses cannot be used.”

In the editor, synced columns can be overwritten by the next sync. Edit the source, or set the column to (not synced, keep my values), if you want to change a synced column by hand.