Example Workflows¶
This document provides complete examples of common integration workflows.
Zapier: New Client Notification¶
Goal: Send a Slack message when a new client enrolls.
When to use: Real-time team notifications, internal alerts.
Steps:
- In Zapier, create a new Zap
- Select WhiteLabelCRO > New Client Created as trigger
- Connect your WhiteLabelCRO.com account with API key
- Add Slack > Send Channel Message action
- Map fields:
Client Name: {{First Name}} {{Last Name}},Email: {{Email}} - Test and publish
Verification: Create a test client in WhiteLabelCRO. Within 30 seconds, you should see a Slack notification with the client's name and email.
Zapier: Lead Capture from Google Forms¶
Goal: Create leads in WhiteLabelCRO from Google Form submissions.
When to use: Lead generation campaigns, website contact forms.
Steps:
- Create a Zap with Google Forms > New Response as trigger
- Add WhiteLabelCRO > Find Lead search action (search by email)
- Enable "Create if not found" and configure Create Lead action
- Map form fields to lead fields (first_name, last_name, email, phone)
- Set
external_idto form response ID for deduplication
Verification: Submit a test form response. Check WhiteLabelCRO for the new lead. Submit the same email again - no duplicate should be created.
Webhook: Payment Failed Alert (Custom Code)¶
Goal: Receive real-time alerts when payments fail and log to database.
When to use: Payment monitoring, dunning workflows, finance alerts.
Steps:
- Create a webhook subscription for
payment.failedevent type - Implement webhook endpoint that:
- Verifies HMAC-SHA256 signature
- Extracts client_id, amount_attempted, failure_reason from payload
- Logs to database
- Sends alert (email/Slack)
- Returns 200 OK
Verification: Trigger a test payment failure in WhiteLabelCRO. Check your logs for the webhook delivery. Verify signature verification passed.
See Webhooks API for subscription creation details.
n8n: Bidirectional CRM Sync¶
Goal: Keep HubSpot contacts synced with WhiteLabelCRO clients.
When to use: Multi-CRM workflows, data synchronization.
Steps:
- WhiteLabelCRO → HubSpot (outbound):
- Webhook node receiving
client.createdevents - HTTP Request node to HubSpot API to create/update contact
-
Use WhiteLabelCRO
client_idas HubSpot custom field for linking -
HubSpot → WhiteLabelCRO (inbound):
- HubSpot webhook trigger for contact updates
- Search WhiteLabelCRO client by external_id
- IF found: update existing client; if not found: create new client
- Use
external_idwith HubSpot contact ID for linking
Verification: Create a client in WhiteLabelCRO. Check HubSpot for matching contact. Update the contact in HubSpot. Check WhiteLabelCRO for the synced change.
Important: Creating/updating data in WhiteLabelCRO uses Integration API actions (POST/PATCH requests with API key), not webhooks. Webhooks are outbound only (WhiteLabelCRO → external systems).
Make: Invoice to Accounting Sync¶
Goal: Create invoices in QuickBooks when generated in WhiteLabelCRO.
When to use: Accounting automation, financial reporting.
Steps:
- Create a scenario with Custom Webhook module
- Create webhook subscription for
invoice.createdevent - Add Router to separate by invoice_status
- For "Unpaid" status:
- QuickBooks > Create Invoice module
- Map fields: customer (from client_id lookup), amount, due_date, description
- Store QuickBooks invoice ID in WhiteLabelCRO via Add Client Note (using HTTP module)
Verification: Create an invoice in WhiteLabelCRO. Check QuickBooks for the matching invoice. Verify amounts and due dates match.
Custom API: Batch Lead Import¶
Goal: Import 500 leads from CSV into WhiteLabelCRO.
When to use: Data migration, bulk imports from marketing campaigns.
Steps:
- Read CSV file with lead data
- For each row, call the Create Lead action endpoint
- Include
external_idin each request for idempotency - Respect rate limits (see Rate Limits documentation)
- Handle errors: log validation errors for manual review, retry transient errors
- Track progress: store last processed row ID
Verification: After import completes, check WhiteLabelCRO for total lead count. Search for a few random leads by email to verify data accuracy.
Note: Write operations (POST/PATCH) to WhiteLabelCRO use Integration API actions with API key authentication, not webhooks.
See Integration Capabilities Overview for action details.
Related Documentation¶
- Common Integration Patterns - Pattern concepts
- Event Catalog - Available event types
- Integration Capabilities Overview - Actions and searches
- Zapier Actions, n8n Actions, Make Actions - Tool-specific action guides