MISA AMIS Login

Login to MISA AMIS via QR Code

Generate QR

AI-generated

Summary

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/.pending.json, and outputs a QR code image (base64) along with a scan URL (https://amisapp.misa.vn/shared?app=qrlogin&qrid=&domain=amisapp.misa.vn). The workflow author can then display the binary QR image to the user and later use the Check Login operation with the same userIdentity to poll for completion.

Discussion