← Google Sheets + Clearbit integrations

Domain lookup with Clearbit API on New Worksheet (Instant) from Google Sheets API

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

Trigger workflow on
New Worksheet (Instant) from the Google Sheets API
Next, do this
Domain lookup with the Clearbit API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 400,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Google Sheets trigger and Clearbit 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 Worksheet (Instant) trigger
    1. Connect your Google Sheets account
    2. Configure Push notification renewal schedule
    3. Select a Spreadsheet
  3. Configure the Domain lookup action
    1. Connect your Clearbit account
    2. Configure Domain
    3. Optional- Configure Webhook URL
    4. Optional- Configure Company Name
    5. Optional- Configure LinkedIn
    6. Optional- Configure Twitter
    7. Optional- Configure Facebook
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available 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 event each time a new worksheet is created in a spreadsheet. To use this source with a spreadsheet in a [Shared Drive](https://support.google.com/a/users/answer/9310351), use the **New Worksheet (Shared Drive, Instant)** source instead.
Version:0.0.14
Key:google_sheets-new-worksheet

Google Sheets Overview

Some examples of things you can build using the Google Sheets API include:

  • A web app that lets users input data into a Google Sheet
  • A script that automatically updates a Google Sheet with data from another
    source
  • A tool that generates graphs and charts from data in a Google Sheet
  • A service that sends data from a Google Sheet to another API or application

Trigger Code

import httpBase from "../common/http-based/sheet.mjs";
import newWorksheet from "../common/new-worksheet.mjs";

export default {
  ...httpBase,
  ...newWorksheet,
  key: "google_sheets-new-worksheet",
  type: "source",
  name: "New Worksheet (Instant)",
  description: "Emit new event each time a new worksheet is created in a spreadsheet. To use this source with a spreadsheet in a [Shared Drive](https://support.google.com/a/users/answer/9310351), use the **New Worksheet (Shared Drive, Instant)** source instead.",
  version: "0.0.14",
  dedupe: "unique",
  hooks: {
    ...httpBase.hooks,
    ...newWorksheet.hooks,
  },
  props: {
    ...httpBase.props,
    ...newWorksheet.props,
  },
  methods: {
    ...httpBase.methods,
    ...newWorksheet.methods,
  },
};

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
Google SheetsgoogleSheetsappThis component uses the Google Sheets app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
Push notification renewal scheduletimer$.interface.timer

The Google Drive API requires occasionally renewal of push notification subscriptions. This runs in the background, so you should not need to modify this schedule.

SpreadsheetsheetIDstringSelect a value from the drop down menu.

Trigger 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

Action

Description:The Company API allows you to look up a company by their domain. [See the docs here](https://dashboard.clearbit.com/docs?javascript#enrichment-api-company-api-domain-lookup).
Version:0.2.0
Key:clearbit-domain-lookup

Clearbit Overview

Clearbit provides APIs that allow you to retrieve information about companies
and people. This information can be used to build applications that perform
functions such as identifying potential customers, conducting due diligence, or
fraud prevention.

Action Code

import app from "../../clearbit.app.mjs";

export default {
  key: "clearbit-domain-lookup",
  name: "Domain lookup",
  description: "The Company API allows you to look up a company by their domain. [See the docs here](https://dashboard.clearbit.com/docs?javascript#enrichment-api-company-api-domain-lookup).",
  version: "0.2.0",
  type: "action",
  props: {
    app,
    domain: {
      propDefinition: [
        app,
        "domain",
      ],
    },
    webhookUrl: {
      propDefinition: [
        app,
        "webhookUrl",
      ],
    },
    companyName: {
      propDefinition: [
        app,
        "companyName",
      ],
      optional: true,
    },
    linkedin: {
      propDefinition: [
        app,
        "linkedin",
      ],
    },
    twitter: {
      propDefinition: [
        app,
        "twitter",
      ],
    },
    facebook: {
      propDefinition: [
        app,
        "facebook",
      ],
    },
  },
  async run({ $ }) {
    const res = await this.app.domainLookup($, {
      domain: this.domain,
      webhook_url: this.webhookUrl,
      company_name: this.companyName,
      linkedin: this.linkedin,
      twitter: this.twitter,
      facebook: this.facebook,
    });
    if (res.error?.message) {
      throw new Error(res.error?.message);
    }
    $.export("$summary", "Successfully looked up domain.");
    return res;
  },
};

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
ClearbitappappThis component uses the Clearbit app.
Domaindomainstring

The domain to look up.

Webhook URLwebhookUrlstring

A webhook URL that results will be sent to.

Company NamecompanyNamestring

The name of the company.

LinkedInlinkedinstring

The LinkedIn URL for the company.

Twittertwitterstring

The Twitter handle for the company.

Facebookfacebookstring

The Facebook URL for the company.

Action Authentication

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

Copy your "secret API key" from your Clearbit account here and paste it below.

About Clearbit

B2B Lead Data Enrichment, Qualification & Scoring

More Ways to Connect Clearbit + Google Sheets

Company Name to Domain with Clearbit API on New Row Added (Instant) from Google Sheets API
Google Sheets + Clearbit
 
Try it
Company Name to Domain with Clearbit API on New Updates (Instant) from Google Sheets API
Google Sheets + Clearbit
 
Try it
Company Name to Domain with Clearbit API on New Worksheet (Instant) from Google Sheets API
Google Sheets + Clearbit
 
Try it
Domain lookup with Clearbit API on New Row Added (Instant) from Google Sheets API
Google Sheets + Clearbit
 
Try it
Domain lookup with Clearbit API on New Updates (Instant) from Google Sheets API
Google Sheets + Clearbit
 
Try it
New Row Added (Instant) from the Google Sheets API

Emit new events each time a row or rows are added to the bottom of a spreadsheet. To use this source with a spreadsheet in a Shared Drive, use the New Row Added (Shared Drive, Instant) source instead.

 
Try it
New Row Added (Shared Drive, Instant) from the Google Sheets API

Emit new events each time a row or rows are added to the bottom of a spreadsheet in a shared drive

 
Try it
New Updates (Instant) from the Google Sheets API

Emit new event each time a row or cell is updated in a spreadsheet. To use this source with a spreadsheet in a Shared Drive, use the New Updates (Shared Drive, Instant) source instead.

 
Try it
New Updates (Shared Drive, Instant) from the Google Sheets API

Emit new event each time a row or cell is updated in a spreadsheet in a shared drive

 
Try it
New Worksheet (Instant) from the Google Sheets API

Emit new event each time a new worksheet is created in a spreadsheet. To use this source with a spreadsheet in a Shared Drive, use the New Worksheet (Shared Drive, Instant) source instead.

 
Try it
Add Single Row with the Google Sheets API

Add a single row of data to Google Sheets

 
Try it
Add Multiple Rows with the Google Sheets API

Add multiple rows of data to a Google Sheet

 
Try it
Get Values with the Google Sheets API

Get all values from a sheet.

 
Try it
Get Values in Range with the Google Sheets API

Get values from a range of cells using A1 notation.

 
Try it
Clear Cell with the Google Sheets API

Delete the content of a specific cell in a spreadsheet

 
Try it