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.
- Starts whenPostHog sends a
sign_upevent to Merlin's webhook Merlin worksClaude Code or Codex enriches the person and their company with Clay and checks them against your ideal customer profile
- You getA post in
#salesfor 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_upevent reaches Merlin's PostHog webhook and the automation starts a run.Claude Code or Codex looks up the person and their company in Clay from the email on the event and checks the company against your ideal customer profile. For a fit, it also checks HubSpot or Attio for an owner or an open deal.
A signup that fits lands in
#saleswith who they are, the company and why it fits. The rest stay quiet, and nobody is contacted.
When someone signs up, your product's sign_up event reaches Merlin's PostHog webhook and the automation starts a run.
Claude Code or Codex looks up the person and their company in Clay from the email on the event and checks the company against your ideal customer profile. For a fit, it also checks HubSpot or Attio for an owner or an open deal.
A signup that fits lands in #sales with who they are, the company and why it fits. The rest stay quiet, and nobody is contacted.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Flag new signups worth a sales call
PauseDetailsRun history
Trigger
Where events come from, the event that starts a run, and the filters it must match.
Run
What Merlin does each time, where it runs, and where the result goes.
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.
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.
- 01Scan the new signups
- 02Look up each email's company
- 03Enrich the company
- 04Find the person's title
- 05Check it against the profile
- 06Search for an owner or deal
- 07Post the good ones in #sales
With Merlin
Each signup starts the lookup, and only the ones that fit reach #sales.
- PostHog sends
sign_upTo Merlin's PostHog webhook Enriches the signup on Sam's MacBookClay, then HubSpot
- 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.
- 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.
- 02Send PostHog events to MerlinWebhooksAdd Merlin's webhook in PostHog with its setup steps. Nothing starts until its first event arrives.
- 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.
- 04Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 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.
- 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
clayCLI. Each enrichment spends Clay credits, so every signup that comes in costs some. - 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. - 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.
Once, when you send it
- PromptYou send the prompt to @Merlin
- WebhookYou add Merlin's webhook in PostHog
- AutomationMerlin creates the automation
Every time the event arrives
- EventPostHog sends the event
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex enriches the signup with Clay
- ResultMerlin posts the ones that fit in #sales
- SteeringReplies in its thread follow up
Related use cases
More sales tasks you can hand to Merlin.
- IntegrationsYour agent's MCP
Sales
Research an account before the first call
Message Merlin the company before a first call. You get a one-page brief from their site, news, hiring, Clay and your CRM, with questions to ask.
Direct message to@Merlinwith the companyA one-page brief in your DM - AutomationsYour agent's MCP
Sales
Tell the owner when an account hits its limit
When an account hits its plan limit, Merlin posts its usage and its owner in your sales channel. The owner can follow up with the context in hand.
PostHog reportsplan_limit_reachedUsage and the owner in#sales - IntegrationsYour agent's MCP
Sales
Build a list of accounts like your best customers
Ask Merlin in Slack for accounts like your best customers. It works out what your top customers share, searches Clay for companies that match and returns the list in a Google Sheet.
@Merlinin#salesLookalike accounts in a Google Sheet
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.