Delete Message Template
Delete Message Template deletes a WhatsApp template by name (all languages), or one language version when you also give Template ID (one language).
- An approved template's name can't be reused for 30 days after it's deleted.
DISABLEDtemplates can't be deleted.
It calls DELETE https://graph.facebook.com/v23.0/{wabaId}/message_templates.
The activity has four tabs: Configuration, Auth, Input and Output.
Configuration
| Field | Required | Description |
|---|---|---|
| Name | Optional | Name of the step, should be unique within this workflow. |
| Description | Optional | Describe the purpose or function of this step. |
| WABA ID | Optional | WhatsApp Business Account id. Not the app id or phone number id. Sent as the wabaId path parameter; Meta needs it. |
| Template Name | Optional | Template name to delete (all languages). Sent as the name query parameter; Meta needs it. |
| Template ID (one language) | Optional | With Template Name, deletes only this language version. Sent as hsm_id. |
Auth
| Field | Required | Description |
|---|---|---|
| Auth Type | Optional | OAuth 2, the only option. WhatsApp uses the Meta OAuth connection. |
| WhatsApp Connection | Optional | The WhatsApp resource, which needs the whatsapp_business_management scope. |
Input
This activity is built on the REST Client. It sends no request
body; the values above go in the URL. You can also map pathParams.wabaId and
queryParams.name from an earlier step here.
| Field | Required | Data Type | Description |
|---|---|---|---|
| Target | Required | Object | The HTTP request. |
Output
The activity returns an httpResponse object (status.code, status.message, headers,
body). The response body carries:
| Field | Data Type | Description |
|---|---|---|
| success | Boolean | true when the template was deleted. |