Import approved WhatsApp catalog products
import_whatsapp_catalogAfter preview_whatsapp_catalog_import, copy the owner-approved products from an existing Meta WhatsApp catalog into the site’s Products collection as drafts. The operation is retry-safe by Meta product ID, updates prior imports, never deletes local products, never changes the Meta catalog, and never publishes the site. Call only after the owner approved this exact catalog and product selection.
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>",
"catalog_id": "<catalog_id>",
"approved": "<approved>"
},
"name": "import_whatsapp_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site whose linked Meta WhatsApp number owns the catalog. | |
| approved | Yes | Must be true only after the owner approved the exact preview and selection. | |
| 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. | |
| catalog_id | Yes | The Meta catalog ID returned by preview_whatsapp_catalog_import. | |
| product_ids | No | Meta product IDs (or retailer IDs) selected by the owner. Omit to import every product in the chosen catalog after explicit approval. |