Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Aufgaben & Projektmanagement

Aufgaben & Projektmanagement

Onboarding-Prozesse für Kunden über Webhook, Data Tables und Gmail koordinieren

Läuft bei jeder Onboarding-Webhook-Anfrage, erstellt fehlende Schritte für Angebot, Rechnung, Kickoff und Dokumente, verfolgt deren Status in Data Tables und versendet Willkommens-E-Mails über Gmail.

Was sie bewirkt

## Coordinate client onboarding as a durable saga ### How it works 1. Authenticates and validates one onboarding request, then deterministically claims or joins a parent saga in an exact owner and run scope. 2. Writes only missing intents for offer, invoice, kickoff, signed document, welcome-email record, and internal-checklist record. 3. Reads offer, invoice, booking, and document result tables and classifies every exact-key match instead of trusting the first row returned. 4. Blocks unsafe retries, persists changed step decisions, and rolls the parent into a complete, human-required, blocked, or unresolved state. 5. Runs a fail-stop UTC reconciliation snapshot every 30 minutes to adopt late evidence, repair stale parents, preserve cancellations, and raise age-based alerts. 6. Persists alert intent before Gmail and consumes the throttle receipt only after provider identifiers are validated. ### Setup steps - [ ] Create and re-select the three onboarding tables and four child-result tables. - [ ] Set ONBOARDING_INTAKE_TOKEN and review the server-owned tag and child-version variables. - [ ] Connect Gmail and replace ops@example.com in the reconcile alert node. - [ ] Ensure Offer and Booking adapters persist exact onboarding_id and smoke_tag fields. - [ ] Test invalid, first-delivery, replay, late-evidence, conflict, cancellation, and alert paths while inactive. ### Customization Adapt child adapters, service mappings, wait thresholds, reconciliation cadence, and operator inbox without making the parent resend ambiguous external work.

Die Schritte

  1. Client Onboarding Webhook
  2. UTC Reconcile Sweep
  3. Validate Intake Token
  4. Intake Authorized?
  5. Build Unauthorized Response
  6. Respond Unauthorized
  7. Normalize Onboarding
  8. Find Existing Onboarding Rows
  9. Build Claim Decision
  10. Claim Insert Needed?
  11. Emit Claim Row
  12. Insert Onboarding Claim Row
  13. Find Existing Step Rows
  14. Build Missing Step Intent Summary

Insgesamt 54 Schritte.

Ähnliche Automatisierungen