Connect a conversion source
create_conversion_sourceConnect a revenue/conversion source to the active Space so it feeds measured conversions back to your connected ad platforms. Pass body as { type: 'stripe'|'webhook'|'hubspot'|'salesforce'|'ga4', config?: {...}, accountRef? }. Idempotent per type by default. Scoped to the active Space — see set_active_space to switch, or pass space_id to override for this one call.
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": {
"body": "<body>"
},
"name": "create_conversion_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Source payload — { type, config?, accountRef? }. | |
| space_id | No | Override the active Space for this one call. Defaults to the active Space set via set_active_space (or GROWOMAT_SPACE_ID on the server). |