To use a fresh LinkedIn session cookie when launching a Phantom from Zapier, open the Launch Phantom action's Configure step and update two fields: paste your current session cookie into "Your LinkedIn account to connect with" and the matching browser user agent into "Your browser user agent." The Zap then launches the Phantom with those credentials instead of the ones stored in PhantomBuster.
Before you start
- You've connected PhantomBuster to Zapier and have a Zap open with a Launch Phantom action. If not, see the Connect PhantomBuster with Zapier article.
- The Phantom you want to launch is already created and set up in your PhantomBuster workspace.
- You have your current LinkedIn li_at session cookie and browser user agent ready.
→ For how to retrieve them, see How to Connect Your LinkedIn Account to PhantomBuster.
When would I do this? If a Phantom launched from Zapier fails with an expired or invalid session cookie, passing a fresh cookie through these fields updates the credentials used for that launch.
Step 1: Choose the "Launch Phantom" action
In your Zap's action step, select PhantomBuster as the app and choose the Launch Phantom event ("Launches a Phantom"). Confirm your connected PhantomBuster account.
Step 2: Select the Phantom to launch
In Setup, pick the Phantom from the Phantom name dropdown, each entry shows its name and ID.
Step 3: Update the session cookie and user agent
- Paste your current LinkedIn li_at session cookie into "Your LinkedIn account to connect with."
- Paste your browser user agent into "Your browser user agent."
- Click Continue and test the step.
The Phantom will now launch using the session cookie and user agent you provided.
Troubleshooting
- "Invalid" or "expired" session cookie: the cookie you pasted is no longer valid. Grab a fresh li_at session cookie and re-paste. See Overview of Connection and Authentication Errors.
- LinkedIn Phantom launches but returns nothing: confirm the user agent matches the browser the cookie came from, a mismatch can break the session.
- The action times out: set "Wait until the Phantom produces an output" to False and retrieve results with a separate New Output Zap.
Frequently asked questions
How do I update the session cookie for a Phantom launched from Zapier?
In the Launch Phantom action's Configure step, paste your current li_at session cookie into "Your LinkedIn account to connect with" and your user agent into "Your browser user agent."
Which Zapier field is the session cookie?
The field labelled "Your LinkedIn account to connect with" takes your LinkedIn li_at session cookie.
Where do I find my LinkedIn session cookie and user agent?
See How to Connect Your LinkedIn Account to PhantomBuster for how to retrieve both.
Why should I keep "Wait until the Phantom produces an output" off?
Waiting can exceed Zapier's 30-second limit. Use a separate Zap with the New Output trigger to collect results instead.