Skip to main content

Workflow Action - Google Sheets

Overview

The Google Sheets action in Stack allows you to seamlessly send data from your workflow directly into a Google Sheets spreadsheet. This premium feature is perfect for maintaining records, tracking data, and organizing information in a structured format. Note that each execution incurs additional charges.

Action Name

Google Sheets

Action Description

The Create Spreadsheet Row action is designed to add a new row of data into a specified Google Sheets spreadsheet. This is particularly useful for automatically logging information like ticket details, user data, or any other important records.

Action Details

FieldDescriptionMandatory
Action NameThe name of the action, set to "Create Spreadsheet Row".Yes
ActionDefines the operation to be performed, such as creating a row. Set to "Create Spreadsheet Row".Yes
Choose an AccountThe Google account linked to your Stack platform that has access to the desired Google Sheet.Yes
DriveSpecifies the Google Drive where the spreadsheet is located, typically "My Drive".Yes
SpreadsheetSelect the specific Google Sheets document where the data will be sent.Yes
WorksheetThe specific worksheet within the selected spreadsheet where the new row will be added.Yes
Refresh HeadersA button that updates available columns based on current headers in the worksheet.No
Starting ColumnSpecifies the starting column for data insertion, ensuring correct mapping to the Google Sheet's headers.Yes
Ending ColumnSpecifies the ending column for data insertion, allowing you to define a range of columns.Yes
Dynamic FieldsFields that appear based on your spreadsheet's columns, allowing you to specify data insertion for each.Yes

How to Configure the Action

  1. Add the Action to Workflow: Drag and drop the Google Sheets action into your desired workflow.
  2. Select Action Type: Choose "Create Spreadsheet Row" from the Action dropdown.
  3. Choose Google Account: Select the linked Google account with access to your Google Sheets.
  4. Select Drive: Typically, select "My Drive" unless using a shared drive.
  5. Select Spreadsheet and Worksheet: Choose the specific Google Sheets document and the corresponding worksheet tab where you want to add the data.
  6. Map Data Fields: Use the Starting Column and Ending Column to define the range. Map the workflow data to the corresponding columns in the Google Sheet by entering values or using custom values.
  7. Refresh Headers: Click this if you’ve made recent changes to the Google Sheet’s headers to ensure the data aligns correctly.

Example

  • Trigger: New Support Ticket Created
  • Condition: A new support ticket is generated from a contact.
  • Action: Google Sheets - Create Spreadsheet Row
    • Drive: My Drive
    • Spreadsheet: "Support_Analysis_2023"
    • Worksheet: "September"
    • Starting Column: Ticket ID (A)
    • Ending Column: Subject (B)
    • Ticket ID: Insert the ticket ID using custom values.
    • Subject: Insert the ticket subject using custom values.

By integrating the Google Sheets action within workflows, you can automate data entry tasks, ensuring critical information is logged accurately and consistently, reducing manual errors and saving time.