Demo preview · GBP Download blueprint JSONDownloaded JSON includes the webhook URL, required header name, guide steps, and all 4 event payloads. Workspace secret tokens are always excluded.
Webhook endpoint & authentication POST Webhook URL https://ad-revenue-tracker.onrender.com/api/webhooks/ghl/dbr?workspace=demo-previewRequired auth header X-ClearROAS-DBR-Token
Workspace webhook token Sample preview mode — no live workspace token is issued here. Sign in as a workspace owner to reveal and copy your live webhook token.
Exact GoHighLevel + Appointwise setup steps Connect Appointwise to the correct HighLevel sub-account. Use a dedicated DBR-only pipeline and filter your existing Paid ClearROAS workflows to exclude that pipeline. Create new DBR opportunities rather than moving or reusing original paid deals. Create a DBR campaign here with that HighLevel pipeline ID, exact currency, and a unique campaign key. In HighLevel, stamp the target contacts with a campaign-specific tag and use that tag to scope replies and bookings. Do not create extra sends; only track contacts you are already allowed to contact. In Automations → Workflows, add a Custom Webhook action to each of the four trigger paths below. Use POST, the copied webhook URL, Content-Type: application/json, and the DBR token in the specified header. Never paste the token into the URL, templates or logs. Copy the JSON template for each workflow. Replace all {{…}} examples with the matching fields from your HighLevel trigger’s picker, and replace any uppercase campaign or pipeline placeholder with your saved values. For Appointwise bookings, verify the correct calendar and tag; do not enable both overlapping booking triggers. Run one test contact end-to-end in a test workspace. Inspect the resolved JSON and confirm one event per stage, then resend it and verify counts do not move. Switch on your tracking workflows only after the test; this blueprint does not install a HighLevel snapshot or launch a campaign. Won value is booked/closed-won revenue, not cash receipt. Only a prior, verified same-workspace, same-currency paid campaign is included in Original Ad LTV Lift. No DBR events are forwarded to Meta or added to paid spend/ROAS.
4 GoHighLevel workflow payloads (4) One-click JSON copy per event dbr.message_sent Message sent GHL Trigger: Add immediately after the successful send in the DBR workflow
Copy payload
campaign_key Your ClearROAS DBR campaign key. Keep it identical in all four workflows.
currency The DBR campaign currency (ISO code); do not send converted amounts.
ghl_contact_id HighLevel Contact → ID. Prefer the same contact ID in every workflow.
location_id HighLevel Location → ID, not your agency ID.
occurred_at Optional: actual event time as ISO 8601 with timezone. Omit to use receipt time. On retries, reuse the original value.
external_event_id Use the provider message ID when available. Otherwise use campaign + unique send step + contact ID, with one send per contact per step. For resends use a different step or stable send ID. A batch uses { "events": [ … ] }, one entry per sent message, up to 250. {
"event": "dbr.message_sent",
"campaign_key": "90-day-cold-leads",
"currency": "GBP",
"ghl_contact_id": "{{contact.id}}",
"location_id": "{{location.id}}",
"external_event_id": "90-day-cold-leads:sent:step-1:{{contact.id}}"
}dbr.replied Customer replied GHL Trigger: Customer Replied (filter to the DBR campaign tag and channel)
Copy payload
campaign_key Your ClearROAS DBR campaign key. Keep it identical in all four workflows.
currency The DBR campaign currency (ISO code); do not send converted amounts.
ghl_contact_id HighLevel Contact → ID. Prefer the same contact ID in every workflow.
location_id HighLevel Location → ID, not your agency ID.
occurred_at Optional: actual event time as ISO 8601 with timezone. Omit to use receipt time. On retries, reuse the original value.
external_event_id Campaign + contact ID is stable for the first reply. Do not count bot replies or messages from another campaign. {
"event": "dbr.replied",
"campaign_key": "90-day-cold-leads",
"currency": "GBP",
"ghl_contact_id": "{{contact.id}}",
"location_id": "{{location.id}}",
"external_event_id": "90-day-cold-leads:reply:{{contact.id}}"
}dbr.booked Calendar appointment booked GHL Trigger: Appointment Status → New/Confirmed, on the Appointwise DBR calendar
Copy payload
campaign_key Your ClearROAS DBR campaign key. Keep it identical in all four workflows.
currency The DBR campaign currency (ISO code); do not send converted amounts.
ghl_contact_id HighLevel Contact → ID. Prefer the same contact ID in every workflow.
location_id HighLevel Location → ID, not your agency ID.
occurred_at Optional: actual event time as ISO 8601 with timezone. Omit to use receipt time. On retries, reuse the original value.
external_event_id Use the appointment ID via the trigger’s field picker. Re-use the same ID on retry/reschedule; do not include the status or time in the ID. {
"event": "dbr.booked",
"campaign_key": "90-day-cold-leads",
"currency": "GBP",
"ghl_contact_id": "{{contact.id}}",
"location_id": "{{location.id}}",
"external_event_id": "booked:{{appointment.id}}"
}dbr.won Opportunity won GHL Trigger: Opportunity Status Changed → Won, only in the dedicated DBR pipeline
Copy payload
campaign_key Your ClearROAS DBR campaign key. Keep it identical in all four workflows.
currency The DBR campaign currency (ISO code); do not send converted amounts.
ghl_contact_id HighLevel Contact → ID. Prefer the same contact ID in every workflow.
location_id HighLevel Location → ID, not your agency ID.
occurred_at Optional: actual event time as ISO 8601 with timezone. Omit to use receipt time. On retries, reuse the original value.
external_event_id Use the same opportunity ID on every retry.
ghl_pipeline_id The dedicated DBR pipeline ID saved on this ClearROAS campaign.
ghl_opportunity_id The ID of the new DBR opportunity, never of the original paid deal.
amount_major Opportunity monetary value as a plain decimal string, e.g. "1250.50". No currency symbol or thousands separator. Alternatively send exact integer amount_minor (e.g. "125050"); never send both. {
"event": "dbr.won",
"campaign_key": "90-day-cold-leads",
"currency": "GBP",
"ghl_contact_id": "{{contact.id}}",
"location_id": "{{location.id}}",
"external_event_id": "won:{{opportunity.id}}",
"ghl_pipeline_id": "YOUR_DBR_PIPELINE_ID",
"ghl_opportunity_id": "{{opportunity.id}}",
"amount_major": "{{opportunity.monetary_value}}"
}