Turn LinkedIn post commenters into Attio leads with weekly Slack digest

By General Input

Every Monday morning, scrape commenters on competitor and thought-leader LinkedIn posts, add them to Attio with a personalized icebreaker, and digest the top leads in Slack.

Integrations

  • PhantomBuster
  • Attio
  • Slack

Type

Agentic Task

Categories

  • Sales
  • Marketing

Every Monday at 8am in my local timezone, run this workflow end to end.

Step 1. Launch my PhantomBuster LinkedIn Post Commenters Export Phantom using the Launch Agent action. Pass in a configurable list of LinkedIn post URLs that I keep at the top of the workflow (start with placeholders for competitor posts and industry thought-leader posts so I can swap them in). After launching, wait for the run to complete, then use Fetch Agent Output to get the latest container ID and Fetch Container Result Object to pull the structured list of commenters with their name, LinkedIn URL, headline, profile picture, the exact comment they left, and the source post URL.

Step 2. For each commenter returned, check whether they already exist in Attio as a Person by matching on their LinkedIn URL. The cleanest way to do this is Attio's Assert a Record (Upsert) action with LinkedIn URL as the matching attribute, so we never create a duplicate Person record. Treat anyone whose record was newly created in this run as a "new lead" for the digest; treat anyone whose existing record was matched as already known and skip the rest of the enrichment for them. If Assert a Record is not available for the People object, fall back to a list-and-filter with Create a Record only when no match is found.

Step 3. For every new lead, use built-in AI generation to draft a one-line personalized icebreaker (max ~220 characters) that references the actual comment they left and the post they engaged with. The tone should be warm and direct, not salesy. Example shape: "Saw your take on <post topic> when you commented on <author>'s post that <short paraphrase of their comment>. Would love to hear more about how you're thinking about <related angle>."

Step 4. For each new lead, use Attio's Create a Note action to attach a note to the new Person record. The note should include: the icebreaker, the source post URL, the post author, the full original comment text, and the date the comment was made. Title the note something like "LinkedIn engagement <date>" so it sorts cleanly on the record.

Step 5. Build a weekly digest and post it to Slack using Send a Message in a channel I configure (default to #sales-leads). The digest should include: total new leads added this week, the source posts that drove them, the top five highest-signal commenters (rank by a mix of seniority in their headline and how substantive their comment was), each with their name, headline, the icebreaker we drafted, and a deep link back to their Attio Person record. Close the message with a short summary line like "X new warm leads from last week's LinkedIn engagement."

Other requirements: if PhantomBuster returns zero new commenters across all posts, still post a brief "no new commenters this week" Slack message instead of staying silent. If the Phantom run fails or times out, post an error message to the same Slack channel so I know to investigate. Make the list of LinkedIn post URLs, the Slack channel, the digest day and time, and the number of top commenters to highlight all easy to edit at the top of the workflow.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionChampion job change desk for your Attio revenue team