capabilities.work

Create Template then Send

A 2-step recipe with WhatsApp. We can help you get access.

Recipe · 2 steps

Create Template then Send

Create a message template and send it when it returns APPROVED.

  1. Create a new message template with a single BODY component on the WhatsApp Business Account.
  2. Send a template message to the recipient referencing the newly approved template by name and language.
What you'll need to have ready
  • accessToken: Access token with whatsapp_business_management and whatsapp_business_messaging permissions.
  • wabaId: The WhatsApp Business Account ID to create the template on.
  • phoneNumberId: The WhatsApp phone number ID that sends the message.
  • to: Recipient phone number in E.164 format without the leading plus.
  • templateName: Lowercase template name using letters, digits, and underscores only.
  • language: Template language/locale code (e.g. en_US).
  • bodyText: The body text content of the template.
  • category: Template category (AUTHENTICATION, MARKETING, or UTILITY).
For your developer

Arazzo workflow whatsapp:create-template-then-send, 2 operations: createMessageTemplate → postByPhoneNumberIdMessages. Specs on APIs.io.