Integrate Google Sheets

We’ll assume that you already know how to add tasks to a workflow and have added the Google Sheets task to your workflow.

Integrating Google Sheets with Kotive happens in two steps:

  1. Connect your Google Sheets account
  2. Setup the Google Sheets task

1. Connect your Google Sheets account:

  1. In your workflow in Kotive, select the Google Sheets task and navigate to the Account details tab.

  2. Select the green button that says Connect your Googlesheets account now.

  3. Name the account under Account label - the email address that you use for your Google account would work well as a way to identify it.

  4. Select the green button that says Connect your Googlesheets account now. This will direct you to an Accounts page by Google, which will request permissions from you.

  5. Allow the requested permissions.

  6. Click the green Save button in the bottom right-hand corner of the window once your account has been connected successfully.

Your Google Sheets account has now been connected to your workflow.


2. Setup the Google Sheets task:

  1. Go to Google Sheets and open the spreadsheet that you’d like to integrate with Kotive.

  2. The URL of your spreadsheet will start with https://docs.google.com/spreadsheets/d/ and will continue with a long string of letters and numbers like 1v16CbljHzt6YQ29mpJ1KRHQ2PVskxvsrMu5Bmw61cx8, and end with /edit#gid=0 - the long string of letters and numbers is the Spreadsheet ID. Copy the Spreadsheet ID.

  3. Head back to your workflow in Kotive (but keep your spreadsheet open, you’ll still need more information from it), select the Google Sheets task and navigate to the Googlesheets tab of the Google Sheets task.

  4. Paste the Spreadsheet ID into the Spreadsheet ID field.

  5. Go back to your Google spreadsheet. Make sure that it contains headings (created by ‘freezing’ the top row).

  6. Identify which tab you’re working in. (The first tab on the left, second from the left, third, etc.)

  7. Back in your workflow, in the Googlesheets tab of the Google sheets task, indicate which tab your worksheet is in (by typing 1 for the first tab, 2 for the second tab, etc.) in the Worksheet ID field.

  8. In Payload, list the columns in your spreadsheet. You can copy this example to add extra columns into this field:

  "gsx:COLUMN NAME": {{"$t": "DYNAMIC FIELD"}},

Simply replace COLUMN NAME with the heading of your specific column, and replace DYNAMIC FIELD with a dynamic field tag, to pull in information from earlier in the workflow.

Be careful not to erase any of the punctuation from this line of code, UNLESS it is the last column listed: the last listed column must NOT end with a comma.

Done! You have now fully integrated your Google Sheets account with your Kotive workflow. When a workflow runs, a new line of information will be added to your Google Spreadsheet.