Automation library · CRM

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.

MediumCalls a model: Claude

17 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 7Logic 5Service 4

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

  1. 1Anthropic Chat ModelLm Chat AnthropicModel
  2. 2Webhook - Product LaunchWebhookStarts it
  3. 3ClaudeLm Chat AnthropicModel
  4. 4Anthropic - Chat ModelLm Chat AnthropicModel
  5. 5Explorium MCPMcp Client ToolModel
  6. 6Company ResearcherAgentModel
  7. 7Email Writer (NO prospect data)AgentModel
  8. 8Email Writer ( YES prospect data)AgentModel
  9. 9Fetch ProspectsExplorium Api NodeService
  10. 10Send Slack MessageSlackService
  11. 11Send SlackSlackService
  12. 12Is there data on the company?IfLogic
  13. 13Loop Over ItemsSplit In BatchesLogic
  14. 14Code - Format ObjectCodeLogic
  15. 15Code - Get prospect_idsCodeLogic
  16. 16Enrich contact informationExplorium Api NodeService
  17. 17Code - Merge profile with email infoCodeLogic

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.