Zalo Login By QR
AI-generatedSummary
Starts a Zalo QR login and returns the QR code as a PNG binary so the workflow author can scan it. After login, it attempts to save the Zalo credentials using the required n8n API credential and optionally posts the login details to the configured callback URL.
Inputs
- Warehouse ID — Sent as
warehouse_idin the callback request; used only when a callback URL is configured. - Callback URL — Optional webhook URL that receives the warehouse ID, serialized cookie, IMEI, user agent, phone, and account display name after login.
- n8n API credential (required) — Required credential used to create a
zaloApicredential in n8n automatically. Its URL defaults tohttp://localhost:5678if unset, and its API key is sent in the request header.
Output shape
One n8n item containing JSON and a binary PNG QR code.
On success, JSON includes
success: trueand a scan prompt; the QR image is in binary propertydata. Credential-save and callback request failures are logged and do not change the returned success item. Credential lookup failures and QR login errors returnsuccess: falsewith an error message and no QR binary.