WhatsApp Business Cloud credentials#
You can use these credentials to authenticate the following nodes:
Prerequisites#
- Create a Meta developer account.
- Create a Meta business app.
- WhatsApp messaging services require a Meta business portfolio, formerly called a Business Manager account. The UI may still show either option. Refer to Meta's Create a business portfolio documentation for detailed instructions.
See each supported authentication method below for more detailed instructions on creating the app.
Supported authentication methods#
- API key: Use for the WhatsApp Business Cloud node.
- OAuth2: Use for the WhatsApp Trigger node.
Related resources#
Refer to WhatsApp's API documentation for more information about the service.
Meta classifies users who create WhatsApp business apps as Tech Providers; refer to Meta's Get Started for Tech Providers for more information.
Using API key#
To configure this credential, you'll need:
- An API Access Token: Generated when you create a Meta app with WhatsApp as the product.
- A Business Account ID: Generated for all WhatsApp Business accounts. You can view yours in Business Manager > Business Settings > Accounts > WhatsApp Business Accounts and view your account details, or copy it from the Meta app you create.
To generate an access token, create a Meta app with WhatsApp as the product. To create the app:
- From the Meta for Developers Apps dashboard, select Create App.
- Select Business. If you don't see that option:
- Select Other.
- For App type, select Business, then select Next.
- Enter a name for your app.
- Enter a contact email address.
- Select Create app. Refer to Create a Meta app for more detail on the above steps.
- In Add products to your app, select Set up in the WhatsApp tile. Refer to Add the WhatsApp Product for more detail.
- This opens the WhatsApp Quickstart page. Either select an existing business portfolio or create a new one.
- Select Continue.
- Go to App settings > Basic.
- Set the Privacy Policy URL and Terms of Service URL for the app.
- Change the App Mode to Live.
- Open the API Setup page either from the app navigation or from the Start Using API on the Quickstart page.
- Copy the Temporary access token and add it to n8n as the Access Token.
- Copy the WhatsApp Business Account ID and add it to n8n as the Business Account ID.
Refer to Test Business Messaging on WhatsApp for more information on the above steps.
Fully verifying and launching your app will take further configuration. Refer to Meta's Get Started for Tech Providers Steps 5 and beyond for more information. Refer to App Review for more information on the Meta App Review process.
Using OAuth2#
To configure this credential, you'll need:
- A Client ID: Generated once you create a Meta app with WhatsApp as the product.
- A Client Secret: Generated once you create a Meta app with WhatsApp as the product.
To generate both, create a Meta app with WhatsApp as the product. To create the app:
- From the Meta for Developers Apps dashboard, select Create App.
- Select Business. If you don't see that option:
- Select Other.
- For App type, select Business, then select Next.
- Enter a name for your app.
- Enter a contact email address.
- Select Create app. Refer to Create a Meta app for more detail on the above steps.
- In Add products to your app, select Set up in the WhatsApp tile. Refer to Add the WhatsApp Product for more detail.
- This opens the WhatsApp Quickstart page. Either select an existing business portfolio or create a new one.
- Select Continue.
- Go to App settings > Basic.
- Set the Privacy Policy URL and Terms of Service URL for the app.
- Change the App Mode to Live.
- Go to App settings > Basic.
- Copy the App ID and enter it as the Client ID within the n8n credential.
- Copy the App Secret and enter it as the Client Secret within the n8n credential.
Fully verifying and launching your app will take further configuration. Refer to Meta's Get Started for Tech Providers Steps 5 and beyond for more information. Refer to App Review for more information on the Meta App Review process.