Actions29
- Sessions Actions
- Chats Actions
- Contacts Actions
- Groups Actions
- Messages Actions
Overview
This node integrates with a WhatsApp HTTP API to update the subject (title) of a WhatsApp group chat. It is useful in scenarios where you want to programmatically rename a group, for example, to reflect a new event, project phase, or team name without manually changing it in the WhatsApp app.
Practical examples:
- Automatically updating group names based on project status changes.
- Renaming groups to include dates or milestones dynamically.
- Managing multiple WhatsApp groups and keeping their subjects consistent with external systems.
Properties
Name | Meaning |
---|---|
Phone | The session ID representing the authenticated WhatsApp session (usually linked to a phone number). This is required to authorize the request. |
To | The unique identifier (Jid) of the WhatsApp group whose subject you want to update. Format example: [email protected] . |
Subject | The new subject (title) string to set for the specified WhatsApp group. |
Output
The node outputs JSON data representing the response from the WhatsApp HTTP API after attempting to update the group subject. This typically includes confirmation of success or details about any errors encountered.
No binary data output is indicated by the source code.
Dependencies
- Requires an active WhatsApp HTTP API service endpoint.
- Needs an API key or authentication token configured as credentials within n8n to authorize requests.
- The base URL for the WhatsApp API must be set in the node's credential configuration.
- The node uses the
@devlikeapro/n8n-openapi-node
package to build its properties and handle API requests.
Troubleshooting
- Invalid Session ID: If the session ID (Phone) is incorrect or expired, the API will reject the request. Ensure the session is active and credentials are up to date.
- Incorrect Group Jid: Providing an invalid or non-existent group Jid will cause the update to fail. Verify the group identifier format and existence.
- Permission Denied: The authenticated user may not have permission to change the group's subject. Confirm that the session corresponds to a user with admin rights in the group.
- API Endpoint Issues: Network problems or misconfigured base URLs can prevent communication with the WhatsApp API. Check connectivity and credential settings.
- Empty Subject: Setting an empty subject might be rejected by the API. Always provide a valid non-empty string.
Links and References
- WhatsApp Group Chat Management
- Documentation for the WhatsApp HTTP API used (not publicly linked here; refer to your API provider's docs)
- n8n OpenAPI Node integration documentation: https://docs.n8n.io/integrations/builtin/app-nodes/n8n-openapi-node/