How to Update Your LinkedIn Session Cookie in a Zapier "Launch Phantom" Zap

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 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

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.

Zapier action step with PhantomBuster selected and the Launch Phantom event

Step 2: Select the Phantom to launch

In Setup, pick the Phantom from the Phantom name dropdown, each entry shows its name and ID.

Phantom name dropdown with a LinkedIn Profile Scraper selected

Step 3: Update the session cookie and user agent

  1. Paste your current LinkedIn li_at session cookie into "Your LinkedIn account to connect with."
  2. Paste your browser user agent into "Your browser user agent."
  3. Click Continue and test the step.
Configure step with the session cookie and user agent filled in

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.

Was this article helpful?

0 out of 0 found this helpful