← Dropbox + IP2WHOIS integrations

WHOIS lookup with IP2WHOIS API on New or Modified File or Folder from Dropbox API

Pipedream makes it easy to connect APIs for IP2WHOIS, Dropbox and 1200+ other apps remarkably fast.

Trigger workflow on
New or Modified File or Folder from the Dropbox API
Next, do this
WHOIS lookup with the IP2WHOIS API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,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 Dropbox trigger and IP2WHOIS 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 or Modified File or Folder trigger
    1. Connect your Dropbox account
    2. Select a Path
    3. Configure Recursive
    4. Configure includeMediaInfo
    5. Configure includeLink
    6. Configure dropboxApphook
  3. Configure the WHOIS lookup action
    1. Connect your IP2WHOIS account
    2. Configure Domain name
    3. 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, 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:Emits an event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.
Version:0.0.4
Key:dropbox-new-or-modified-file-or-folder

Dropbox Overview

With the Dropbox API, you can build a variety of applications that range from
simple file sharing to complex content management systems. Some examples of
what you can build using the Dropbox API include:

  • A file sharing application that allows users to share and sync files across
    devices
  • A content management system that allows users to manage and share files and
    folders
  • A note taking application that allows users to sync notes across devices
  • A task management application that allows users to manage and share tasks and
    files
  • A document management application that allows users to manage and share
    documents and files

Trigger Code

const dropbox = require("../../dropbox.app.js");

module.exports = {
  key: "dropbox-new-or-modified-file-or-folder",
  name: "New or Modified File or Folder",
  version: "0.0.4",
  description:
    "Emits an event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.",
  props: {
    dropbox,
    path: { propDefinition: [dropbox, "path"] },
    recursive: { propDefinition: [dropbox, "recursive"] },
    includeMediaInfo: {
      type: "boolean",
      description:
        "Emit media info for photo and video files (incurs an additional API call)",
      default: false,
    },
    includeLink: {
      type: "boolean",
      description:
        "Emit temporary download link for files (incurs an additional API call)",
      default: false,
    },
    dropboxApphook: {
      type: "$.interface.apphook",
      appProp: "dropbox",
      static: [],
    },
    db: "$.service.db",
  },
  hooks: {
    async activate() {
      await this.dropbox.initState(this);
    },
  },
  async run(event) {
    const updates = await this.dropbox.getUpdates(this);
    for (update of updates) {
      if (update[".tag"] == "file") {
        if (this.includeMediaInfo) {
          const dpx = await this.dropbox.sdk();
          update = await dpx.filesGetMetadata({
            path: update.path_lower,
            include_media_info: true,
          });
          if (update.result) {
            update = update.result;
          }
        }
        if (this.includeLink) {
          const dpx = await this.dropbox.sdk();
          let response = await dpx.filesGetTemporaryLink({
            path: update.path_lower,
          });
          if (response.result) {
            response = response.result;
          }
          const { link, metadata } = response;
          update.link = link;
        }
      }
      this.$emit(update);
    }
  },
};

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
DropboxdropboxappThis component uses the Dropbox app.
PathpathstringSelect a value from the drop down menu.
Recursiverecursiveboolean

Also watch sub-directories and their contents.

includeMediaInfoboolean

Emit media info for photo and video files (incurs an additional API call)

includeLinkboolean

Emit temporary download link for files (incurs an additional API call)

dropboxApphook$.interface.apphook
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.

Trigger Authentication

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

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

About Dropbox

Dropbox gives you secure access to all your files. Collaborate with friends, family, and coworkers from any device.

Action

Description:Helps users to obtain domain information, WHOIS record, by using a domain name. Please refer to the [documentation](https://ip2whois.com/developers-api) for the details of the fields returned.
Version:0.0.5
Key:ip2whois-query-domain-info

IP2WHOIS Overview

With IP2WHOIS, you can build applications that:

  • Look up the whois record for an IP address
  • Get information on a domain name
  • Get reverse DNS (PTR) records for an IP address
  • Verify that an email address exists
  • Get IP addresses for a domain name
  • And more!

Action Code

import ip2whoisApp from "../../ip2whois.app.mjs";

export default {
  name: "WHOIS lookup",
  description: "Helps users to obtain domain information, WHOIS record, by using a domain name. Please refer to the [documentation](https://ip2whois.com/developers-api) for the details of the fields returned.",
  key: "ip2whois-query-domain-info",
  version: "0.0.5",
  type: "action",
  props: {
    ip2whoisApp,
    domain: {
      type: "string",
      label: "Domain name",
    },
    format: {
      type: "string",
      label: "Response Format",
      description: "Format of the response message. If unspecified, `json` format will be used for the response message.",
      optional: true,
      options: [
        "json",
        "xml",
      ],
      default: "json",
    },
  },
  async run({ $ }) {
    const response =
      await this.ip2whoisApp.queryDomainInfo({
        $,
        params: {
          format: this.format ?? "json",
          domain: this.domain,
        },
      });
    $.export("$summary", "Successfully queried domain information.");
    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
IP2WHOISip2whoisAppappThis component uses the IP2WHOIS app.
Domain namedomainstring
Response FormatformatstringSelect a value from the drop down menu:jsonxml

Action Authentication

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

Access your API key from your IP2WHOIS account to retrieve your API key.

About IP2WHOIS

IP2WHOIS WHOIS lookup api helps users to obtain domain information, WHOIS record, by using a domain name. The WHOIS API returns a comprehensive WHOIS data such as creation date, updated date, expiration date, domain age, the contact information of the registrant, mailing address, phone number, email address, nameservers the domain is using and much more. IP2WHOIS supports the query for 1113 TLDs and 634 ccTLDs.

More Ways to Connect IP2WHOIS + Dropbox

WHOIS lookup with IP2WHOIS API on New or Modified File or Folder from Dropbox API
Dropbox + IP2WHOIS
 
Try it
WHOIS lookup with IP2WHOIS API on New Folder from Dropbox API
Dropbox + IP2WHOIS
 
Try it
WHOIS lookup with IP2WHOIS API on New File from Dropbox API
Dropbox + IP2WHOIS
 
Try it
New File from the Dropbox API

Emit new event when a new file is added to your account or a specific folder. Make sure the number of files/folders in the watched folder does not exceed 4000.

 
Try it
New or Modified File or Folder from the Dropbox API

Emits an event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.

 
Try it
New Folder from the Dropbox API

Emit new event when a new folder is created. Make sure the number of files/folders in the watched folder does not exceed 4000.

 
Try it
New or Modified File or Folder from the Dropbox API

Emit new event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.

 
Try it
Create a Text File with the Dropbox API

Creates a brand new text file from plain text content you specify. See docs here

 
Try it
Create folder with the Dropbox API

Create a folder. See docs here

 
Try it
Create or Append to a Text File with the Dropbox API

Adds a new line to an existing text file, or creates a file if it doesn't exist. See docs here

 
Try it
Create/Update a Share Link with the Dropbox API

Creates or updates a public share link to the file or folder (It allows to share the file or folder with anyone). See docs here

 
Try it
Delete a File/Folder with the Dropbox API

Permanently removes a file/folder from the server. See docs here

 
Try it

Explore Other Apps

1
-
12
of
1200+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.