Actions2
Generate QR
AI-generatedSummary
Generates a QR code for MISA AMIS login via the login-cross-device API, saves a pending session file locally, and returns the QR image binary with request metadata.
Inputs
- userIdentity (required) — Unique identifier for sessions; used to name the pending session storage file. Sanitized (non-alphanumeric replaced with
_, lowercased) to generate the file path.
Output shape
array containing one item with both json and binary data
The node returns a single execute() result: [{ json: {...}, binary: { qr: { data: base64, mimeType: 'image/png', fileName: 'qr.png' } } }] where the json payload includes message, userIdentity, requestId, and qrContent URL.
Examples
Example 1: Workflow author adds the MISA AMIS Login node, sets operation to Generate QR, and provides a user identifier (e.g., 'hiennv').
The node posts to https://id.misa.vn/api/login-cross-device/gen-qrcode, saves a pending session file under ~/.n8n/misa_sessions/