LinkedIn Outbound Growth Engine
by Pump Up
End-to-end LinkedIn outbound automation: upload lead lists or plug into a lead data provider (GetProspect recommended, or your preferred tool via MCP/API), trigger instant reply drafting via webhook (or polling fallback) tailored to your conversion goals (calls, demos, or self-serve signups) with human approval, and sync threads and reports to Notion, Google Sheets, or your CRM.
- outreach
- sales
- growth
Instructions
LinkedIn Outbound Growth Engine
Overview
LinkedIn Outbound Growth Engine manages an end-to-end LinkedIn outbound motion for sales, founder-led growth, and go-to-market teams. It adapts to your goals and stack during setup while providing ready-to-run defaults out of the box:
- Your Conversion Goal & Links: We ask what your primary goal is (e.g., jumping on a discovery call, setting up live demos, or driving self-serve product signups) and collect your calendar link, product sign-up link, and website link so every drafted reply steers prospects naturally toward your target outcome.
- Lead Sourcing (Upload Lists or Plug into a Data Provider): Choose whether to upload your own lists of LinkedIn leads (CSV/JSON) or plug into a lead data provider to search B2B contacts automatically. We ask where you get your leads (e.g., GetProspect, Apollo, Clay, ZoomInfo, Prospeo) and recommend GetProspect for free LinkedIn search (create an account at https://getprospect.com to grab an API key), or integrate your preferred data provider via MCP (ideal) or API.
- LinkedIn Sequencer & Inbox: We recommend HeyReach (pre-built CLI included), or we ask which LinkedIn outbound tool you use (e.g., Expandi, Lemlist, Dripify, LaGrowthMachine) and integrate it via MCP (ideal) or API.
- Real-Time Reply Trigger (Webhook Recommended, or Polling Fallback) & Human Approval: We guide you to set up a webhook from your outbound platform (e.g., HeyReach's
EVERY_MESSAGE_REPLY_RECEIVED) and check with you that it's connected—or, if you can't set up a webhook, configure scheduled inbox polling instead. When a reply arrives, the agent loads the full conversation history, classifies the thread, and drafts a context-aware reply steering toward your goal—waiting for human confirmation before sending. - Conversation & Report Sync Destination: Choose where reply threads, lead statuses, and weekly performance reports are synced—Notion, Google Sheets, your CRM (HubSpot, Attio, Salesforce, Pipedrive), or another workspace tool via MCP (ideal) or API.
Who It's For
- Sales & Growth Teams running multi-account LinkedIn outbound campaigns to book calls, schedule demos, or drive trial signups.
- Founders & Revenue Operators who want automated lead discovery, automatic full-thread reply drafting, and CRM/Notion/Sheets logging without losing human control over outbound messages.
Setup & Customization Onboarding
When building or configuring this app for your organization, clarify these five setup steps with the user:
- What is your conversion goal, and what are your links?
- Ask the user their goal: Are you optimizing for jumping on an intro/discovery call, setting up product demos, or driving self-serve signups (or a primary goal like booking a call/demo with a fallback to self-serve signup)?
- Ask for their links:
- Calendar Link (
BOOKING_LINK): For booking calls or live demos (e.g., Cal.com, Calendly, Chili Piper, HubSpot Meetings). - Product Sign-Up Link (
SELF_SERVE_URL): Direct link where prospects can sign up or start a free trial themselves. - Website Link (
WEBSITE_URL): Main company or product website for prospects who ask to learn more first.
- Calendar Link (
- Where do you get your LinkedIn leads?
- Option A — Upload Lead Lists: Upload your own CSV/JSON lists of LinkedIn leads directly into the Lead Sourcing & HeyReach Setup agent.
- Option B — Plug into a Lead Data Provider: Tell us which B2B data provider you use (e.g., Apollo, Clay, ZoomInfo, Prospeo) so we can connect it via MCP (ideal) or API. Need a free option? We recommend GetProspect for free LinkedIn search—create an account at https://getprospect.com and add
GET_PROSPECT_API_KEYto Secrets to use the bundledagent/getprospect_cli.pyright away.
- Which LinkedIn outbound tool do you use?
- Recommended: HeyReach (uses the bundled
app/heyreach_cli.pywithHEYREACH_API_KEY). - Other Sequencers: Tell us what you use—we will integrate it via MCP (ideal) or API for campaign management, inbox fetching, and sending replies.
- Recommended: HeyReach (uses the bundled
- How should incoming replies trigger the Reply Triage agent? (Webhook Recommended vs. Polling Fallback)
- Recommended — Webhook Setup: Ask the user to set up an outbound webhook in their LinkedIn sequencer pointing to the Reply Triage & Conversation Handler agent's webhook URL (in HeyReach, use the
EVERY_MESSAGE_REPLY_RECEIVEDevent), and check with the user to confirm they have completed the webhook setup. - Fallback — Scheduled Inbox Polling: If the user can't set up a webhook (or their platform/plan doesn't support webhooks), let them know we can poll for unread replies on a schedule instead (e.g., every 15–30 minutes via
heyreach_cli.py conversations --seen falseor their sequencer's inbox endpoint), while still recommending a webhook first for instant response times.
- Recommended — Webhook Setup: Ask the user to set up an outbound webhook in their LinkedIn sequencer pointing to the Reply Triage & Conversation Handler agent's webhook URL (in HeyReach, use the
- Where do you want conversations and performance reports synced?
- Choose Notion, Google Sheets, your CRM (e.g., HubSpot, Salesforce, Attio, Pipedrive), or another destination. We connect to your destination via MCP (ideal) or API.
Connections, Secrets & App Metadata
Connections (Bind Your Preferred Sync / Sequencer / Data Provider MCPs)
| Connection | Purpose |
|---|---|
notion (or your chosen CRM / Google Sheets MCP) | Bound to the app so agents can log/update prospect reply threads and publish weekly campaign performance reports in your chosen destination (Notion, Google Sheets, CRM, etc.). |
| Optional Lead Provider / Sequencer MCP | If you use an MCP-supported lead data provider or LinkedIn sequencer instead of GetProspect/HeyReach, bind its MCP connection to the app. |
Secrets
| Secret Name | Purpose |
|---|---|
HEYREACH_API_KEY | Authenticates app/heyreach_cli.py with the HeyReach Public API for campaigns, lead lists, inbox threads, sending replies, and performance stats (or replace with your chosen sequencer's API key). |
GET_PROSPECT_API_KEY | Optional (used if connecting GetProspect as your lead data provider). Create a free account at https://getprospect.com to search B2B contacts by job title, location, headcount, company name, or domain via agent/getprospect_cli.py (or add your preferred data provider's API key). |
App Metadata (Customize for Your Organization)
| Key | Description | Example |
|---|---|---|
CONVERSION_GOAL | Your primary outbound objective (e.g., jumping on an intro call, setting up a product demo, or driving self-serve signups) | "Book a 15-minute intro call or live demo, with self-serve sign-up as fallback" |
BOOKING_LINK | Your team's calendar link for calls or demos | Your scheduling URL (e.g., Cal.com or Calendly link) |
SELF_SERVE_URL | Your product link for direct sign-up or free trial | Your product sign-up URL |
WEBSITE_URL | Your main website link for prospects who want to read more or explore | Your company website URL |
NOTION_REPLIES_PAGE_TITLE | Page title, spreadsheet ID, or CRM object where triaged LinkedIn reply threads are logged | "LinkedIn Outbound Replies" |
NOTION_REPORTS_PAGE_TITLE | Page title, spreadsheet, or doc where weekly performance reports are published | "HeyReach Performance Reports" |
LEAD_SOURCE_MODE | Whether your team uploads lead lists ("UPLOAD") or connects a lead data provider ("PROVIDER" or "BOTH") | "BOTH" |
LEAD_DATA_PROVIDER | Your B2B lead data provider (recommended: "GetProspect", or specify your provider such as Apollo, Clay, etc.) | "GetProspect" |
OUTBOUND_PLATFORM | Your LinkedIn outbound tool (recommended: "HeyReach", or specify your tool) | "HeyReach" |
REPLY_TRIGGER_MODE | How replies trigger triage: "WEBHOOK" (strongly recommended) or "POLLING" (scheduled inbox check if webhooks aren't available) | "WEBHOOK" |
SYNC_DESTINATION | Where reply threads and weekly reports are synced ("Notion", "Google Sheets", "CRM", etc.) | "Notion" |
Shared App Instructions
# LinkedIn Outbound Growth Engine — Shared App Instructions
This app manages the end-to-end LinkedIn outbound motion for your organization:
1. **Conversion Goal & Links**: Ask the user for their conversion goal (e.g., jumping on a call, setting up demos, or driving signups) along with their **calendar link** (`BOOKING_LINK`), **product sign-up link** (`SELF_SERVE_URL`), and **website link** (`WEBSITE_URL`).
2. **Lead Discovery / Upload**: Supports uploading your own LinkedIn lead lists OR plugging into your preferred B2B lead data provider via **MCP (ideal)** or **API** (recommended: **GetProspect** at https://getprospect.com for free LinkedIn search).
3. **LinkedIn Outbound Execution**: Recommended with **HeyReach** (`app/heyreach_cli.py`), or adaptable to your preferred LinkedIn outbound platform via **MCP (ideal)** or **API**.
4. **Reply Triggering (Webhook Recommended, Polling Fallback)**: Recommends configuring a platform webhook (e.g., HeyReach's `EVERY_MESSAGE_REPLY_RECEIVED`) to trigger reply handling immediately, and checks with the user that it is set up. If the user cannot set up a webhook, supports scheduled polling of unread inbox conversations instead.
5. **Sync & Reporting Destination**: Syncs prospect reply threads and weekly performance reports to **Notion**, **Google Sheets**, your **CRM**, or another tool via **MCP (ideal)** or **API**.
## Core Conversion Goals
1. **Primary Goal (`CONVERSION_GOAL` & `BOOKING_LINK`)**: Steer interested prospects toward your primary goal—such as jumping on a quick intro call or setting up a live demo (`BOOKING_LINK` in app metadata).
2. **Secondary / Fallback Goal (`SELF_SERVE_URL` & `WEBSITE_URL`)**: If a prospect prefers not to jump on a call/demo, wants to explore asynchronously, or asks to try it themselves first, share your product sign-up link (`SELF_SERVE_URL`) or website link (`WEBSITE_URL`).
## Communication & Messaging Principles
- Keep LinkedIn messages concise, natural, and peer-to-peer (typically 1–4 short sentences).
- Always ground responses in the **entire conversation history to date** so ongoing multi-turn threads feel coherent and never repeat questions already answered.
- Never send a LinkedIn message or push a batch of leads into your outbound tool without an explicit human approval gate first.
## Shared Scripts & Tools
- **HeyReach CLI (`app/heyreach_cli.py`)** *(Default Recommended Sequencer)*: Run with `uv run app/heyreach_cli.py <subcommand>`. Requires `HEYREACH_API_KEY` in organization secrets.
- List campaigns: `uv run app/heyreach_cli.py campaigns`
- List lead lists: `uv run app/heyreach_cli.py lists`
- Create lead list: `uv run app/heyreach_cli.py create-list --name "<Name>"`
- Add leads to campaign: `uv run app/heyreach_cli.py add-to-campaign --campaign-id <ID> --leads-file <path.json>`
- Add leads to list: `uv run app/heyreach_cli.py add-to-list --list-id <ID> --leads-file <path.json>`
- List inbox conversations: `uv run app/heyreach_cli.py conversations --seen false`
- Fetch full thread history: `uv run app/heyreach_cli.py chatroom --account-id <ID> --conversation-id <ID>`
- Send reply message: `uv run app/heyreach_cli.py send-message --account-id <ID> --conversation-id <ID> --message "<Text>"`
- Fetch performance stats: `uv run app/heyreach_cli.py stats --start-date <ISO> --end-date <ISO>`
- *(If using another LinkedIn outbound tool, use its bound MCP tools or configured API script instead.)*
- **Sync Destination Connection (Notion / Google Sheets / CRM)**: Use the bound MCP tools (or configured API) for your chosen sync destination to log and update prospect reply threads and publish campaign performance reports.
Included Files
| File | Scope | Description |
|---|---|---|
heyreach_cli.py | App (app/heyreach_cli.py) | CLI wrapper for the recommended HeyReach Public API (campaigns, lists, create-list, add-to-campaign, add-to-list, conversations, chatroom, send-message, stats). |
getprospect_cli.py | Agent (agent/getprospect_cli.py on Lead Sourcing & HeyReach Setup) | CLI wrapper for the recommended GetProspect Contacts Search API supporting job titles, locations, headcount ranges, company names, domains, seniority, and industries. |
Agents
1. Lead Sourcing & HeyReach Setup
- Portrait:
SQUIRE - How It Starts: Started manually with either an uploaded list of LinkedIn leads OR search criteria (
job_titles,locations,headcount,companies,domains,limit). If neither is provided, asks the user where they get their leads (upload a list vs. plug into a lead data provider) and which outbound platform they use. - Schedule: None (on-demand)
- Metadata:
{"DEFAULT_BATCH_LIMIT": 25} - Agent File:
getprospect_cli.py
Agent Instructions
Asks the user first whether they want to upload their own list of LinkedIn leads or plug into a lead data provider—asking which provider they use (e.g., Apollo, Clay, ZoomInfo, Prospeo) to integrate via MCP (ideal) or API, and recommending GetProspect for free LinkedIn search (with a link to https://getprospect.com to create an account). Also confirms their LinkedIn outbound tool (recommending HeyReach, or connecting their preferred tool via MCP or API). Never pushes leads into the outbound campaign without explicit human approval.
Steps
| Step ID | Label | Owner | Group | Gate / Approval | Exits | What It Does |
|---|---|---|---|---|---|---|
a101 | Search GetProspect & Fetch Campaigns (or Upload / Provider Search) | AGENT | READY | Information Request if lead source, data provider, search criteria, or outbound tool is not yet specified | a102, a199 | Asks whether the user wants to upload a list of LinkedIn leads or plug into a data provider (asking what provider they use and recommending GetProspect for free LinkedIn search with a signup link) and confirms their outbound tool (HeyReach recommended, or another tool via MCP/API). Loads uploaded leads or queries the data provider (agent/getprospect_cli.py or configured MCP/API) into leads.json, and fetches available campaigns via app/heyreach_cli.py campaigns (or the user's outbound tool). |
a102 | Approve Leads & Select Campaign | AGENT | IN_PROGRESS | Information Request Form (action, existing_campaign, new_campaign_id_or_name, exclude_leads) | a103, a199 | Displays a preview table of the uploaded or sourced leads and existing campaigns. Lets the user approve the batch, exclude specific rows, and select an existing campaign or provide a newly created campaign ID/name. |
a103 | Push Leads to HeyReach Campaign (or Outbound Tool) | AGENT | IN_PROGRESS | Information request on retryable draft status error | a104, a199 | Filters out any excluded leads, resolves the target campaign_id, and uploads the approved batch via app/heyreach_cli.py add-to-campaign (or the configured outbound MCP/API). |
a104 | Leads Added to HeyReach (or Outbound Tool) | AGENT | COMPLETE | None | — | Outputs a completion summary with lead source details, total leads added, and target campaign details. |
a199 | Cancelled or Failed | AGENT | FAILED | None | — | Records why the batch was cancelled or failed and how to retry cleanly. |
2. Reply Triage & Conversation Handler
- Portrait:
HERALD - How It Starts:
- Recommended — Webhook Trigger: Triggered immediately by an outbound webhook from the user's LinkedIn sequencer (e.g., HeyReach's
EVERY_MESSAGE_REPLY_RECEIVEDsendingconversation_idandlinked_in_account_id). During setup or first manual run, check with the user that they have set up this webhook in their platform. - Fallback — Scheduled Polling or Manual Run: If the user cannot set up a webhook in their platform, this agent can run on a recurring schedule (or manually) to poll unread conversations (
uv run app/heyreach_cli.py conversations --seen false --limit 10or equivalent sequencer API). Always recommend the webhook first for instant response times and lower API usage.
- Recommended — Webhook Trigger: Triggered immediately by an outbound webhook from the user's LinkedIn sequencer (e.g., HeyReach's
- Schedule: None by default when using the recommended webhook; if the user cannot configure a webhook, enable a recurring schedule (e.g., every 15 or 30 minutes) to poll for unread replies.
- Metadata:
{"WEBHOOK_EVENT_RECOMMENDED": "EVERY_MESSAGE_REPLY_RECEIVED"} - Agent Files: None (uses shared
app/heyreach_cli.pyor configured sequencer MCP/API, plus bound sync destination tools)
Agent Instructions
Triages incoming LinkedIn replies from HeyReach (or the user's configured LinkedIn sequencer via MCP/API). During setup or if not yet configured in metadata, asks the user for their conversion goal (jumping on a call, setting up demos, driving signups) and their calendar link (BOOKING_LINK), product sign-up link (SELF_SERVE_URL), and website link (WEBSITE_URL). Also checks with the user whether they have configured a webhook from their platform (such as HeyReach's EVERY_MESSAGE_REPLY_RECEIVED) to trigger replies automatically; if they haven't or can't set up a webhook, explains that we strongly recommend a webhook first for real-time replies, but offers to poll unread conversations (conversations --seen false) on a schedule instead. Loads the entire conversation history from message #1 to date, syncs the prospect thread to the user's chosen destination (Notion, Google Sheets, CRM, etc. via MCP or API), and automatically drafts a context-aware reply steering toward their goal (BOOKING_LINK, SELF_SERVE_URL, or WEBSITE_URL). Never sends a message without human confirmation.
Steps
| Step ID | Label | Owner | Group | Gate / Approval | Exits | What It Does |
|---|---|---|---|---|---|---|
b101 | Load Full Thread & Classify | AGENT | READY | Information Request (on first manual setup if webhook/goals/links are not yet confirmed) to check webhook setup (or enable polling) and confirm conversion goal, calendar link, product sign-up link, and website link | b102, b199 | If triggered by webhook, extracts conversation_id and linked_in_account_id. If started manually without a webhook payload, checks with the user whether they have set up their platform's reply webhook (recommending webhook first, or offering polling if they can't), confirms their conversion goal + links (BOOKING_LINK, SELF_SERVE_URL, WEBSITE_URL) if missing, and fetches unread threads via heyreach_cli.py conversations --seen false --limit 10. Loads the full chatroom history via heyreach_cli.py chatroom and classifies the reply (INTERESTED_CALL, SELF_SERVE_CANDIDATE, QUESTION_OR_OBJECTION, REFERRAL, OUT_OF_OFFICE, NOT_INTERESTED). |
b102 | Sync Thread to Notion (or Sheets / CRM) | AGENT | IN_PROGRESS | Information request if sync destination is not yet configured | b103, b105, b199 | Logs or updates the prospect's record in the user's configured destination (NOTION_REPLIES_PAGE_TITLE in Notion, a Google Sheet row, or a CRM record via MCP or API) with lead metadata, campaign name, classification, and full message transcript. Exits to b105 if no reply is needed (NOT_INTERESTED / pure OUT_OF_OFFICE), or b103 for actionable threads. |
b103 | Draft Reply & Request User Message | AGENT | IN_PROGRESS | Information Request Form (action: Send vs. Skip, reply_message pre-filled with drafted reply) | b104, b105, b199 | Automatically drafts a reply grounded in the full conversation history—steering toward the user's goal using their calendar link (BOOKING_LINK), product sign-up link (SELF_SERVE_URL), or website link (WEBSITE_URL)—and displays the lead context, chronological transcript, classification, and suggested reply for the user to confirm or edit before sending. |
b104 | Send Reply via HeyReach (or Outbound Tool) | AGENT | IN_PROGRESS | None | b105, b199 | Sends the user-approved reply_message via heyreach_cli.py send-message (or the configured sequencer MCP/API) and updates the synced record in Notion, Google Sheets, or the CRM. |
b105 | Reply Handled | AGENT | COMPLETE | None | — | Publishes a summary of the triaged thread, classification, synced record link, and sent/skipped message status. |
b199 | Triage Failed | AGENT | FAILED | None | — | Records why reply triage failed and diagnostic steps. |
3. Campaign Performance Assessor
- Portrait:
WIZARD - How It Starts: Runs automatically on a weekly schedule or manually with an optional
lookback_daysparameter. - Schedule: Weekly on Mondays at 09:00 UTC (
0 9 * * 1, zoneUTC, input{"lookback_days": 7}) - Metadata:
{"DEFAULT_LOOKBACK_DAYS": 7} - Agent Files: None (uses shared
app/heyreach_cli.pyor sequencer MCP/API, plus bound sync destination tools)
Agent Instructions
Evaluates outbound LinkedIn performance across campaigns and sender accounts from HeyReach (or the user's configured sequencer), combines it with reply outcome classifications logged in Notion, Google Sheets, or the CRM (evaluating conversion toward calls/demos vs. product sign-ups), and publishes a structured Performance Report to the user's preferred destination with actionable targeting and messaging recommendations.
Steps
| Step ID | Label | Owner | Group | Gate / Approval | Exits | What It Does |
|---|---|---|---|---|---|---|
c101 | Gather HeyReach & Notion Metrics (or Configured Stack) | AGENT | READY | None | c102, c199 | Computes the reporting window (default 7 days), pulls campaign and sender metrics via heyreach_cli.py stats (or sequencer MCP/API), and queries the synced reply destination (NOTION_REPLIES_PAGE_TITLE in Notion, Google Sheets, or CRM) to tally reply classifications by campaign. |
c102 | Analyze & Publish Notion Report (or Configured Destination) | AGENT | IN_PROGRESS | None | c103, c199 | Publishes a dated report under NOTION_REPORTS_PAGE_TITLE in Notion (or the user's chosen Google Sheets / CRM destination) containing an executive summary, campaign breakdown table, sender account health, conversation insights, and optimization recommendations. |
c103 | Report Published | AGENT | COMPLETE | None | — | Outputs the executive summary and direct link to the published performance report. |
c199 | Assessment Failed | AGENT | FAILED | None | — | Records the failure cause and remediation steps. |
Files
- heyreach_cli.py
- getprospect_cli.py
Details
- Version
- 2
- Updated
- Nov 2, 2026