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.

@Merlin whenever PostHog sends a plan_limit_reached event, find the account in HubSpot or Attio from the organization on the event, with its owner and plan. Post here which limit they hit, their usage over the last 30 days from PostHog and who owns the account. Don't contact the customer or change their plan.

#sales
Get started for free
  1. Starts whenPostHog sends a plan_limit_reached event to Merlin's webhook
  2. Merlin worksClaude Code or Codex finds the account and its owner in HubSpot or Attio and pulls its recent usage from PostHog
  3. You getA post in #sales with the limit they hit, their usage and the account owner

Tools

  • PostHog
  • HubSpot
  • Attio
  • Slack

Capabilities

  • Automations
  • Your agent's MCP

How it works

From a plan limit event to the account owner, with the context.

When an account hits its plan limit, your product's plan_limit_reached event reaches Merlin's PostHog webhook and the automation starts a run.

/AcmeTeam/Automations/Tell the owner when an account hits its limitFeedback?S

Overview

Agents

Skills

Memory

Automations

Integrations

Settings

Tell the owner when an account hits its limit

Pause
StatusActive
CreatorS Sam You
ScopeWorkspace
Last runOct 21, 2026, 11:05 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 plan_limit_reachedFilter

Run

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

Run instruction

whenever PostHog sends a plan_limit_reached event, find the account in HubSpot or Attio from the organization on the event, with its owner and plan. Post here which limit they hit, their usage over the last 30 days from PostHog and who owns the account. Don't contact the customer or change their plan.

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

An account at its limit reaches its owner while it's still news.

Without Merlin

Someone spots the limit in PostHog, looks the account up in the CRM and tells the owner by hand.

  1. 01Spot the limit event
  2. 02Find the organization
  3. 03Pull 30 days of usage
  4. 04Look up the account
  5. 05Find the owner and plan
  6. 06Write up the context
  7. 07Message the owner

With Merlin

The event starts the lookup, and the owner gets the context in #sales.

  1. PostHog sends plan_limit_reachedTo Merlin's PostHog webhook
  2. Looks up the account on Sam's MacBookHubSpot and 30 days of PostHog usage
  3. Usage and the owner in #salesThe owner follows up

Setup

Send the limit event from PostHog, then let Merlin find the owner.

Set these up once and every account that hits a limit lands in #sales with its owner. Merlin never contacts the customer.

  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 PostHog to your agentYour agent's MCPConnect the PostHog MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Add HubSpot or Attio to your agentYour agent's MCPConnect the HubSpot or Attio MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  5. 05Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  6. 06Capture plan_limit_reached with the organizationWebhooks

    Send plan_limit_reached from your product with the customer's organization and the limit on the event, so each run knows which account to look up. The automation only runs on events with that name.

  7. 07Paste 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 tell the owner whenever an account hits its limit.

@Merlin whenever PostHog sends a plan_limit_reached event, find the account in HubSpot or Attio from the organization on the event, with its owner and plan. Post here which limit they hit, their usage over the last 30 days from PostHog and who owns the account. Don't contact the customer or change their plan.

#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 finds the account and its usage
  5. ResultMerlin posts the usage and the owner 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.