Connecting a Plytix Channel with Google sheets

How to use a dynamic URL from a Channel in Plytix to send product data to a Google Sheet, and re-import that data using import feeds

Although you maintain your product data in Plytix, there may be cases where you want to export that information to a Google Sheet. Doing this once is as simple as exporting a CSV and opening it in Google Sheets, but if you want a Google Sheet to continuously update, you'll need to do something a little different.

After editing data in a Google Sheet, you may also want to re-import that data into Plytix. This article covers how to create a connection between Plytix and a Google Sheet that flows both ways.

 For this process, you’ll need both a Google account and import feeds enabled for your Plytix account.

Exporting data from Plytix

To begin, add the data you want to export to a CSV Channel. If you're not familiar with this process, learn how to create a CSV channel in Plytix here.

Once you've processed your CSV Channel, you'll see a link appear below the channel's name. Hover over the link and click the icon that appears to copy it.

Importing data into a Google sheet

Open a new Google Sheet. In cell A1, paste the following formula:

=IMPORTDATA("https://your_channel_link_here")

Replace the placeholder in the formula (the text between the quotation marks) with the link from your Channel, which you copied in the last step. Once you hit enter, the cell will briefly display the message Loading.

Shortly after, your Google Sheet will populate with the product information you selected in your Channel.

Sheets using the IMPORTDATA function refresh approximately every 15 minutes.

Depending on your data type and format, Google Sheets may fail to process it.

Importing data into Plytix from a Google sheet

To make your Google Sheet accessible to Plytix, you'll need to publish it to the web.

  1. From your Google Sheet, click File, then Share, then Publish to web.
  2. In the popup that appears, select the sheet you just created, and make sure to select the Comma-separated values (.csv) format. Then click Publish.
  3. Copy the link that appears.
  4. Now return to Plytix.
  5. From the main menu, click Products, then Import. On the left side of the screen, click Feeds, then click Add feed.
  6. Give your feed a name, and paste the link you copied after publishing your Google Sheet into the File URL field. Adjust the import settings to schedule imports at your desired interval. Click Next.
  7. To add your new feed, you’ll go through the same process as a normal import. Check the preview to confirm you’re using the correct column separator, text delimiter, and charset. If the data looks good, click Next.
  8. Most of your attributes should be matched automatically, since this data is already in Plytix. The exceptions are completeness attributes and system attributes that can’t be imported, like Created or Last modified. Leave these unmatched, Plytix will ignore them.
  9. Click Save import settings to finish setting up your feed. You’ll see the new feed appear in your list on the Feeds page. Make sure it’s switched to Active.
  10. To test the feed, click its name and select Process now, then Start processing to confirm.

Once the feed has finished processing, you’ll see a record of the import in the Logs section of the Import area.

You’ve now created a working import feed from a Google Sheet.

This kind of feed import shares the same 20 MB file size limit (increasable to 50 MB upon request) as any other feed import. See Importing Product Data via Feeds for the full mechanics.

Frequently Asked Questions

Created and Last modified are system attributes that Plytix generates automatically, so they can’t be imported. Leave those columns unmatched, and Plytix will safely ignore them.

A Google Sheet connected to Plytix updates about every 15 minutes, since that’s how often the IMPORTDATA function refreshes in Google Sheets.

Yes. Google Sheets feed imports have a 20 MB file size limit, the same as all Plytix feed imports. This can be increased to 50 MB on request. Contact your Account Manager to have it increased.