n8n-nodes-zalo-nnt
Version:
Unofficial Zalo integration for n8n - Send messages, manage groups, user operations with QR login. No API key required, works via browser simulation.
32 lines (29 loc) • 769 B
text/typescript
import {
ICredentialType,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class N8nZaloApi implements ICredentialType {
name = 'n8nApiZaloApi';
displayName = 'n8n API Account';
documentationUrl = 'n8n-n8n-api';
icon: Icon = 'file:shared/n8n.png';
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
description: 'The API key used to authenticate with the n8n API.',
required: true,
},
{
displayName: 'URL',
name: 'url',
type: 'string',
default: 'http://127.0.0.1:5678',
description: 'The URL of the n8n instance',
required: true,
}
];
}