# Generate sales emails based on business events: n8n workflow

> Started by another system calling it, and works across Slack. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/generate-sales-emails-based-on-business-events (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [CRM](https://millionrounds.com/workflows?category=CRM#library)

# Generate sales emails based on business events

Started by another system calling it, and works across Slack. It hands the judgement calls to Claude. 17 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-sales-emails-based-on-business-events)

**17 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 1 Model 7 Logic 5 Service 4

The steps in the order they run, from what starts it.

- 1 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 2 **Webhook - Product Launch** Webhook *Starts it*
- 3 **Claude** Lm Chat Anthropic *Model*
- 4 **Anthropic - Chat Model** Lm Chat Anthropic *Model*
- 5 **Explorium MCP** Mcp Client Tool *Model*
- 6 **Company Researcher** Agent *Model*
- 7 **Email Writer (NO prospect data)** Agent *Model*
- 8 **Email Writer (YES prospect data)** Agent *Model*
- 9 **Fetch Prospects** Explorium Api Node *Service*
- 10 **Send Slack Message** Slack *Service*
- 11 **Send Slack** Slack *Service*
- 12 **Is there data on the company?** If *Logic*
- 13 **Loop Over Items** Split In Batches *Logic*
- 14 **Code - Format Object** Code *Logic*
- 15 **Code - Get prospect_ids** Code *Logic*
- 16 **Enrich contact information** Explorium Api Node *Service*
- 17 **Code - Merge profile with email info** Code *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 17, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Slack
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 17 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-sales-emails-based-on-business-events)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also crm, with the same services where possible, closest in size first.

- [**Detect and escalate Salesforce bottlenecks with Gemini** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/detect-and-escalate-salesforce-bottlenecks-with-gemini)
- [**Re-engage stalled HubSpot deals with OpenAI and Gmail** 17 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/re-engage-stalled-hubspot-deals-with-openai-and-gmail-2)
- [**Extract sales training clips from Fireflies calls** 17 steps · Google Sheets, Slack](https://millionrounds.com/workflow/extract-sales-training-clips-from-fireflies-calls)
- [**Analyze lost HubSpot deals and generate revival strategies** 16 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-lost-hubspot-deals-and-generate-revival-strategies)
- [**Analyze sales call objections with Fireflies and OpenAI** 16 steps · calls a model · Google Drive, Slack](https://millionrounds.com/workflow/analyze-sales-call-objections-with-fireflies-and-openai)
- [**Find and analyze salvage car deals with Google Sheets** 18 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/find-and-analyze-salvage-car-deals-with-google-sheets)
