Sync from a CSV File URL

Any CSV file at a web address works: an export from your own system, a Dropbox or OneDrive link, or a Google Sheet published as CSV. A sync task downloads the file on a schedule and imports the stores in it. This guide is part of Data Sync; for the add-on itself, see Import & Sync.

The first row of the file must hold the column names, with one store on each row after it. A file can be up to 20 MB.

Where the file is How to get the link
Google Sheets, without an API key File > Share > Publish to web, choose the tab and Comma-separated values (.csv), click Publish and copy the link. With an API key you can also use the Google Sheets source.
Dropbox Share > Copy link, for anyone with the link. You don’t need to change the link: the file is downloaded for you instead of the preview page.
OneDrive or SharePoint Share, set it to Anyone with the link can view, and click Copy. Here too the file is downloaded for you instead of the preview page.
Your own server, ERP or webshop The address of the export, for example https://erp.example.com/export/stores.csv. Use an https address if the file needs a login.

The address must be public. A file on your own network, or on the same server as your site, can’t be read; import it on the Import tab instead.

Fill in the Connect Step

Start a new sync task, choose CSV URL and fill in:

Field What to enter
Name Filled in for you with the source, the site the file is on and today’s date, such as “CSV URL (erp.example.com) – Nov 3, 2026”. Change it to a name you recognise. It’s shown in the task list and the email reports.
CSV file URL The link. It’s stored as you entered it. An http:// address gets a warning that it isn’t secure: use https:// when the server supports it.
Login None for a public link. Otherwise the type of login the server asks for, see Logins.
Delimiter Detect automatically works for a comma, semicolon, tab or pipe. Choose Comma ( , ), Semicolon ( ; ), Tab or Pipe ( | ) only when the columns come out wrong.
The Connect step for a CSV file URL with a username and password

Logins

Login Fields Typical use
API key Name ( the name the server expects, for example X-Api-Key or api_key ), Value, and Send in: Header or URL parameter Exports from online tools
Bearer token Token A token from your system’s admin panel
Username and password Username, Password A protected folder on your own server ( HTTP Basic authentication )
OAuth 2.0 Token URL, Client ID, Client secret, Scope, Username (optional), Password (optional) Systems with an app login; see Which login to choose in the REST API guide

The key, token, password and client secret are stored encrypted. When you edit the task later, the field is empty and says it’s saved: leave it empty to keep it.

A login is only sent over https, and only to the site you entered it for. If the file moves to another site, enter the login again. When another task already logs in to the same site, the step offers Use the same login details.

Test It

Click Test connection. It downloads the file and says, for example, “Connected. 15 rows found.” The columns appear on the next step, Map fields, with their values from the first row.

If your file has an ID column, such as a store number, map it to External ID. Is the file an export from this site with a wpsl_id column? Map that to WP Store Locator ID. See The ID Columns.

Troubleshooting

Message What it means and what to do
No file was found at this URL (HTTP 404). Check the address. The link is wrong, or the file was moved or deleted. Copy the share or publish link again.
The server answered with HTTP 401 instead of the CSV file.
or HTTP 403
The file needs a login, or the share link isn’t public. Make the link public, or choose the right Login.
The server refused the login (401). Check the login details. The login is wrong, or isn’t the type the server expects. Check it, and check the Login type.
A login is only sent over https. The URL starts with http://. Use the https:// address.
The URL now points to another site, so enter the login details again. You changed the URL to another site after the login was saved. Enter the login again; it’s never sent to a site it wasn’t entered for.
The CSV URL was not saved: … The rest of the message says why: a host name that doesn’t exist ( check for typos ), a private or local address, or a port that isn’t allowed. Use a public http:// or https:// address.
The CSV file is empty. The server sent an empty file. Check the export on your own system.
The CSV file is larger than 20 MB. Split the stores over two files, each with its own sync task.
The source has no columns. Check that its first row holds the column names. The first row is empty, or the link opens a web page instead of the file. Open the link in a private browser window: it should download a .csv file.

Next