← Gorgias + Google Sheets integrations

Clear Cell with Google Sheets API on New Events from Gorgias API

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

Trigger workflow on
New Events from the Gorgias API
Next, do this
Clear Cell with the Google Sheets API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
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 Clear Cell action
    1. Connect your Google Sheets account
    2. Optional- Select a Drive
    3. Select a Spreadsheet
    4. Select a Sheet Name
    5. Configure Cell
  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.

  • Gorgias API keys are managed in In Settings > REST API, where Settings is "Your Profile" page inside the left bottom menu actually.
  • Find your Gorgias domain by accessing your Gorgias dashboard and copying the first part of the URL. For example, if the dashboard is located at https://abc123.gorgias.com/app, then your domain is abc123.
  • 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:Delete the content of a specific cell in a spreadsheet
Version:0.0.4
Key:google_sheets-clear-cell

Action Code

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

export default {
  key: "google_sheets-clear-cell",
  name: "Clear Cell",
  description: "Delete the content of a specific cell in a spreadsheet",
  version: "0.0.4",
  type: "action",
  props: {
    googleSheets,
    drive: {
      propDefinition: [
        googleSheets,
        "watchedDrive",
      ],
      description: "The drive containing the spreadsheet to edit. If you are connected with any [Google Shared Drives](https://support.google.com/a/users/answer/9310351), you can select it here.",
    },
    sheetId: {
      propDefinition: [
        googleSheets,
        "sheetID",
        (c) => ({
          driveId: googleSheets.methods.getDriveId(c.drive),
        }),
      ],
    },
    sheetName: {
      propDefinition: [
        googleSheets,
        "sheetName",
        (c) => ({
          sheetId: c.sheetId,
        }),
      ],
    },
    cell: {
      type: "string",
      label: "Cell",
      description: "The A1 notation of the cell to clear. E.g., `A1`",
    },
  },
  async run() {
    const request = {
      spreadsheetId: this.sheetId,
      range: `${this.sheetName}!${this.cell}`,
    };
    return await this.googleSheets.clearSheetValues(request);
  },
};

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.
Cellcellstring

The A1 notation of the cell to clear. E.g., A1

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