Zalo Login Via QR Code
AI-generatedSummary
Generate a Zalo QR code for login and optionally create a Zalo API credential via n8n API
Inputs
- proxy — HTTP proxy to use for Zalo API requests
Output shape
array of objects each containing json and binary fields; json includes success, message, fileName, usingExistingCredential, credentialType, and optionally credentialInstructions, credentialName, credentialId, autoCreateApi; binary contains the image data of the generated QR code
The binary payload is a base64‑encoded PNG; the json payload may include additional instruction fields when no existing credentials are provided.
Examples
Example 1: Generate QR code for Zalo login using default proxy
Leave proxy empty or set a valid HTTP proxy; no credentials needed; the node returns a binary QR code image and a json object with a success message.
Example 2: Use existing Zalo API credential
Select a 'zaloApi' credential; the node uses it to auto‑login, generates QR code, attempts to create a 'Zalo API' credential via n8n API, and returns image and json with credential details.
Example 3: Use n8n account credential
Provide an 'n8nZaloApi' credential; the node falls back to QR code flow, generates image, returns json indicating use of n8n credential.