← Clearbit

Company Name to Domain with Clearbit API

Pipedream makes it easy to connect APIs for Clearbit and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Company Name to Domain 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 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Company Name to Domain with the Clearbit API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Company Name to Domain action
    1. Connect your Clearbit account
    2. Configure Company Name
    3. Optional- Configure Handle lack of records found as an error?
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Company Name to Domain with Clearbit API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Clearbit
 
Try it
Company Name to Domain with Clearbit API on New Item in Feed from RSS API
RSS + Clearbit
 
Try it
Company Name to Domain with Clearbit API on New Message from Discord API
Discord + Clearbit
 
Try it
Company Name to Domain with Clearbit API on New Message In Channels from Slack API
Slack + Clearbit
 
Try it
Company Name to Domain with Clearbit API on New Message in Channel from Discord Bot API
Discord Bot + Clearbit
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is 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.

Company Name to Domain on Clearbit
Description:The Company Name to Domain action lets you convert the exact name of a company to a website domain, and a logo. [See the docs here](https://dashboard.clearbit.com/docs?javascript#name-to-domain-api).
Version:0.2.0
Key:clearbit-company-name-to-domain

Code

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

export default {
  key: "clearbit-company-name-to-domain",
  name: "Company Name to Domain",
  description: "The Company Name to Domain action lets you convert the exact name of a company to a website domain, and a logo. [See the docs here](https://dashboard.clearbit.com/docs?javascript#name-to-domain-api).",
  version: "0.2.0",
  type: "action",
  props: {
    app,
    companyName: {
      propDefinition: [
        app,
        "companyName",
      ],
    },
    errorIfNoRecords: {
      propDefinition: [
        app,
        "errorIfNoRecords",
      ],
    },
  },
  async run({ $ }) {
    try {
      const res = await this.app.companyNameToDomain($, this.companyName);
      $.export("$summary", "Successfully converted company name to domain.");
      return res;
    } catch (err) {
      if (!this.errorIfNoRecords && err.response?.status == 404) {
        $.export("$summary", "No domain found.");
      } else {
        throw err;
      }
    }
  },
};

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

The name of the company.

Handle lack of records found as an error?errorIfNoRecordsboolean

Defaults to false. If false and no records are found, the step will still be considered a success. If true and no records are found, the step will return an error and workflow execution will stop.

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 Use Clearbit

Actions

Domain lookup with the Clearbit API

The Company API allows you to look up a company by their domain. See the docs here.

 
Try it
Email lookup with the Clearbit API

This endpoint retrieves a person by email address. See the docs here

 
Try it
Find Companies with the Clearbit API

Find companies via specific criteria. See the docs here

 
Try it
Find Contacts with the Clearbit API

Find people who work at a specific company. See the docs here

 
Try it