Update Whatsapp Trigger
update_whatsapp_triggerChange a trigger that is switched off: page, entity, fields, message, number or flow. Only the fields given change. A trigger that is on is turned off first with disable_whatsapp_trigger.
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": {
"app_id": "<app_id>",
"trigger_id": "<trigger_id>"
},
"name": "update_whatsapp_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| app_id | Yes | The app the trigger belongs to. | |
| flow_id | No | Optional WhatsApp flow the conversation continues in. | |
| page_name | No | The page whose form creates the record. | |
| name_field | No | ||
| trigger_id | Yes | The trigger id, from list_whatsapp_triggers. | |
| entity_name | No | The entity whose new records fire it. | |
| phone_field | No | The record field holding the customer's WhatsApp number. | |
| whatsapp_bot_id | No | The WhatsApp number that sends, from get_whatsapp_trigger_options. | |
| message_template | No | The message; {{ field_name }} inserts a record field. |