Create lead
gambot_create_leadCreate a CRM lead, automatically creating the contact if missing, with support for custom fields and an optional welcome template.
Instructions
Create a CRM lead (contact created if missing, optional template send). Accepts all base lead fields plus a nested 'customFields' object. See gambot_get_lead_fields for available fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | ||
| name | No | ||
| tags | No | ||
| No | |||
| notes | No | ||
| title | No | ||
| value | No | ||
| source | No | ||
| status | No | ||
| stageId | No | ||
| currency | No | ||
| priority | No | ||
| pipelineId | No | ||
| companyName | No | ||
| phoneNumber | Yes | Phone number, ideally E.164 international format (country code, digits only, no leading 0), e.g. 972501234567 or 12025551234. A local/national number (e.g. leading 0) is accepted when a country is provided — or when the organization has a saved country from onboarding; otherwise it's rejected as ambiguous. | |
| customFields | No | Custom field values, e.g. { budget: '5000' }. | |
| templateMessageData | No | Optional welcome template to send. |