Phantombuster integration overview

Data extraction platform automating web scraping and data collection from websites.

By

PhantomBuster overview

PhantomBuster in Clay allows users to pull extracted data from PhantomBuster and push data into PhantomBuster agent executions.

You can use the PhantomBuster integration to:

  • Pull in leads from PhantomBuster as a source
  • Pull data
  • Push data

Setting up the PhantomBuster integration

To set up the PhantomBuster and Clay integration, follow these steps:

Step 1: Visit the Settings page and navigate to Connections.

Step 2: Click + Add Connection and select PhantomBuster from the menu.

Step 3: Enter your PhantomBuster API key and name your account key.

Import PhantomBuster data into Clay as a source

You can use PhantomBuster as a source for a new or existing table.

To set up PhantomBuster as a source:

Step 1: Navigate to the Source panel.

To access source panel:

  • New Tables: From your Workspace Home, select + Create new and search “PhantomBuster” to import your PhantomBuster data.
  • Existing Table: In an existing table, open the table and select Actions > Import to configure PhantomBuster as a data source.

Step 2: Select the PhantomBuster account you want to connect.

Step 3: Specify the Agent ID

You can optionally enable the Only Fetch Latest Container option to fetch the most recent container associated with the Agent ID.

Alternatively, you can use the Only Fetch Specified Container ID option to fetch a specific container by providing its Container ID.

Available PhantomBuster actions

Within your Clay table, you’re able to run the following PhantomBuster-supported actions:

  • Pull Data
  • Push Data

Action Pull Data

Pull data based on the Agent.

To pull Clay data from PhantomBuster:

Step 1: Select the PhantomBuster account you want to use.

Step 2: Specify the Agent ID

You can optionally enable the Only Fetch Latest Container option to fetch the most recent container associated with the Agent ID.

Alternatively, you can use the Only Fetch Specified Container ID option to fetch a specific container by providing its Container ID.

Step 3: Configure run settings.

By default, new rows within your Clay table will automatically run your PhantomBuster action. Learn more about auto-update in this brief guide.

To run enrichment only under specific conditions, use formulas that trigger the column when the formula is true. Learn more about AI formulas in this Clay University lesson.

Step 4: Run your enrichment to pull data from PhantomBuster.

Action Push Data

Push data into your Agent.

To push Clay data into PhantomBuster:

Step 1: Select the PhantomBuster account you want to use.

Step 2: Specify the Agent ID you want to push data into.

Step 3: Set Up Platform Connections

Slack: If you have the PhantomBuster browser extension installed, click the “Connect to Slack” button to automatically retrieve your cookie. The Slack cookie’s name is “d”.

LinkedIn: With the PhantomBuster extension, simply click the “Connect to LinkedIn” button. Alternatively, you can manually locate your LinkedIn cookie, which is named “li_at”.

Twitter: Provide Twitter profile URLs in one of the following formats:

  • A single Twitter profile URL.
  • A public Google Sheet containing a list of Twitter profile URLs.
  • A public CSV file with Twitter profile URLs.

Ensure that the PhantomBuster or CSV files are publicly accessible.

Google: Submit your searches in one of these formats:

  • Keywords (e.g., “restaurant Paris”)—though not recommended.
  • A single Google Maps search URL.
  • A public Google Sheet with keywords or Google Maps search URLs.
  • A public CSV file containing keywords or Google Maps search URLs.

Step 4: Fill out agent fields

Customize the fields based on the agent’s requirements. Ensure you input the correct values for data processing (e.g., the number of profiles or items to extract) and toggle the appropriate settings to push the data accurately.

Step 5: Configure run settings.

By default, new rows within your Clay table will automatically run your PhantomBuster action. Learn more about auto-update in this brief guide.

To run enrichment only under specific conditions, use formulas that trigger the column when the formula is true. Learn more about AI formulas in this Clay University lesson.

Step 6: Run your enrichment to push data to PhantomBuster.