Sales

Flag new signups worth a sales call

When someone signs up, Merlin enriches them and their company with Clay. Signups that fit your ideal customer profile land in your sales channel with why they fit.

@Merlin whenever PostHog sends a sign_up event, enrich the person and their company with Clay from the email on the event: their title, the company's industry, employee count, location and latest funding. If the company fits our ideal customer profile (software companies with 50 to 1,000 employees in North America or Europe), post here who signed up, the company and why it fits, with its owner or open deal from HubSpot or Attio if there is one. Skip personal email addresses and companies that don't fit. Don't contact the person or change the CRM.

#sales
Get started for free
  1. Starts whenPostHog sends a sign_up event to Merlin's webhook
  2. Merlin worksClaude Code or Codex enriches the person and their company with Clay and checks them against your ideal customer profile
  3. You getA post in #sales for each signup that fits, with who they are, the company and why it fits

Tools

  • PostHog
  • Clay
  • Slack
  • HubSpot
  • Attio

Capabilities

  • Automations
  • Your agent's MCP

How it works

From a signup event to a lead worth calling.

When someone signs up, your product's sign_up event reaches Merlin's PostHog webhook and the automation starts a run.

/AcmeTeam/Automations/Flag new signups worth a sales callFeedback?S

Overview

Agents

Skills

Memory

Automations

Integrations

Settings

Flag new signups worth a sales call

Pause
StatusActive
CreatorS Sam You
ScopeWorkspace
Last runOct 23, 2026, 10:02 AM

DetailsRun history

Trigger

Where events come from, the event that starts a run, and the filters it must match.

PostHogManage
Event is captured
Event name is sign_upFilter

Run

What Merlin does each time, where it runs, and where the result goes.

Run instruction

whenever PostHog sends a sign_up event, enrich the person and their company with Clay from the email on the event: their title, the company's industry, employee count, location and latest funding. If the company fits our ideal customer profile (software companies with 50 to 1,000 employees in North America or Europe), post here who signed up, the company and why it fits, with its owner or open deal from HubSpot or Attio if there is one. Skip personal email addresses and companies that don't fit. Don't contact the person or change the CRM.

RuntimeThe computer and coding agent that run it.Sam's MacBook Pro · Claude Code
DestinationWhere Merlin posts the result. Choose None when the instruction already acts in your tools.#sales

Before and after

Good-fit signups reach sales the same morning, not at the end of the trial.

Without Merlin

Someone scans new signups, looks each company up and decides by hand which ones are worth a rep's time.

  1. 01Scan the new signups
  2. 02Look up each email's company
  3. 03Enrich the company
  4. 04Find the person's title
  5. 05Check it against the profile
  6. 06Search for an owner or deal
  7. 07Post the good ones in #sales

With Merlin

Each signup starts the lookup, and only the ones that fit reach #sales.

  1. PostHog sends sign_upTo Merlin's PostHog webhook
  2. Enriches the signup on Sam's MacBookClay, then HubSpot
  3. Signups that fit, in #salesThe rest stay quiet

Setup

Send sign_up from PostHog and give your agent Clay.

Set these up once and every signup that fits your profile lands in #sales. HubSpot or Attio is optional, and Merlin never contacts anyone.

  1. 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
  2. 02Send PostHog events to MerlinWebhooksAdd Merlin's webhook in PostHog with its setup steps. Nothing starts until its first event arrives.
  3. 03Add Clay to your agentYour agent's MCPConnect the Clay MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  5. 05Keep HubSpot or Attio on your agentOptionalYour agent's MCPIf your machine's agent already uses the HubSpot or Attio MCP server, Merlin can use it here too. You don't need to set up anything in Merlin.
  6. 06Use Clay's agent pluginYour agent's MCP

    For Claude Code and Codex, Clay's quickstart recommends its agent plugin, which adds Clay's skills and the clay CLI. Each enrichment spends Clay credits, so every signup that comes in costs some.

  7. 07Skip signups that don't fitAutomations

    On the automation's page, turn on Skip the post when there's nothing to report under Advanced settings (choose a destination), so only signups that fit post in #sales.

  8. 08Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.

Prompt

Have Merlin flag every signup worth a call.

@Merlin whenever PostHog sends a sign_up event, enrich the person and their company with Clay from the email on the event: their title, the company's industry, employee count, location and latest funding. If the company fits our ideal customer profile (software companies with 50 to 1,000 employees in North America or Europe), post here who signed up, the company and why it fits, with its owner or open deal from HubSpot or Attio if there is one. Skip personal email addresses and companies that don't fit. Don't contact the person or change the CRM.

#sales

Once, when you send it

  1. PromptYou send the prompt to @Merlin
  2. WebhookYou add Merlin's webhook in PostHog
  3. AutomationMerlin creates the automation

Every time the event arrives

  1. EventPostHog sends the event
  2. RuntimeMerlin picks the creator's machine first
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex enriches the signup with Clay
  5. ResultMerlin posts the ones that fit in #sales
  6. SteeringReplies in its thread follow up

Bring your coding agents into the tools your team already uses.

Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.