Actions50
- Account Actions
- Call Actions
- Chat Actions
- Contact Actions
- Group Actions
- Instance Actions
- Media Actions
- Message Actions
- Session Actions
- User Actions
Overview
This node integrates with the WSAPI WhatsApp API, allowing users to perform various operations on WhatsApp resources. Specifically, for the Account - Set Name operation, it updates the display name of your WhatsApp account. This is useful when you want to change how your account name appears to your WhatsApp contacts, for example, rebranding a business account or updating personal information.
Practical examples:
- A business changes its brand name and wants the new name reflected in WhatsApp communications.
- An individual wants to update their display name to something more recognizable or professional.
Properties
| Name | Meaning |
|---|---|
| Name | The new display name for your WhatsApp account. This is the name visible to your WhatsApp contacts. Example: "My name" |
Output
The node outputs JSON data representing the result of the operation. Typically, this will include confirmation that the account name was updated successfully or details about the updated account state.
If the operation returns binary data (not typical for setting an account name), it would represent associated media or files, but this operation focuses on JSON output only.
Dependencies
- Requires an API key credential for authenticating with the WSAPI WhatsApp API.
- The node expects the base URL of the WSAPI service to be configured in the credentials.
- No additional external dependencies are required beyond the WSAPI service.
Troubleshooting
Common issues:
- Invalid or missing API credentials can cause authentication failures.
- Providing an empty or invalid name string may result in errors from the API.
- Network connectivity problems to the WSAPI endpoint can cause request failures.
Error messages:
"The resource "account" is not known!"— indicates an unsupported resource was selected; ensure "Account" is chosen."The operation "setName" is not implemented yet!"— suggests the operation name might be misspelled or not supported; verify the operation selection.- API error messages related to authorization or validation should be checked against the WSAPI documentation and resolved by correcting credentials or input values.
Links and References
- WSAPI WhatsApp API Documentation (replace with actual URL)
- n8n Documentation on Creating Custom Nodes
- WhatsApp Business API general info: https://www.whatsapp.com/business/api
Note: The above summary is based solely on static analysis of the provided source code and property definitions.