Choose a Zalo channel for a task
choose_channelSuggest which Zalo channel fits a business task, by simple published rules: ZBS template message (with the template type, tag, price and window), a free consultation reply within 48 hours of the user's last interaction (paid outside 48 hours, not allowed after 7 days), an OA broadcast to followers, or a Mini App. Tasks: otp, order_status, delivery_tracking, payment_request, appointment_reminder, customer_reply, service_rating, promotion, voucher, birthday_greeting, news_to_followers, catalog_checkout. Optional: last_interaction_hours, is_follower. Reference only. Examples: {"task":"order_status"}; {"task":"customer_reply","last_interaction_hours":30}; {"task":"promotion","is_follower":true}.
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": {
"task": "<task>"
},
"name": "choose_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What you need to send: otp, order_status, delivery_tracking, payment_request, appointment_reminder, customer_reply, service_rating, promotion, voucher, birthday_greeting, news_to_followers, catalog_checkout. | |
| is_follower | No | The user follows the OA. | |
| last_interaction_hours | No | Hours since the user's last interaction with the OA (message, call, menu tap...). Decides whether a free reply is possible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| notes | Yes | ||
| disclaimer | Yes | ||
| affiliation | Yes | ||
| recommended | Yes | ||
| alternatives | Yes | ||
| data_version | Yes |