agent: n8n-workflow-lifecycle — Module A1 audit scorecard + fixes

Phase 3 audit of Lead Enrich Core + Lead Actions Example:
- Renamed 'Sheets Audit Log' to 'Audit Log Formatter' (was dead-end Set node)
- Documented formatter stub in README
- Deleted duplicate inactive workflow from instance
- Fixed Execute Workflow Trigger missing inputSource parameter
- Scorecard: PASS (7/7 eval scenarios, p95 361ms, 0 silent failures)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jake
2026-03-28 20:54:50 +00:00
parent aa2cd09fee
commit 9f126b4ab7
3 changed files with 154 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ Success Response (200) + Call Actions Workflow
**Two workflows:**
- `lead-enrich-core.json` — the pipeline above (this is the product)
- `lead-actions-example.json` — reference recipe showing downstream routing by grade (CRM sync, Slack notification, welcome email, audit log)
- `lead-actions-example.json` — reference recipe showing downstream routing by grade (CRM sync, Slack notification, welcome email, audit log formatter)
## Quick Start
@@ -147,6 +147,10 @@ See `.env.example` for the full list including downstream action credentials (Hu
- **No-match behaviour:** Apollo returns a successful response with `person: null`. No credits are consumed. The grader assigns "Limited" grade.
- **Retry logic:** The HTTP Request node retries up to 3 times with 5-second backoff on failure.
## Audit Log Formatter
The "Audit Log Formatter" node in the actions workflow formats lead data into a flat structure suitable for logging (timestamp, email, name, company, grade, source, provider, credits). It is a **formatter stub** — it prepares the data shape but has no downstream sink connected. Buyers should connect their own destination node (Google Sheets Append, Supabase Insert, Airtable, etc.) after this node.
## Swap Points (for Client Deployment)
These are the nodes you'd modify when deploying for a client: