← Google Sheets + IP2Proxy integrations

Query IP address with IP2Proxy API on New Row Added (Instant) from Google Sheets API

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

Trigger workflow on
New Row Added (Instant) from the Google Sheets API
Next, do this
Query IP address with the IP2Proxy 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 Google Sheets trigger and IP2Proxy 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 Row Added (Instant) trigger
    1. Connect your Google Sheets account
    2. Configure Push notification renewal schedule
    3. Select a Spreadsheet
    4. Select one or more Worksheet(s)
  3. Configure the Query IP address action
    1. Connect your IP2Proxy account
    2. Configure IP Address
    3. Select a Package
    4. Optional- Select a Response Format
  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 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](https://support.google.com/a/users/answer/9310351), use the **New Row Added (Shared Drive, Instant)** source instead.
Version:0.0.28
Key:google_sheets-new-row-added

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 newRowAdded from "../common/new-row-added.mjs";

export default {
  ...httpBase,
  ...newRowAdded,
  key: "google_sheets-new-row-added",
  name: "New Row Added (Instant)",
  description: "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](https://support.google.com/a/users/answer/9310351), use the **New Row Added (Shared Drive, Instant)** source instead.",
  version: "0.0.28",
  dedupe: "unique",
  type: "source",
  props: {
    ...httpBase.props,
    ...newRowAdded.props,
  },
  methods: {
    ...httpBase.methods,
    ...newRowAdded.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.
Worksheet(s)worksheetIDsstring[]Select 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:Query IP address using IP2Proxy API. [See the docs here](https://www.ip2location.com/web-service/ip2proxy) for how to use this API.
Version:0.0.3
Key:ip2proxy-query-ip-info

IP2Proxy Overview

The IP2Proxy API can be used to build applications that can perform the
following tasks:

  • Determine the country, region, city, ISP, domain name, and proxy type of an
    IP address
  • Detect if an IP address is a Tor exit node
  • Detect if an IP address is a public proxy
  • Detect if an IP address is a datacenter IP
  • Detect if an IP address is blacklisted

Action Code

import ip2proxyApp from "../../ip2proxy.app.mjs";
import constants from "../../common/constants.mjs";

export default {
  name: "Query IP address",
  description: "Query IP address using IP2Proxy API. [See the docs here](https://www.ip2location.com/web-service/ip2proxy) for how to use this API.",
  key: "ip2proxy-query-ip-info",
  version: "0.0.3",
  type: "action",
  props: {
    ip2proxyApp,
    ipAddress: {
      type: "string",
      label: "IP Address",
      description: "IP address (IPv4 or IPv6) for reverse IP location lookup purposes.",
    },
    pxPackage: {
      type: "string",
      label: "Package",
      options: constants.PACKAGE_OPTIONS,
      description: "Web service package of different granularity of return information. Please refer to the pricing table in our [documentation](https://www.ip2location.com/web-service/ip2proxy) for the information returned.",
    },
    format: {
      type: "string",
      label: "Response Format",
      options: constants.FORMAT_OPTIONS,
      description: "Format of the response message. Available values are `json` or `xml`. If unspecified, json format will be used for the response message.",
      optional: true,
    },
  },
  async run({ $ }) {
    const {
      ipAddress,
      format,
      pxPackage,
    } = this;
    const response =
      await this.ip2proxyApp.queryIPInfo({
        $,
        params: {
          format: format ?? "json",
          ip: ipAddress,
          package: pxPackage,
        },
      });
    $.export("$summary", "Successfully queried IP address information with IP2Proxy API.");
    return response;

  },
};

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
IP2Proxyip2proxyAppappThis component uses the IP2Proxy app.
IP AddressipAddressstring

IP address (IPv4 or IPv6) for reverse IP location lookup purposes.

PackagepxPackagestringSelect a value from the drop down menu:PX1PX2PX3PX4PX5PX6PX7PX8PX9PX10PX11
Response FormatformatstringSelect a value from the drop down menu:jsonxml

Action Authentication

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

Access your API key from the License section in your IP2Location account in order to make authenticated requests to their API.

About IP2Proxy

The IP2Proxy™ Proxy Detection Web Service is a hosted Web Service that allows instant detection of anonymous proxy, VPN, TOR exit nodes, search engine robots (SES) and residential proxies (RES) by IP address. It is a REST API supporting both JSON and XML responses and provides IP location lookup information when a proxy is detected.

More Ways to Connect IP2Proxy + Google Sheets

Query IP address with IP2Proxy API on New Updates (Instant) from Google Sheets API
Google Sheets + IP2Proxy
 
Try it
Query IP address with IP2Proxy API on New Worksheet (Instant) from Google Sheets API
Google Sheets + IP2Proxy
 
Try it
Query IP address with IP2Proxy API on New Row Added (Shared Drive, Instant) from Google Sheets API
Google Sheets + IP2Proxy
 
Try it
Query IP address with IP2Proxy API on New Updates (Shared Drive, Instant) from Google Sheets API
Google Sheets + IP2Proxy
 
Try it
Query IP address with IP2Proxy API on New Worksheet (Shared Drive, Instant) from Google Sheets API
Google Sheets + IP2Proxy
 
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