# Send WhatsApp templates from n8n's WhatsApp Business Cloud node

> n8n's WhatsApp Business Cloud node: operations, credential, Send and Wait, the Bad request error, and template sends from the HTTP Request node.

Published 2026-11-04. Z-API Omni team.

Use the Send Template operation of n8n's WhatsApp Business Cloud node with the API key credential. That credential holds a Meta access token and your WhatsApp Business Account ID. The template must be approved. Values that don't match the type and order of the template's parameters are the usual cause of n8n's "Bad request - please check your parameters" error. n8n's docs don't describe the node's template input fields. When you need full control of the `components` array, post Meta's template payload from an HTTP Request node instead.

## What the node can do

The node page lists two resources and six operations ([n8n WhatsApp Business Cloud node, accessed 2026-11-04](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.whatsapp/)).

| Resource | Operations |
|---|---|
| Message | Send, Send and Wait for Response, Send Template |
| Media | Upload, Download, Delete |

For the details of each operation, the page sends you to Meta's Cloud API documentation. It doesn't document the input fields of Send or Send Template. Check the inputs your n8n version shows in the editor before you map data.

## Set up the WhatsApp credential

The WhatsApp Business Cloud node uses the API key credential. The OAuth2 credential, built from the App ID and App Secret, is for the WhatsApp Trigger node ([n8n WhatsApp credentials, accessed 2026-11-04](https://docs.n8n.io/integrations/builtin/credentials/whatsapp/)). You need a Meta developer account and a business portfolio, because "WhatsApp messaging services require a Meta business portfolio."

1. Create a Meta business app and select **Set up** on the WhatsApp tile, then choose your business portfolio.
2. Under **App settings > Basic**, fill in the Privacy Policy URL and the Terms of Service URL.
3. Switch **App Mode** to **Live**.
4. Open **WhatsApp > API Setup**, select "Generate access token" and paste it into the credential's **Access Token** field.
5. Copy the WhatsApp Business Account ID from the same page into **Business Account ID**.

n8n's page doesn't say how long that generated token lasts. If a workflow that ran last week now fails on authentication, check the token first. [WhatsApp Cloud API access tokens](/academy/articles/whatsapp-cloud-api-access-tokens-system-user/) covers the token types Meta issues.

## What Meta requires of a template send

Meta's template rules apply no matter which node makes the call. "Templates must have a status of `APPROVED` before they can be sent in template messages." Templates are also "the only type of message that can be sent to WhatsApp users outside of a customer service window" ([Meta template fundamentals, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview)). A free-form message to someone who hasn't written in 24 hours fails, which the [error 131047 guide](/academy/articles/whatsapp-error-131047-24-hour-window-templates/) explains.

Templates use one of two parameter formats. "Positional parameters must be ordered array index numbers, starting from 1", so `{{1}}` gets the first value you send. Named parameters "must be unique, single strings, composed of lowercase characters and underscores", and each value carries its `parameter_name`. n8n's docs don't say whether the node supports named parameters, header media or buttons. The [template variables guide](/academy/articles/whatsapp-template-variables-named-parameters/) covers both formats in depth.

## Fix "Bad request - please check your parameters"

n8n's common issues page names this error for the node. It "occurs when WhatsApp Business Cloud rejects your request because of a problem with its parameters." n8n says it's common with Send Template when the data doesn't match the template's format ([n8n WhatsApp common issues, accessed 2026-11-04](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.whatsapp/common-issues/)).

The fix n8n gives is to "pay attention to each parameter's data type and the order they're defined in the template." Then check the mapped values, especially those set by expressions. Put an Edit Fields (Set) node before the send to shape the values, or "set a fallback value to ensure you send a value with the correct format."

The same page covers media. Where an operation has an **Input Data Field Name** or **Property Name** parameter, "set this to the field name itself rather than referencing the data in an expression." For an image with Take Image From set to n8n, enter `data`, not `{{ $json.input.data }}`.

## Send a template from the HTTP Request node

The node page itself points to this fallback. "If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API." Set Authentication to **Predefined Credential Type**, pick the service and pick your credential.

Then set Method to POST and the URL to `https://graph.facebook.com/v26.0/PHONE_NUMBER_ID/messages`, with your phone number ID in the path. The `v26.0` version is added here, since Meta's sample carries none. Turn on **Send Body**, choose **Using JSON** and paste the payload. These are Meta's two samples, unchanged ([Meta template fundamentals](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview)). The positional one:

```json
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "+16505551234",
  "type": "template",
  "template": {
    "name": "order_confirmation",
    "language": {
      "code": "en_US"
    },
    "components": [
      {
        "type": "body",
        "parameters": [
          {
            "type": "text",
            "text": "Jessica"
          },
          {
            "type": "text",
            "text": "SKBUP2-4CPIG9"
          }
        ]
      }
    ]
  }
}
```

The named version adds `parameter_name` to each value:

```json
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "+16505551234",
  "type": "template",
  "template": {
    "name": "order_confirmation",
    "language": {
      "code": "en_US"
    },
    "components": [
      {
        "type": "body",
        "parameters": [
          {
            "type": "text",
            "parameter_name": "first_name",
            "text": "Jessica"
          },
          {
            "type": "text",
            "parameter_name": "order_number",
            "text": "SKBUP2-4CPIG9"
          }
        ]
      }
    ]
  }
}
```

Replace the sample values with expressions from earlier nodes, such as `{{ $json.first_name }}`, and use your own template name and language code.

You can also start from a curl command and use the node's **Import cURL** button. The command below was assembled for this post. It wraps Meta's positional payload in the messages URL and a Bearer header, with `RECIPIENT_PHONE` in place of Meta's sample number. Test it in a terminal first.

```shell
curl -X POST "https://graph.facebook.com/v26.0/PHONE_NUMBER_ID/messages" \
  -H "Authorization: Bearer ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"messaging_product":"whatsapp","recipient_type":"individual","to":"RECIPIENT_PHONE","type":"template","template":{"name":"order_confirmation","language":{"code":"en_US"},"components":[{"type":"body","parameters":[{"type":"text","text":"Jessica"},{"type":"text","text":"SKBUP2-4CPIG9"}]}]}}'
```

Import cURL overwrites the node's existing configuration. Imported values are always strings, so switch the body to **Using JSON** to keep numbers and booleans in their types ([n8n HTTP Request node, accessed 2026-11-04](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/)). If you then select the predefined WhatsApp credential, remove the imported Authorization header so the token isn't stored in the node.

## Send and Wait for Response

Send and Wait for Response sends a message and pauses the workflow until a person confirms an action or provides more information. The node page documents three response types.

| Response type | What the person does | What you can set |
|---|---|---|
| Approval | Approves or disapproves from within the message | Approval button only, or both buttons, with custom labels |
| Free Text | Submits a response through a form | Message button label, form title, description, response button label |
| Custom Form | Fills in a form you build from the Form trigger's elements | The same labels, plus each form element |

Every type has two options. **Limit Wait Time** resumes the workflow after an interval or at a set time, so an unanswered message doesn't hold the execution open. **Append n8n Attribution** adds a note that the message was sent automatically with n8n; turn it off for customer-facing messages.

n8n also documents the operation as a review step for AI Agent tool calls, where "the AI Agent will pause and request human approval through this service". That fits an internal approver more than a customer. The page doesn't say whether the wait message goes out as a template or a free-form message, or how the 24-hour window affects it. Test it on a recipient who has written to the number in the last 24 hours before you rely on it for anyone else.

## Receive the replies

Replies don't come back through this node. Inbound messages and status updates come through the WhatsApp Trigger node, which uses the OAuth2 credential. n8n warns that "WhatsApp only allows you to register a single webhook per app" ([n8n WhatsApp Trigger, accessed 2026-11-04](https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.whatsapptrigger/)). Switching to the production URL overwrites the registered test URL. The [n8n WhatsApp Trigger setup](/academy/articles/n8n-whatsapp-trigger-node-setup/) walks through that node and the test-versus-production switch.

*Z-API Omni team*
