Create a deal
create_dealAdd a deal (one opportunity with one existing contact) to a deal pipeline, in its first open stage unless stage_key says otherwise. Entering the stage runs that stage's automations: its task is created and any journey that is switched ON for the stage starts, which can message the contact. Pass a fresh request_id; a retry with the same one returns the same deal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"request_id": "<request_id>",
"pipeline_id": "<pipeline_id>",
"contact_id": "<contact_id>",
"title": "<title>"
},
"name": "create_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| title | Yes | e.g. "12 Oak St — cash offer" | |
| site_id | Yes | The site, from list_sites | |
| currency | No | ISO currency of value_minor, e.g. USD | |
| stage_key | No | Starting stage; default the pipeline's first open stage | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| contact_id | Yes | The contact this deal is with, from list_contacts | |
| request_id | Yes | A new UUID for this deal. Send the same one when retrying, so a retry never makes a second deal. | |
| pipeline_id | Yes | A deal pipeline id from list_pipelines (not "contacts") | |
| value_minor | No | Deal value in minor units (cents): 250000 = 2,500.00 | |
| owner_user_id | No | Team member who owns the deal, from list_pipelines members | |
| expected_close_on | No | YYYY-MM-DD |