Documentation
/ Diagrams
Lead pipeline
flowchart LR
A[Visitor fills form] --> B[Partner validates + CSRF]
B --> C[Store local lead optional]
C --> D[POST submit_request]
D --> E{Partner key OK?}
E -->|no| F[Log failure / retry queue]
E -->|yes| G[Insert Labored requests]
G --> H[partner_assigned = slug]
H --> I[Owner / Labored notify]
I --> J[Partner dashboard shows synced]
Payload essentials
full_name(required)service_requestedorservice_needed(required; must match active service name when routing)email,phone,city,statepartner_assigned= your Labored company slugsource= partner site identifierreferral_id/channelfor campaign attribution
Idempotency tips
- Deduplicate locally (same email within a window) before calling Labored
- Use
search_requestswhen you need a remote duplicate check - Persist
labored_synced_at(or equivalent) on success