Dashboard · Data

Data sources & JSONPath

Pull HTTP JSON into site variables with JSONPath mappings, then sync a single source or an entire group.

  1. Open Data → Sources

    /websites/:id/data?tab=sources — add an HTTP JSON endpoint your server can reach.

  2. Map fields

    For each target variable key, set a JSONPath such as $.phone or $.office.address.line1. The sync writes into that variable key.

  3. Assign a sync group

    Groups (for example site, library) let you refresh related sources together. Editors with SYNC_DATA can trigger group sync from the overlay Data tab. Developers can set syncOnEditorStart in macro.config.js.

  4. Sync now

    Run Sync on one source or the group. Check results in the Sync log.

Write target
Mappings write into Macro variables — public visitors still only see cached Macro values, not your origin API.