u/Beneficial-Scene7300

Built a production-grade n8n client onboarding system async, parallel AI, full error handling (breakdown inside)

Most onboarding workflows I've seen online break in production.
Timeout errors, duplicate Notion pages, exposed API keys in
raw headers, no retry logic. Built this to fix all of that.

What it does:

Client fills a Tally form → webhook fires → system returns
200 OK instantly (async) so the frontend never times out →
in the background:

- Claude generates welcome email AND contract in parallel
(not sequential, cuts Anthropic latency in half)
- Auto-sanitization validates the email and cleans empty
variables before anything hits Gmail or Notion
- Notion workspace created with idempotency check
(double form submission = no duplicate workspace)
- Welcome email sent to client
- Internal summary sent to you
- Retry logic on API failures so one bad Anthropic response
doesn't kill the whole flow
- All credentials via native n8n auth — no raw API keys
sitting in HTTP headers

Total time from form submit to everything done: ~60 seconds.
Frontend sees an instant response. Zero timeout errors.

Stack:
→ n8n Cloud
→ Tally (free)
→ Anthropic API via native n8n credential
→ Gmail + Notion (free)
→ Cost per run: ~$0.01

Happy to answer questions about the architecture.
Packaged it as a ready-to-import blueprint if anyone
wants to skip the build DM me

reddit.com
u/Beneficial-Scene7300 — 2 days ago