participant_count and add it to your registration form under Sites > Forms so every submission saves an integer seat count on the contact record (if you prefer instant checkout instead of a pay-later invoice, use a GoHighLevel Order Form with product quantity selection enabled).
invoices.write permission and set the headers Authorization: Bearer <token> and Version: 2021-07-28 for your workflow webhook.
POST https://services.leadconnectorhq.com/invoices/ with altId, altType: "location", contactDetails, businessDetails, currency, issueDate, sentTo, liveMode: true, and items[0] passing amount: 100 (unit price) and qty: {{contact.participant_count}}, then chain POST /invoices/{{webhook.id}}/send with action: "sms_and_email" to deliver the $300 invoice automatically.
Set up dynamic-quantity invoicing from a registration form in sub-account <YOUR_LOCATION_ID>:
1. Add a Numerical custom field participant_count to the registration form so the contact stores the exact seat count.
2. Create a Private Integration Token with invoices.write permission and use Version: 2021-07-28.
3. In a Form Submitted workflow, send a Custom Webhook to POST https://services.leadconnectorhq.com/invoices/ passing items[0].amount as the unit price and items[0].qty as {{contact.participant_count}}, then call POST /invoices/{invoiceId}/send.
# Inspect registration forms, custom fields, and workflows ghl-crm custom-fields list --context <YOUR_CONTEXT> --location <YOUR_LOCATION_ID> ghl-crm workflows list --context <YOUR_CONTEXT> --location <YOUR_LOCATION_ID>
Official GHL MCP vs. ghl-tools: HighLevel’s official hosted MCP (services.leadconnectorhq.com/mcp) covers public v2 CRM records (contacts, opportunities, appointments, conversations). ghl-tools MCP complements it with workflow graph inspection & recipes, funnel/form builders, DNS/BIMI checks, and ghl-crm doctor audits.
| Step | Menu Path in GHL | Action |
|---|---|---|
| Step 1 | Settings > Custom Fields | Create a Numerical contact field such as participant_count and add it to your registration form under Sites > Forms so every submission saves an integer seat count on the contact record (if you prefer instant checkout instead of a pay-later invoice, use a GoHighLevel Order Form with product quantity selection enabled). |
| Step 2 | Settings > Private Integrations | Create a sub-account token with invoices.write permission and set the headers Authorization: Bearer <token> and Version: 2021-07-28 for your workflow webhook. |
| Step 3 | Automation > Workflow Builder | Trigger on Form Submitted, add a Custom Webhook calling POST https://services.leadconnectorhq.com/invoices/ with altId, altType: "location", contactDetails, businessDetails, currency, issueDate, sentTo, liveMode: true, and items[0] passing amount: 100 (unit price) and qty: {{contact.participant_count}}, then chain POST /invoices/{{webhook.id}}/send with action: "sms_and_email" to deliver the $300 invoice automatically. |
Connect Claude Code, Cursor, or OpenAI Codex to our ghl-tools MCP Server & Rust CLI to build workflows, forms, and funnels from your editor, or start your GoHighLevel plan through our partner link to unlock $612+ in ready-to-import kits (including GHL Dynamic Quantity Invoice Webhook Kit) and weekly live clinics.