Actions29
- Sessions Actions
- Chats Actions
- Contacts Actions
- Groups Actions
- Messages Actions
Overview
This node integrates with a WhatsApp HTTP API to manage sessions. Specifically, the "Add Session" operation under the "Sessions" resource allows users to add or register a new WhatsApp session by providing a phone number. This is useful for automating WhatsApp interactions where establishing or managing sessions programmatically is required.
Practical examples include:
- Automatically registering a new WhatsApp session when onboarding a user.
- Managing multiple WhatsApp sessions in bulk via workflows.
- Integrating WhatsApp messaging capabilities into broader automation processes.
Properties
Name | Meaning |
---|---|
Phone | The phone number used as the session identifier. Typically the WhatsApp account number. |
Output
The node outputs JSON data representing the response from the WhatsApp HTTP API after attempting to add a session. This typically includes confirmation details about the newly added session or error information if the operation failed.
No binary data output is indicated.
Dependencies
- Requires connection to a WhatsApp HTTP API endpoint.
- Needs an API authentication token or key configured in the node credentials.
- The base URL for the API and authentication credentials must be set up in the node configuration.
Troubleshooting
Common issues:
- Invalid or missing phone number: Ensure the phone number is correctly formatted and provided.
- Authentication errors: Verify that the API key or token is valid and has necessary permissions.
- Network connectivity problems: Confirm that the API endpoint URL is reachable from the n8n instance.
Error messages:
- Authentication failures usually indicate invalid credentials; recheck API keys.
- Validation errors on the phone number suggest incorrect formatting or missing required fields.
- Timeout or connection errors imply network issues or incorrect API URLs.
Resolving these generally involves verifying input values, credentials, and network settings.