Skip to main content

Edit Message Template

Edit Message Template edits a WhatsApp template's components, or its category or TTL.

  • Only APPROVED, REJECTED or PAUSED templates can be edited.
  • An approved template can be edited at most once per 24 hours and 10 times per 30 days.
  • components replaces the whole existing array.
  • The name and language can't change.

It calls POST https://graph.facebook.com/v23.0/{templateId}.

The activity has four tabs: Configuration, Auth, Input and Output.

Configuration​

FieldRequiredDescription
NameOptionalName of the step, should be unique within this workflow.
DescriptionOptionalDescribe the purpose or function of this step.
Template IDOptionalTemplate id from List or Create Message Template. Globally unique, so no WABA ID is needed. Sent as the templateId path parameter; Meta needs it.

Auth​

FieldRequiredDescription
Auth TypeOptionalOAuth 2, the only option. WhatsApp uses the Meta OAuth connection.
WhatsApp ConnectionOptionalThe WhatsApp resource, which needs the whatsapp_business_management scope.

Input​

This activity is built on the REST Client. Map the changes under body:

FieldRequiredData TypeDescription
TargetRequiredObjectThe HTTP request. The changes go under body.
Body fieldData TypeDescription
componentsArrayReplaces the whole existing components array. Same shape as in Create Message Template.
categoryStringUTILITY, MARKETING or AUTHENTICATION. Can't change once the template is approved.
message_send_ttl_secondsIntegerHow long Meta keeps trying to deliver messages sent with this template.

Output​

The activity returns an httpResponse object (status.code, status.message, headers, body). The response body carries:

FieldData TypeDescription
successBooleantrue when the edit was accepted.