LIVEAI Bootcamps · May 2026 · 🇫🇷 CET
Resources · Integrations · n8n FREE · 2026Phantombuster logo featuring a stylized ghost icon and company name

PHANTOMBUSTER n8n INTEGRATION: AUTOMATE PHANTOMBUSTER WITH N8N

PHANTOMBUSTER N8N INTEGRATION: AUTOMATE PHANTOMBUSTER WITH N8N

Need help

Need help automating Phantombuster with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Why automate

Why automate Phantombuster with n8n?

The Phantombuster n8n integration provides 5 dedicated actions that let you control every aspect of your Phantombuster agents programmatically. Whether you need to launch a LinkedIn scraper based on a webhook trigger, automatically retrieve extracted data and push it to your CRM, or manage your agent inventory at scale, this integration has you covered.

Significant time savings: Instead of manually logging into Phantombuster every time you need to run an agent, you can trigger launches automatically based on any event in your n8n workflow. Imagine a new lead appearing in your CRM—within seconds, your LinkedIn profile enrichment agent fires, and the data flows back without you lifting a finger. For teams running multiple agents daily, this easily saves 2-3 hours of manual work per week.

Seamless data pipeline: The real power of Phantombuster comes from what you do with the extracted data. With the "Get Output" action, you can automatically pull agent results into n8n and route them anywhere—Airtable for your sales team, Google Sheets for analysis, Slack for instant notifications, or directly into HubSpot as enriched contacts. No more exporting CSVs and re-importing them manually.

Concrete use cases that work today:

  • Launch a LinkedIn Sales Navigator search scraper whenever a new company is added to your target list
  • Automatically enrich new CRM contacts with LinkedIn profile data and push results back
  • Schedule daily agent launches and compile results into a morning Slack digest
  • Clean up unused agents automatically by deleting those inactive for 30+ days
Credentials

How to connect Phantombuster to n8n?

  1. !
    1 step

    How to connect Phantombuster to n8n?

    1. 01

      Add the node

      Phantombuster uses API Key authentication to connect with n8n. This is one of the simplest authentication methods—you'll be up and running in under two minutes.Basic configuration:Access your Phantombuster API Key: Log into your Phantombuster dashboard, navigate to your account settings, and locate the API section. Copy your unique API key—this is your authentication credential.Add Phantombuster credentials in n8n: In your n8n workflow, add a Phantombuster node. Click on "Credential to connect with" and select "Create New." Paste your API key into the designated field.Test the connection: Save your credentials and attempt to load resources (like agents) from the dropdown. If your agents appear, the connection is successful.Name your credential: Give your credential a recognizable name (e.g., "Phantombuster - Main Account") especially if you manage multiple Phantombuster accounts across different workflows.

    Phantombuster credentials
    TIP
    💡 TIP: Your Phantombuster API key grants full access to your account, including the ability to delete agents. Never share it publicly or commit it to version control. If you suspect it's been compromised, regenerate it immediately from your Phantombuster dashboard—all existing n8n credentials using the old key will need to be updated. For more guidance on handling credentials securely, check our n8n troubleshooting guide.
Need help

Need help automating Phantombuster with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Actions

Phantombuster actions available in n8n

  1. 01
    Action 01

    Launch Agent

    This is arguably the most critical action in the Phantombuster n8n integration—it lets you programmatically start any of your Phantombuster agents directly from your workflow. Instead of scheduling agents within Phantombuster or manually clicking "Launch," you can trigger them based on any event: a new row in Google Sheets, an incoming webhook, a form submission, or a scheduled time.

    Key parameters:

    • Agent Name or ID: This required text field specifies which agent to launch. You can use either the human-readable agent name or the unique agent ID (found in your Phantombuster dashboard URL). Using the ID is more reliable if you tend to rename agents.
    • Resolve Data: This toggle switch, when enabled, tells n8n to wait for the agent to complete and return its processed output. Enable this when you need the extracted data immediately in subsequent workflow steps. Disable it for fire-and-forget scenarios where you'll retrieve results later.
    • JSON Parameters: An optional toggle that, when enabled, reveals a field for passing additional parameters to your agent as a JSON object. This is powerful for dynamic inputs—for example, passing a list of LinkedIn URLs to scrape rather than hardcoding them in the agent configuration.
    • Additional Fields: Optional key-value pairs for advanced agent configurations specific to certain Phantombuster phantoms.

    Typical use cases:

    • Trigger a LinkedIn profile scraper whenever a new lead is added to your CRM
    • Launch an Instagram follower extractor when a specific Slack command is received
    • Run a Twitter scraper on a daily schedule and compile results into a report
    • Dynamically pass search URLs to a Sales Navigator agent based on incoming webhook data

    When to use it: Whenever you need to initiate data extraction or automation tasks in Phantombuster as part of a larger workflow. This action is your primary interface for controlling Phantombuster's execution.

    Launch Agent
  2. 02
    Action 02

    Get Output

    Once your Phantombuster agent has finished running, the Get Output action retrieves the extracted data and brings it into your n8n workflow for further processing. This is essential for building end-to-end automation pipelines where Phantombuster is the data source.

    Key parameters:

    • Agent Name or ID: A required text field identifying which agent's output to retrieve. Use the same identifier you would for launching the agent.
    • Resolve Data: When this toggle is enabled, n8n processes and structures the raw output from Phantombuster into a more usable JSON format. This is highly recommended for most use cases, as it makes the data easier to map to subsequent nodes.
    • Additional Fields: Optional parameters that may include filters or date ranges for retrieving specific output batches, depending on the agent type.

    Typical use cases:

    • Retrieve LinkedIn profile data after a scraping agent completes and push enriched contacts to HubSpot
    • Pull extracted email addresses and add them to your Mailchimp audience
    • Fetch scraped company data and update corresponding records in Airtable
    • Combine outputs from multiple agents into a single consolidated dataset

    When to use it: Pair this action with "Launch Agent" (with Resolve Data disabled) when you want to separate the launch and retrieval steps—useful for long-running agents or when you need to process results at a different time.

    Get Output
  3. 03
    Action 03

    Get Many Agents

    This action retrieves a list of all agents configured in your Phantombuster account. It's perfect for building dashboards, auditing your agent inventory, or creating dynamic workflows that adapt based on available agents.

    Key parameters:

    • Return All: A toggle switch that, when enabled, fetches every single agent in your account regardless of the limit setting. Enable this for complete inventory exports; disable it for paginated or limited retrieval.
    • Limit: A number field (default: 25) that caps how many agents are returned when "Return All" is disabled. Useful for sampling or when you only need to check a subset of agents.

    Typical use cases:

    • Generate a daily report of all active agents and their last run status
    • Build a monitoring workflow that checks agent configurations for consistency
    • Create a cleanup automation that identifies and flags agents that haven't run recently
    • Dynamically populate a dropdown in a Slack command with available agent names

    When to use it: Ideal for administrative and monitoring workflows rather than day-to-day data extraction. Use this action when you need visibility into your Phantombuster infrastructure.

    Get Many Agents
  4. 04
    Action 04

    Get Agent

    While "Get Many Agents" retrieves your full agent list, this action fetches detailed information about a single specific agent. Use it when you need to check an agent's configuration, status, or metadata before taking action.

    Key parameters:

    • Agent ID: A required text field specifying the unique identifier of the agent to retrieve. You can use either a fixed value or an expression to dynamically reference agents from previous workflow steps.

    Typical use cases:

    • Verify an agent exists and is properly configured before attempting to launch it
    • Check the last run timestamp to determine if fresh data is available
    • Retrieve agent settings to log or audit configurations
    • Conditionally branch your workflow based on agent status

    When to use it: Use this action as a preliminary check in complex workflows, especially when dealing with dynamically selected agents or when you need to validate state before proceeding.

    Get Agent
  5. 05
    Action 05

    Delete Agent

    This action permanently removes an agent from your Phantombuster account. It's powerful for housekeeping and automating the cleanup of temporary or obsolete agents, but use it with caution—deleted agents cannot be recovered.

    Key parameters:

    • Agent Name or ID: A required text field specifying which agent to delete. Double-check this value, especially when using dynamic expressions, as deletion is irreversible.

    Typical use cases:

    • Automatically clean up temporary agents created for one-time scraping tasks
    • Remove agents that haven't been used in 60+ days as part of a monthly maintenance workflow
    • Delete test agents after a QA workflow completes
    • Implement a self-destructing agent pattern for sensitive or time-limited data extraction

    When to use it: Reserve this action for maintenance and cleanup workflows. Always include confirmation logic or safeguards (like checking agent age or last run date) before automating deletions to avoid accidentally removing active agents.

    Delete Agent
You've seen the integration

Build your first workflow with our team

Drop your email and we'll send you the catalog of automations you can ship today.

  • Free n8n & Make scenarios to import
  • Step-by-step setup docs
  • Live cohort + community support

Frequently asked questions

  • Is the Phantombuster n8n integration free to use?
    The n8n integration itself is completely free—Phantombuster is a native node included in n8n's open-source version and all cloud plans. However, you'll need an active Phantombuster subscription to use the API. Phantombuster offers a free tier with limited execution time, which is great for testing your n8n workflows. For production use cases involving multiple daily agent launches, you'll likely need a paid Phantombuster plan. The combination of n8n (self-hosted free tier) and Phantombuster (free tier) lets you experiment with automation at zero cost before committing. Learn more about n8n capabilities in our comprehensive n8n review.
  • Can I pass dynamic inputs to my Phantombuster agents from n8n?
    Absolutely—this is one of the most powerful capabilities of the integration. When using the "Launch Agent" action, enable the "JSON Parameters" toggle to reveal an input field where you can pass dynamic data as a JSON object. For example, you could pass a list of LinkedIn URLs from a previous Google Sheets node directly to your scraping agent. The exact parameters accepted depend on the specific Phantombuster phantom you're using, so check the Phantombuster documentation for the expected input format. This transforms static scrapers into dynamic, workflow-driven data extraction tools.
  • How do I retrieve Phantombuster results automatically after an agent finishes?
    You have two approaches depending on your timing needs. First, when launching an agent, enable the "Resolve Data" toggle—this makes n8n wait for the agent to complete and returns the output directly in the same step. This is simplest for quick-running agents. Second, for longer-running agents or when you want to decouple launch and retrieval, disable "Resolve Data" on launch, then use a separate "Get Output" action later in your workflow (potentially after a delay or in a scheduled workflow). The second approach is more resilient for agents that take several minutes to complete. You can also explore our AI agent building tutorial for advanced workflow patterns.
Hack'celeration Lab

Get our weekly integration tips.

No spam. Unsubscribe anytime.