Phantom buster.

Parameters:
- Job
- Agent Name to run/download
- (optional)LinkedIn URL of Sales Navigator to Scrape
- Extract data created after (yyyyMMdd hh:mm:ss)
- Maximum Wait Time (sec)
- API key

Parameters:
- Script name
- Short description
- Revision
- Decription
See dedicated page for more information.
This action lets you control PhantomBuster agents from a pipeline and (optionally) download their results.
Typical uses:
- Run a PhantomBuster agent (e.g., LinkedIn Sales Navigator search, profile/companies scrapers).
- Wait for the run to finish (with a safety timeout).
- Fetch the latest dataset produced by an agent, optionally only the data created after a given timestamp (incremental loads).
Please ensure your usage complies with PhantomBuster’s Terms and with the target website’s terms (e.g., LinkedIn). Use dedicated accounts/proxies when required.
- Log in to PhantomBuster.
- Go to Settings → API key.
- Copy the key and paste it into idKey.
- What it does: Reads your account’s agents (id, name, status, last run info, etc.).
- Output: One row per agent with basic metadata.
- What it does: Triggers a run for idAName (uses idLinkedin if the agent expects a URL input).
- Output: A small table with the launch/run identifiers and initial status.
- What it does: Triggers the run then waits up to idWaitTime seconds for completion.
- Output: Final run status (success/failed/timeout) and run identifiers.
- What it does: Triggers the run, waits up to idWaitTime, then downloads the resulting dataset.
- Output: The agent’s dataset, optionally filtered by idDate (if provided).
- What it does: Downloads the latest dataset produced by idAName without starting a new run.
- Output: The agent’s dataset, optionally filtered by idDate (if provided).
Filtering with idDate
When provided, rows with createdAt (or the agent’s equivalent timestamp) strictly after idDate are returned. The time is interpreted as UTC.
- idJob:
collect data from agent
- idAName: your agent name (exact match)
- idDate: leave empty (full dataset)
- idKey: your API key
Run the box → you get the most recent dataset produced by the agent.
- idJob:
run agent+wait+collect data
- idAName: your agent name
- idLinkedin: (only if your agent expects a Sales Navigator URL)
- idWaitTime: e.g.,
600
- idDate: point it to a pipeline column (e.g.,
dateLastExtraction) for incremental loads
- idKey: your API key
To supply idDate from upstream, connect a small table with a column (e.g., dateLastExtraction) and pick it in the selector. The screenshot shows exactly this pattern.
- Time zone: PhantomBuster APIs and many agents use UTC timestamps. Provide
idDate in UTC to avoid gaps/overlaps.
- Incremental loads: Store the max createdAt you consumed and feed it back into
idDate next run.
- Wait time vs. plan limits: If the agent often exceeds
idWaitTime, either raise the value or switch to “run agent” followed by a later “collect data from agent.”
- LinkedIn URL: Only relevant for LinkedIn agents that accept a Sales Navigator URL; otherwise leave it blank.
- Security: Keep idKey in a secret; avoid logging it or saving it in plain text.
- Rate limits / daily minutes: Respect your PhantomBuster plan limits. Stagger runs if needed.
Because each PhantomBuster agent can output different fields, the box returns whatever the agent produced (CSV/JSON converted to rows/columns). Common columns include identifiers, URLs, names, titles, company, and timestamps such as createdAt. Use downstream steps to normalize/rename columns as needed.
