Overview
This node logs into Zalo using the provided App ID and App Secret, and generates a QR code URL for authentication. It is useful for automating Zalo login processes where QR code-based authentication is required, such as integrating Zalo messaging or services into workflows.
Use Case Examples
- Automate Zalo login to retrieve a QR code for user authentication.
- Integrate Zalo login in an n8n workflow to enable further Zalo API interactions after authentication.
Properties
| Name | Meaning |
|---|---|
| App ID | Your Zalo App ID used for authentication. |
| App Secret | Your Zalo App Secret used for authentication. |
| Password | Your password for login (though not used in the current logic). |
Output
JSON
qrCodeUrl- URL of the QR code generated for Zalo login authentication.messageInput- Input message parameter passed to the node, potentially for further processing or context.
Dependencies
- zca-js library for Zalo QR code generation
Troubleshooting
- Ensure that the App ID and App Secret are correctly provided and valid; otherwise, QR code generation will fail.
- The password property is defined but not used in the current implementation, so it does not affect the login process.
- If the QR code URL is not returned, check network connectivity and API availability of the Zalo service.