How to Send Data from PhantomBuster to Clay Using Webhooks

Sophie
Sophie This badge shows you’re hearing straight from the source! Team members are here to share insider tips, answer questions, and guide you through PhantomBuster with expert knowledge. They’re dedicated to helping you succeed and making sure your automation journey feels easy and exciting. PhantomBuster Official
  • Updated

To send PhantomBuster data to Clay in real time, create a webhook source in your Clay workbook, copy the webhook URL, then paste it into your Phantom's advanced settings under Webhooks in PhantomBuster. Every time the Phantom runs, its results are automatically sent to your Clay table as a new row.

Before you start

Make sure the Phantom you want to use is already created and fully set up in your PhantomBuster workspace.

In this guide, you’ll send output data from an existing Phantom to Clay using a webhook. You won’t launch or configure the Phantom from Clay, only receive its results.

Step 1: Create a new Clay workbook or open an existing one

  1. Open Clay and log into your account.
  2. Click New Workbook to start from scratch, or open an existing workbook where you want your PhantomBuster data to land.
    Clay workspace with the New Workbook button
  3. Inside your workbook, click All Sources
    Clay workbook with the All Sources button selected
  4. Search for and select Webhook
    Clay source search showing the Webhook option
  5. Clay will generate a unique webhook URL. Copy it. 
    → You’ll paste this URL into PhantomBuster in the next step.
    Clay generated webhook URL with the copy button

Step 2: Add the webhook URL in PhantomBuster

  1. In your PhantomBuster dashboard, locate the Phantom you want to send data from. 
    → Click the three dots menu next to it and select Setup.
    PhantomBuster Phantom three dots menu with Setup selected
  2. Scroll down to the Advanced settings section, and click the Webhooks tab.
  3. In the Custom webhook URL field, paste the Clay webhook URL you copied earlier, and click Save settings.
PhantomBuster Advanced settings Webhooks tab with the Clay webhook URL pasted

Your Phantom is now connected. Every time it runs, its results will be sent directly to your Clay table.

Step 3: Launch your Phantom

  • Back in your PhantomBuster dashboard, open the Phantom console to launch it manually. 
    PhantomBuster Phantom console open to launch the Phantom manually
  • When the Phantom finishes, the results will be sent automatically to your Clay table via webhook and appear as a new row in your table.
    → By default, the data appears in a single cell as a raw JSON object. This is normal.
    Clay table showing the Phantom results received as a new row in raw JSON

Step 4: Convert your PhantomBuster JSON results into a CSV and import them into Clay

If you'd rather create a clean table using a CSV file, follow these steps:

  1. In your Clay table, locate the Result object column and copy its full content.
    Clay table with the Result object column content selected to copy
  2. Visit a free online converter, paste your JSON and download the converted CSV file.
    Online converter turning the PhantomBuster JSON into a downloadable CSV
  3. Back in Clay, click the Add button at the bottom of the page to add a new table and select Import CSV
    Upload your CSV file. Clay will generate a structured table with your Phantom output.
    Clay adding a new table and importing the converted CSV file

Troubleshooting tips

If no data appears in Clay:

  • Make sure the Phantom successfully completed its run.
  • Double-check the webhook URL in PhantomBuster (no typos or formatting issues).
  • Get in touch with our Customer Care Team.

Watch the video tutorial

Frequently asked questions

What is the difference between pulling data and using a webhook?

Pulling data is a manual import you trigger from Clay. A webhook sends data automatically every time your Phantom finishes running, no manual action needed.

Why does the data appear as raw JSON in my Clay table?

By default, webhook results arrive as a single JSON object in one cell. To get a structured table, copy the JSON, convert it to CSV using a free online converter, and import the CSV into a new Clay table.

Do I need to reconnect PhantomBuster to Clay for webhooks?

No. Webhooks work independently, you just paste the Clay webhook URL into your Phantom's settings. No API key connection is required for this method.

Can I send data from multiple Phantoms to the same Clay table?

Yes. You can paste the same webhook URL into the advanced settings of multiple Phantoms. All results will land in the same Clay workbook.

Was this article helpful?

0 out of 0 found this helpful