Set Contact Variables
sendpulse_set_contact_variableSet or update custom variables for a SendPulse WhatsApp contact by contact ID, using variable IDs or names and values.
Instructions
Set one or more custom variables on a contact.
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": {
"contact_id": "<contact_id>",
"variables": "<variables>"
},
"name": "sendpulse_set_contact_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account name (only one configured: brand_a) | brand_a |
| variables | Yes | Variables to set | |
| contact_id | Yes |