Actions51
- Platforms Actions
- Projects Actions
- Webhooks Actions
- ApiKeys Actions
- Auth Actions
- Identities Actions
- Members Actions
- Messages Actions
- Platform Logs Actions
Overview
This node interacts with the GateKit API to retrieve a QR code for WhatsApp authentication on a specified platform. It is useful when you want to programmatically obtain the QR code that users scan to authenticate their WhatsApp session within the GateKit messaging gateway system.
Typical use cases include:
- Automating WhatsApp platform setup by fetching the QR code for user scanning.
- Integrating WhatsApp authentication into workflows where manual retrieval of the QR code is impractical.
- Monitoring or managing WhatsApp platform connections in multi-platform messaging setups.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Platform ID | The unique identifier of the WhatsApp platform instance for which to get the QR code. |
| Project | The project identifier under which the platform is configured and operated. |
| Id | An additional id parameter (appears redundant with WhatsApp Platform ID, likely same). |
Output
The node outputs JSON data containing the QR code information retrieved from the GateKit API for the specified WhatsApp platform. This typically includes the QR code image or data string needed for WhatsApp authentication.
No binary data output is indicated in the source; the output is purely JSON representing the QR code details.
Dependencies
- Requires an active GateKit API key credential configured in n8n.
- Needs the GateKit API URL set in credentials to direct requests properly.
- The node makes HTTP GET requests to the endpoint
/api/v1/projects/{project}/platforms/{id}/qr-code.
Troubleshooting
- Invalid or missing platform ID: Ensure the WhatsApp Platform ID is correct and corresponds to an existing platform configuration.
- Authentication errors: Verify that the API key credential is valid and has permissions for the specified project.
- Project not found: Confirm the project identifier exists and is accessible by the API key.
- Empty or malformed QR code response: Check if the platform is properly configured and online to generate a QR code.
- Network issues: Ensure connectivity to the GateKit API endpoint.
Links and References
- GateKit API Documentation (generic reference, as no direct link provided)
- WhatsApp Business API authentication concepts (for understanding QR code usage)
This summary is based solely on static analysis of the provided source code and property definitions.