Repurpose law firm field notes into compliant marketing content with Anthropic Claude
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize and Validate Input (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Build Content Prompt (Code): runs custom JavaScript code
- Generate Marketing Content (HTTP Request): calls api.anthropic.com (POST)
- Extract & Safety-Check Content (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Compliance Check — Audit Log (Execute Sub-workflow): calls another n8n workflow
- If: checks a condition and branches into true / false
- Email Content Package to Firm (Send Email): sends an email over SMTP
HTTP calls to: api.anthropic.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - HTTP Request
n8n-nodes-base.httpRequest - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow receives law firm field notes or anonymized case wins via webhook, validates them for privileged language, uses Anthropic Claude to generate four marketing assets, runs a keyword safety scan, logs the event via a Bar-Compliance…