All workflows
Gmail logoAnthropic logoPerplexity logoSlack logo

Get a Slack alert when a high-value lead emails you

Every email from a real company is researched and scored against who you sell to; the best leads reach you in Slack within minutes.

On new email in Gmail4 apps4 steps

Apps it connects

Authenticate each one once and the workflow is ready to run.

What it does

Each integration step this workflow runs, in order, what it is for, and the conditions and loops that decide when it runs.

  1. 1GmailNew email triggerStarts a run whenever a new email arrives in the connected Gmail inbox, so every inbound message is scored.
  2. 2AnthropicGenerate model responseAsks the AI to identify the sender's company, then to score the lead from 1 to 10 with one deciding reason.
  3. 3PerplexityGenerate model responseResearches the company on the web for what it does, headcount, funding, customers and recent changes that affect buying.
  4. If leadScore is at least vipThreshold

    1. 4SlackSend direct messageSends a direct message to your chosen teammate with the company, score, reason, research excerpt and a link to the thread.

How it works

What happens on each run, in plain English.

Whenever a new email arrives in your Gmail inbox, the AI works out who wrote it and which company they work for, from the signature and the sending domain rather than a free mailbox address. Newsletters, receipts and vendor pitches come back with no company, and mail from your own colleagues and replies in a conversation already under way are skipped, so no research is spent on them. For a real company, the web is researched for what it does, its size, funding, customers and recent changes, and the lead is scored from 1 to 10 against what you sell, weighing what the email asks for as heavily as the company's size.

A score at or above your bar becomes a Slack direct message naming the company, the score, the reason, what the research found and a link to the email. Lower scores are only noted in the run, and an answer from the AI that cannot be read scores zero, so a bad answer can never fire a false alert.

You need Gmail, Anthropic, Perplexity and Slack connected, and three settings filled in: who gets the alerts ('slackUserId'), what you sell and to whom ('whatWeSell'), and your own email domain ('yourEmailDomain') so mail from colleagues is skipped.

lead scoringinboundgmailslackclaudeperplexityalertsqualification

Start from a workflow that already works.

Add "Get a Slack alert when a high-value lead emails you" to your workspace, connect its apps, and make it yours.

Free plan, no credit card