How to Use the AI LinkedIn Post Responder

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

Slot usage

1 slot

Estimated execution time

~1 minute per query

What you'll need

  • A Connected LinkedIn account (use the PhantomBuster browser extension)
  • A LinkedIn Leads list (required: this Phantom only works with Leads Database profiles)
  • A prompt template or custom prompt for generating comments or messages
  • Available PhantomBuster AI credits

    → See the full breakdown of all input fields in the detailed section below.

What you’ll get

  • AI-generated LinkedIn comments or outreach messages
  • URL of the post commented on

    → See the full breakdown of all output fields in the detailed section below.

Before you start

  • AI Phantoms don’t extract or post anything on your behalf, they use the data you already have to generate AI-written messages, insights, or other text results (depending on the Phantom you’re using).
  • Awareness of safety and limits:
    • This Phantom only generates comments for posts published in the last 30 days.
    • If a lead hasn’t posted recently, the result will show: “No posts found on that profile's last activity.”

Step 1: Select the leads to enrich

This Phantom only accepts leads from your LinkedIn Leads database
→ This ensures the generated AI comments are linked back to your Leads Database and visible when filtering or reviewing activity there.

  1. My Lists:
    Choose a saved LinkedIn Leads list you’ve already created in PhantomBuster.
  2. A URL:
    The URL of a single LinkedIn profile, that must be in your LinkedIn Leads database.
PhantomBuster AI LinkedIn Post Responder step 1 selecting the leads from the LinkedIn Leads database

Step 2: Connect your LinkedIn account

To let the Phantom act on your behalf:

  1. Install the PhantomBuster browser extension and connect your LinkedIn session in one click.
  2. If you’re not using Chrome or Firefox, you can retrieve your session cookie manually (see our cookie guide).
PhantomBuster AI LinkedIn Post Responder step 2 connecting a LinkedIn account

Check your browser user agent
Make sure your browser is up to date before connecting your account. 
→ If your Chrome or Firefox version is outdated, your session cookie may expire much more quickly, and you’ll need to reconnect often.

Step 3: Choose your GPT model and add your prompt

  1. Select a GPT Model you want to use:
    • GPT 3.5 Turbo – basic, lowest cost.
    • GPT 4o – advanced, higher cost.
    • GPT 4o Mini – enhanced, moderate cost (recommended default).
    • (Legacy) GPT-4 – medium capabilities, highest cost.
  2. Select a prompt template or write your own:

    Output depends on your prompt. What you get in your result files changes based on the type of prompt you choose.

    • Use one of the pre-written prompt templates:
      • Connect based on recent posts and profile data (LinkedIn Connection Message) → The Phantom will produce the message only.
      • Pitch your product based on recent posts (LinkedIn Connection Message) → The Phantom will produce the message only.
      • Comment on a recent post (LinkedIn Comment) → The Phantom will produce both the comment and postUrl.
    • Edit a template directly:
      • Once selected, the full prompt text appears in the editor.
      • You can adapt the instructions to your specific needs (e.g., change the tone, add formatting rules, etc.).
    • Or create a custom prompt tailored to your needs.
      • The more specific your instructions, the better the output.
  3. Specify columns to feed to GPT:
    • Decide which data GPT should use:
      • All LinkedIn Leads Data (recommended for best results).
      • Or Custom selection → Specify only certain fields (e.g., firstName, job, company).
    • Only the columns you select will be passed to GPT, make sure they contain the info needed for your prompt.
PhantomBuster AI LinkedIn Post Responder step 3 choosing the GPT model and prompt template

AI Phantoms require all selected fields to be present in your input data to function correctly.
For example, if your prompt references First name and Last name but some leads don’t include those fields, the Phantom will return this warning:
“All input data has been filtered out. Ensure it contains the properties specified in the property list.”
→ If some data is missing, first run a LinkedIn Profile Scraper to enrich your leads before using this AI Phantom.

Advanced settings (dropdown in setup)

  1. Name your results file (optional)
    • You can customize the file name.

      If you rename the file between launches, the Phantom will create a new results file and start processing inputs from scratch.

  2. Fields to keep (optional)
PhantomBuster AI LinkedIn Post Responder step 3 advanced settings for the results file and fields to keep

Step 4: Decide how many leads to process

You can control processing:

  • Test mode: Run prompt on the first 10 leads (AI output overwrites each time) - Recommended for testing
  • Partial run: Run prompt on a select number of leads.
  • Full run: Run prompt on all leads (Phantom resumes where it left off, no duplicates).

Testing first saves AI credits before scaling.

PhantomBuster AI LinkedIn Post Responder step 4 choosing how many leads to process

Step 5: Select launch frequency

Choose how often the Phantom should run:

  1. Launch manually: Start the Phantom yourself whenever you need.
  2. Launch once at a specific time: schedule a one-time run at a set date and time.
  3. Launch repeatedly: schedule regular runs (e.g. once per day, several times during working hours).
  4. Launch after another Phantom: chain automations together so this Phantom starts right after another finishes.
  5. Advanced scheduling: customize the exact minutes, hours, days, or months when the Phantom should run.

→ For a complete walkthrough of scheduling options, see our guide to scheduling Phantoms automatically.

PhantomBuster AI LinkedIn Post Responder step 5 selecting the launch frequency

Step 6 (Optional): Advanced settings

Advanced settings are available if you want to fine-tune how your Phantom runs, but by default they’re already optimized for most use cases.

We recommend leaving them as they are unless a guide specifically instructs you to change something.

→ For a detailed overview of all advanced options (like execution limits, retries, email notifications, proxies, webhooks, and file management), see our Advanced settings guide.

Launch and results

When you’re ready:

  1. Click Launch to start your Phantom.
  2. Once it finishes, open the Results tab in the Phantom console.
  3. Download your results as a CSV or JSON file.
    • You’ll see two output files after each run:
      • Results CSV → Your main results file, containing the AI-generated comments or messages, plus the post details used for generation.
      • {csvName}_activities.csv → A secondary file listing the posts extracted from each profile. It includes all posts the Phantom reviewed, even those filtered out before GPT generation.

To learn how to export your data to Google Sheets, integrate with other tools, or reuse it in more automations, check our Access and Export your Phantom Results guide.

Export and input limits on the Free plan
If you’re on the Free plan or Free trial, some features are limited:
- CSV exports include only the first 10 rows of results.
- CSV download links (for dynamic viewing in Google Sheets or integrations) are not available.
- JSON exports are not available.
- CSV upload as an input method is not supported.
To unlock all features, you’ll need to upgrade to a paid plan.

What this Phantom generates

  • The Phantom generates outputs based on your chosen prompt:
    • AI comments if you selected the “Comment on a recent post” template.
    • AI messages for other templates (like connection or outreach).
  • The AI LinkedIn Post Responder only writes comments for posts published in the last month. If no recent posts are found for a profile, the output will show: “No posts found on that profile's last activity.”

How post selection works

When you use a comment-based prompt, like “Comment on a recent post”, here’s what happens behind the scenes:

  1. The Phantom looks at your lead’s 10 most recent LinkedIn posts.
  2. It automatically ignores:
    • Posts older than 30 days.
    • Reposts or shared content.
  3. From what remains, it keeps the 3 latest posts and sends them to GPT.
    Each post includes details like:
    • postContent, postDate, and postUrl
    • likeCount, commentCount, and repostCount
  4. GPT then:
    • Chooses one post to comment on.
    • Writes a personalized comment for it.
  5. In your results file, the postUrl column shows exactly which post was chosen.

When using other prompt types (like connection messages or outreach), the Phantom doesn’t perform this post-scraping step, it generates your AI message based on profile data.

Use your AI-generated comments with LinkedIn Auto Commenter

After running this Phantom, you can automate posting the comments it generated:

  1. Export your results to Google Sheets:
    • Your results file will include a column called ai_message, where the generated comments are stored.
    • Export this file to Google Sheets manually or set up a dynamic export.
    • Follow our guide: How to export data to Google Sheets.
  2. Open the LinkedIn Auto Commenter Phantom:
  3. Map your columns:
    • Select the column containing the LinkedIn post URLs.
    • Select ai_message as the column containing the comments.
  4. Complete the setup and launch:
    • Finalize your LinkedIn Auto Commenter setup.
    • Launch the Phantom to automatically post the AI-generated comments on your leads’ most recent LinkedIn activity.

Each lead will receive a personalized AI-written comment on their latest LinkedIn post (if posted within the last 30 days).

What you give (Input) and What you get (Output)

This section gives you a detailed breakdown of everything you need to provide to run this Phantom, and everything you’ll receive once it completes.

What you give (Input)

Type Description
LinkedIn cookie Your LinkedIn session cookie
User agent Your browser’s user agent. This is detected automatically when you connect your LinkedIn account using the PhantomBuster browser extension (Chrome or Firefox).
LinkedIn profiles LinkedIn profile URLs

What you get (Output)

Type Description
message The AI-generated message
comment The AI-generated comment
postUrl The URL of the post commented on

Tips and troubleshooting

Common pitfalls

  • Using a private spreadsheet (make sure it’s set to “Anyone with the link”).
  • Expecting comments on old posts → the Phantom only checks posts from the last 30 days.
  • Forgetting to test prompts → always start with 10 leads before scaling.

If you run into errors or account issues

Suggested automations

After generating AI-powered comments, you can:

Was this article helpful?

0 out of 0 found this helpful