Get Message Template
Get Message Template gets one WhatsApp message template by id, including its components,
status and rejected_reason (why Meta rejected it).
It calls GET https://graph.facebook.com/v23.0/{templateId}.
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. |
| Template ID | Optional | Template id from List or Create Message Template. Globally unique, so no WABA ID is needed. Sent as the templateId path parameter; Meta needs it. |
| Fields | Optional | Comma-separated template fields. Keep rejected_reason. Defaults to id,name,status,language,category,parameter_format,components,rejected_reason,quality_score. Sent as the fields query parameter. |
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. You can map pathParams.templateId 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 |
|---|---|---|
| id | String | Template id. |
| name | String | Template name. |
| status | String | APPROVED, IN_APPEAL, PENDING, REJECTED, PENDING_DELETION, DELETED, DISABLED, PAUSED, LIMIT_EXCEEDED or ARCHIVED. |
| language | String | Language code, for example en_US. |
| category | String | UTILITY, MARKETING or AUTHENTICATION. |
| parameter_format | String | NAMED or POSITIONAL. |
| components[] | Array | Each with type, format, text, buttons (type, text, url, phone_number) and example. |
| rejected_reason | String | NONE, ABUSIVE_CONTENT, CATEGORY_NOT_AVAILABLE, INCORRECT_CATEGORY, INVALID_FORMAT, PROMOTIONAL, SCAM or TAG_CONTENT_MISMATCH. |
| quality_score | Object | score and date. |