n8n-nodes-chatflow
Version:
n8n community node to send WhatsApp messages via Chatflow API (text, audio, video, document, image)
27 lines (26 loc) • 766 B
JavaScript
class ChatflowApi {
constructor() {
this.name = 'chatflowApi';
this.displayName = 'Chatflow API';
this.documentationUrl = 'https://app.chatflow.kz';
this.properties = [
{
displayName: 'Token',
name: 'token',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
description: 'API token from Chatflow → Settings → API Access',
},
];
this.test = {
request: {
baseURL: 'https://app.chatflow.kz/',
url: 'ping',
method: 'GET',
},
};
}
}
module.exports = { ChatflowApi };