DashboardSign inStart your trial

PhantomBuster

Reference

53 actions for PhantomBuster workflows.

01. Operations

Act on PhantomBuster from a workflow

Operations are the actions a workflow can take in PhantomBuster, grouped by category. Each lists its method, parameters, and a template you can drop it into.

AI

1 operation

Leverage AI language models to generate completions and intelligent responses within your automation workflows. This operation enables dynamic content generation and decision-making based on natural language processing.

Action

Request AI Completion

PHANTOMBUSTER_POST_AI_COMPLETIONS

Generate custom text content using AI based on your input prompts, perfect for creating personalized messages, copy, or responses at scale. This helps you automate content creation tasks without writing everything manually.

7 input

Agent Groups

2 operations

Retrieve and manage collections of agents that work together on automation tasks. Use these operations to organize agents into logical groups for batch processing and to update group configurations across your workflow automation setup.

Action

Get Agent Groups

PHANTOMBUSTER_GET_ORGS_FETCH_AGENT_GROUPS

Retrieves the list of agent groups within your PhantomBuster organization and their ordering, helping you understand how your automation tasks are organized and structured.

1 input
Action

Save Agent Groups

PHANTOMBUSTER_SAVE_AGENT_GROUPS

Organize and arrange your automation agents into logical groups while controlling their display order in your workspace. Use this when you need to structure your agents for better workflow management and team collaboration.

2 input

Agents

9 operations

Create, configure, monitor, and control individual automation agents that execute specific tasks within PhantomBuster. These operations cover the full agent lifecycle from creation and execution to output retrieval, scheduling management, and deletion.

Action★ Featured

Get All Agents

PHANTOMBUSTER_GET_AGENTS_FETCH_ALL

Retrieve a complete list of all automation agents available in your PhantomBuster account, allowing you to see what tools and workflows you have set up.

Action★ Featured

Save Agent

PHANTOMBUSTER_SAVE_AGENT

Create a new agent or update an existing one to configure its settings, launch schedule, and behavior for automating repetitive tasks.

31 input
Action

Abort Agent (v1)

PHANTOMBUSTER_ABORT_AGENT_V1

Stop all running instances of an agent immediately, with the option for a graceful shutdown. This is useful when you need to halt data collection, automation tasks, or processes that are consuming resources or producing unwanted results.

2 input
Action

Delete Agent

PHANTOMBUSTER_DELETE_AGENT

Remove an agent from your PhantomBuster account to clean up unused automation tools or free up resources. This is useful when you no longer need a specific agent and want to maintain an organized automation workspace.

2 input
Action

Get Agent

PHANTOMBUSTER_GET_AGENT

Retrieve detailed information about a specific PhantomBuster agent, including its configuration, schedule, and execution settings by providing the agent ID.

7 input
Action

Get Agent Output (v1)

PHANTOMBUSTER_GET_AGENT_OUTPUT

Retrieves incremental output data from a PhantomBuster agent including console logs, execution status, and progress updates, allowing you to monitor automation runs in real-time.

5 input
Action

Get Deleted Agents

PHANTOMBUSTER_GET_AGENTS_FETCH_DELETED

Retrieve a list of agents that have been deleted from your account, allowing you to review what automation tasks have been removed and restore them if needed.

Action

Stop Agent

PHANTOMBUSTER_STOP_AGENT

Terminates a running automation agent, allowing you to halt operations immediately when needed and optionally stop dependent agents or switch to manual control.

5 input
Action

Unschedule All Agent Launches

PHANTOMBUSTER_POST_AGENTS_UNSCHEDULE_ALL

Stops all scheduled automated agent runs across your PhantomBuster account in one action. Use this when you need to pause all your automation workflows quickly without managing each one individually.

Branches

5 operations

Manage different versions or variations of your automation scripts and configurations through branching. Use these operations to compare versions, create experimental branches, release stable versions, and maintain organized development workflows.

Action

Create Branch

PHANTOMBUSTER_POST_BRANCHES_CREATE

Creates a new isolated branch in your Phantombuster workspace, allowing you to test changes or manage different versions of your automation without affecting your live workflows.

2 input
Action

Delete Branch

PHANTOMBUSTER_POST_BRANCHES_DELETE

Remove an unwanted or obsolete script branch from your PhantomBuster account to keep your automation workflows organized and up-to-date.

1 input
Action

Get All Branches

PHANTOMBUSTER_GET_BRANCHES_FETCH_ALL

Retrieves a complete list of all branches associated with your organization, allowing you to view and manage your entire branch structure. This is useful when you need visibility into all your automation scripts and their organizational groupings.

Action

Get Branches Diff

PHANTOMBUSTER_GET_BRANCHES_DIFF

Compares the staging and release branches of your scripts to identify what changes are ready to be deployed, helping you understand the scope of updates before going live.

2 input
Action

Release Branch

PHANTOMBUSTER_RELEASE_BRANCH

Deploy script changes from a development branch to production, making updates live to your automated workflows.

3 input

CAPTCHA

2 operations

Automatically solve CAPTCHA challenges encountered during web automation tasks without manual intervention. These operations handle both hCaptcha and reCAPTCHA verification to keep your automations running smoothly.

Action

Solve hCaptcha

PHANTOMBUSTER_POST_HCAPTCHA

Automatically solve hCaptcha challenges to obtain valid tokens for completing automated form submissions and web interactions without manual intervention.

4 input
Action

Solve reCAPTCHA

PHANTOMBUSTER_POST_RECAPTCHA

Automatically solves reCAPTCHA challenges (v2 or v3) to obtain valid response tokens for completing form submissions and automated workflows without manual intervention.

5 input

Companies

3 operations

Store, retrieve, and organize company data objects within your PhantomBuster projects. Use these operations to manage business information, search company records, and bulk-import company datasets for lead generation and prospecting workflows.

Action

Save Company Object

PHANTOMBUSTER_SAVE_COMPANY_OBJECT

Store and organize company information from LinkedIn and other sources in your centralized database, enabling you to build a searchable repository of prospects and partners.

6 input
Action

Save Many Company Objects

PHANTOMBUSTER_SAVE_COMPANY_OBJECTS_MANY

Efficiently store or update multiple company records in your organization's database in a single operation, supporting up to 20 companies at once.

1 input
Action

Search Company Objects

PHANTOMBUSTER_SEARCH_COMPANY_OBJECTS

Find companies in your Phantombuster database by searching for specific criteria, helping you quickly locate and access company information you've previously stored or imported.

4 input

Containers

3 operations

Monitor and manage the computational containers that execute your automation tasks across your organization. These operations provide visibility into running processes and their resource usage throughout your automation infrastructure.

Action

Get Agent Containers (v1)

PHANTOMBUSTER_GET_AGENT_CONTAINERS

Retrieve a list of completed container executions for a specific agent, ordered by date, to access output logs and execution history from your automation runs.

1 input
Action

Get Containers Fetch All

PHANTOMBUSTER_GET_CONTAINERS_FETCH_ALL

Retrieves all containers associated with a specific agent in your PhantomBuster account, giving you visibility into all active automation tasks and their current status.

1 input
Action

Get Org Running Containers

PHANTOMBUSTER_GET_ORGS_FETCH_RUNNING_CONTAINERS

Retrieve a list of all currently active containers running in your organization to monitor which automation tasks are actively processing.

Identity

2 operations

Generate authentication tokens and track user identity events for secure access and auditing purposes. Use these operations to manage identity verification and maintain detailed logs of user activity within your automation environment.

Action

Generate Identity Token

PHANTOMBUSTER_POST_IDENTITIES_GENERATE_TOKEN

Creates a secure authentication token for PhantomBuster API interactions, enabling your automations to securely access and manage your account resources.

Action

Save Identity Event

PHANTOMBUSTER_SAVE_IDENTITY_EVENT

Records user interactions and activities linked to social media profiles in Phantombuster, helping you build a complete activity history for contact tracking and follow-up.

5 input

Leads

8 operations

Create, update, search, and manage lead records within your automation system for sales and marketing workflows. These operations handle individual and bulk lead operations, allowing you to organize prospect data and maintain your lead database.

Action★ Featured

Save Lead Object

PHANTOMBUSTER_SAVE_LEAD_OBJECT

Store or update lead information in your organization's database with custom properties and fields. This lets you maintain an organized, searchable repository of prospects and contacts for your sales pipeline.

8 input
Action★ Featured

Search Lead Objects

PHANTOMBUSTER_SEARCH_LEAD_OBJECTS

Find and filter leads stored in your Phantombuster organization by applying search criteria, helping you locate specific prospects or segment your lead database for targeted outreach.

1 input
Action

Delete Lead Objects

PHANTOMBUSTER_DELETE_LEAD_OBJECTS

Remove unwanted or duplicate lead records from your organization's database to keep your contact lists clean and accurate. This helps maintain data quality and focus outreach efforts on qualified prospects.

3 input
Action

Delete Many Leads

PHANTOMBUSTER_DELETE_LEADS_MANY

Remove multiple leads from your organization's database at once using their IDs, helping you maintain a clean and current prospect list.

2 input
Action

Get Leads By List

PHANTOMBUSTER_GET_LEADS_BY_LIST

Retrieve a batch of leads from a specific list you've created in PhantomBuster, with options to filter and paginate through results. Use this to access lead data organized in your saved lists for outreach, analysis, or integration with other tools.

5 input
Action

Save Lead

PHANTOMBUSTER_SAVE_LEAD

Store and organize prospect information from LinkedIn profiles or other sources directly into your PhantomBuster database for future reference and outreach.

56 input
Action

Save Many Lead Objects

PHANTOMBUSTER_SAVE_LEADS_OBJECTS_MANY

Store or update multiple leads at once in your Phantombuster workspace, making it easy to manage batch lead imports or sync data from other sources.

1 input
Action

Save Many Leads

PHANTOMBUSTER_POST_ORG_STORAGE_LEADS_SAVE_MANY

Batch save multiple leads (up to 20) to your organization storage with LinkedIn profile data and enrichment information in one operation. This is useful when you need to quickly import or update lead records from LinkedIn prospecting or other lead generation activities.

2 input

Lists

3 operations

Create and manage data lists that serve as inputs or outputs for your automation agents and workflows. Use these operations to organize collections of records, manage storage, and maintain the datasets powering your automations.

Action

Delete List

PHANTOMBUSTER_DELETE_LIST

Remove a stored list from your PhantomBuster organization storage to clean up old data and free up resources. Use this when you no longer need a list you previously created or imported.

2 input
Action

Get Org Storage Lists Fetch All

PHANTOMBUSTER_GET_ORG_STORAGE_LISTS_FETCH_ALL

Retrieve a complete list of all storage lists within your organization to see what data collections and datasets you have available. This helps you manage and organize your stored information across PhantomBuster.

Action

Save List

PHANTOMBUSTER_SAVE_LIST

Create or update a list with specific filter criteria to organize and segment your contacts or prospects. This helps you quickly build targeted groups for outreach or analysis.

6 input

Location

1 operation

Retrieve geographic location information based on IP addresses for targeting and analysis purposes. This operation enriches automation workflows with location data to support geographically-aware automation logic.

Action

Get IP Location

PHANTOMBUSTER_GET_LOCATION_IP

Identifies the geographic location (country) of any IP address, helping you understand where your website visitors, customers, or suspicious traffic are coming from. This is useful for targeting, security, and compliance purposes.

1 input

Organization

2 operations

Access your organization's overall configuration and resource allocation information. Use these operations to monitor your account settings, subscription resources, and organization-wide automation capacity.

Action

Get Organization

PHANTOMBUSTER_GET_ORGS_FETCH

Retrieves the current organization details associated with your PhantomBuster account, helping you verify which workspace you're operating in and access your organization's information.

Action

Get Organization Resources

PHANTOMBUSTER_GET_ORGS_FETCH_RESOURCES

Retrieve your organization's current resource consumption and usage limits to monitor your account's operational capacity. This helps you track quota utilization and plan your automation workload accordingly.

Scripts

9 operations

Create, modify, and manage the automation scripts that power your PhantomBuster tasks. These operations cover the entire script lifecycle including creation, updates, access control, visibility settings, and code retrieval for development and debugging.

Action★ Featured

Get All Scripts

PHANTOMBUSTER_GET_SCRIPTS_FETCH_ALL

Retrieves a complete list of all scripts associated with your Phantombuster account, allowing you to view and manage your automation workflows without needing to download their full code.

Action★ Featured

Save Script

PHANTOMBUSTER_SAVE_SCRIPT

Create or update JavaScript automation scripts in Phantombuster to automate repetitive web tasks and data collection workflows. This lets you save custom automation code that can run on a schedule or on-demand.

7 input
Action

Delete Script

PHANTOMBUSTER_DELETE_SCRIPT

Remove a script from your PhantomBuster account, with the option to delete specific versions or branches. Use this when you no longer need a script or want to clean up outdated automation workflows.

4 input
Action

Get Script

PHANTOMBUSTER_GET_SCRIPT

Retrieve detailed information about a specific script stored in PhantomBuster, including its configuration, branches, and visibility settings. Use this to access script metadata and understand your automation setup without manually navigating the platform.

5 input
Action

Get Script by Name

PHANTOMBUSTER_GET_SCRIPT_BY_NAME

Retrieve a specific PhantomBuster script by name to access its configuration, metadata, or content for execution or modification. This helps you quickly find and work with automation scripts you've previously created without needing to search through your entire script library.

2 input
Action

Get Script Code

PHANTOMBUSTER_GET_SCRIPTS_CODE

Retrieve the complete source code of a specific script stored in your PhantomBuster account. This is useful when you need to review, modify, or understand how an automation script works.

5 input
Action

Update Script (v1 API)

PHANTOMBUSTER_UPDATE_SCRIPT

Save or modify automation scripts in PhantomBuster to execute repetitive tasks like data scraping, social media posting, or lead generation without manual effort.

3 input
Action

Update Script Access List

PHANTOMBUSTER_UPDATE_SCRIPTS_ACCESS_LIST

Manage who can access and use your automation scripts by adding or removing team members and organizations from a script's access list. This ensures the right people have permission to run or modify your automations.

5 input
Action

Update Script Visibility

PHANTOMBUSTER_POST_SCRIPTS_VISIBILITY

Controls whether a script is private, public, or open source, allowing you to manage access and sharing of your automation workflows.

4 input

Usage

2 operations

Export detailed usage reports for agents and containers to track automation consumption and cost. Use these operations to analyze historical activity, understand resource utilization, and manage your automation spend.

Action

Export Agent Usage CSV

PHANTOMBUSTER_GET_ORGS_EXPORT_AGENT_USAGE

Download a detailed CSV report of all your agents' performance metrics and run statistics for your organization. This helps you track automation usage, monitor productivity, and analyze agent effectiveness.

2 input
Action

Export Container Usage CSV

PHANTOMBUSTER_GET_ORGS_EXPORT_CONTAINER_USAGE

Download a CSV report of your organization's container execution history and resource usage to analyze automation performance and costs over the past six months.

2 input

Users

1 operation

Retrieve information about user accounts within your PhantomBuster organization. This operation provides access to user profile and account details for authentication and permission management purposes.

Action

Get User Information

PHANTOMBUSTER_GET_USER

Retrieve your PhantomBuster account details and view all your configured agents in one place. Use this to monitor your resource usage, check available credits, and manage your automation workflows.

What now

Use PhantomBuster in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.