🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.
← Gorgias + Google Sheets integrations

Get Values in Range with Google Sheets APIon New Events from Gorgias API

Pipedream makes it easy to connect APIs for Google Sheets, Gorgias and 700+ other apps remarkably fast.

Trigger workflow on
New Events from the Gorgias API
Next, do this
Get Values in Range with the Google Sheets API
No credit card required
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

This integration creates a workflow with a Gorgias trigger and Google Sheets action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Events trigger
    1. Connect your Gorgias account
    2. Configure timer
  3. Configure the Get Values in Range action
    1. Connect your Google Sheets account
    2. Optional- Select a Drive
    3. Select a Spreadsheet
    4. Select a Sheet Name
    5. Configure Range
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new Gorgias event. [See the docs](https://developers.gorgias.com/reference/the-event-object)
Version:0.1.0
Key:gorgias-new-events

Trigger Code

import base from "../common/base.mjs";

export default {
  ...base,
  key: "gorgias-new-events",
  name: "New Events",
  description: "Emit new Gorgias event. [See the docs](https://developers.gorgias.com/reference/the-event-object)",
  version: "0.1.0",
  type: "source",
  methods: {
    ...base.methods,
    getEventTypes() {
      return {};
    },
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
GorgiasgorgiasappThis component uses the Gorgias app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
timer$.interface.timer

Trigger Authentication

Gorgias uses API keys for authentication. When you connect your Gorgias account, Pipedream securely stores the keys so you can easily authenticate to Gorgias APIs in both code and no-code steps.

For Gorgias, the API keys are managed in In Settings > REST API, where Settings is "Your Profile" page inside the left bottom menu actually. Georgias is a developer friendly app, it has extensive documentation, including the API Key authentication mechanisms.

About Gorgias

Flawless customer service for e-commerce stores

Action

Description:Get values from a range of cells using A1 notation.
Version:0.0.8
Key:google_sheets-get-values-in-range

Action Code

import googleSheets from "../../google_sheets.app.mjs";

export default {
  key: "google_sheets-get-values-in-range",
  name: "Get Values in Range",
  description: "Get values from a range of cells using A1 notation.",
  version: "0.0.8",
  type: "action",
  props: {
    googleSheets,
    drive: {
      propDefinition: [
        googleSheets,
        "watchedDrive",
      ],
    },
    sheetId: {
      propDefinition: [
        googleSheets,
        "sheetID",
        (c) => ({
          driveId: googleSheets.methods.getDriveId(c.drive),
        }),
      ],
    },
    sheetName: {
      propDefinition: [
        googleSheets,
        "sheetName",
        (c) => ({
          sheetId: c.sheetId,
        }),
      ],
    },
    range: {
      propDefinition: [
        googleSheets,
        "range",
      ],
    },
  },
  async run() {
    const sheets = this.googleSheets.sheets();

    return (await sheets.spreadsheets.values.get({
      spreadsheetId: this.sheetId,
      range: `${this.sheetName}!${this.range}`,
    })).data.values;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Google SheetsgoogleSheetsappThis component uses the Google Sheets app.
DrivedrivestringSelect a value from the drop down menu.
SpreadsheetsheetIdstringSelect a value from the drop down menu.
Sheet NamesheetNamestringSelect a value from the drop down menu.
Rangerangestring

The A1 notation of the values to retrieve. E.g., A1:E5

Action Authentication

Google Sheets uses OAuth authentication. When you connect your Google Sheets account, Pipedream will open a popup window where you can sign into Google Sheets and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Sheets API.

Pipedream requests the following authorization scopes when you connect your account:

emailprofilehttps://www.googleapis.com/auth/drive

About Google Sheets

With Google Sheets, you can create, edit, and collaborate wherever you are

More Ways to Connect Google Sheets + Gorgias

About Pipedream

Stop writing boilerplate code, struggling with authentication and managing infrastructure. Start connecting APIs with code-level control when you need it — and no code when you don't.

Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
"The past few weeks, I truly feel like the clichéd 10x engineer."
@heyellieday