Zalo Login Via QR Code
AI-generatedSummary
Generate a QR code image for logging into Zalo and save the scanned login credentials automatically to n8n credentials storage.
Inputs
- Proxy — Optional HTTP proxy URL to route Zalo API requests through.
- QR Code File Path (required) — Filesystem path where the QR code image is saved as a backup.
Output shape
a single item containing JSON success status, message, QR file path, and login method fields, plus binary data of the QR code image.
If existing Zalo credentials are provided and valid, logs in using those credentials instead without generating a QR code. Otherwise, returns a QR code image binary and waits for the user to scan it with the Zalo app. After successful scan and confirmation on the phone, the node saves new Zalo credentials via the n8n API. Errors are thrown or returned depending on node failure handling settings.
Examples
Example 1: Generate a new Zalo login QR code to authenticate, save the QR image to '/tmp/zalo-qr.png', scan it with your phone, and automatically save the credentials once logged in.
Proxy left blank, QR Code File Path set to '/tmp/zalo-qr.png'.