n8n-nodes-flowengine-workflow-builder
Version:
n8n community node for FlowEngine Workflow Builder - AI-powered workflow automation
42 lines • 1.42 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FlowEngineWorkflowBuilderApi = void 0;
class FlowEngineWorkflowBuilderApi {
constructor() {
this.name = 'flowEngineWorkflowBuilderApi';
this.displayName = 'FlowEngine Workflow Builder API';
this.documentationUrl = 'https://flowengine.cloud/api-docs';
this.icon = 'file:flowengine.svg';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
description: 'For API key, go to flowengine.cloud/settings',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://flowengine.cloud',
url: '/api/v1/chat',
method: 'POST',
body: {
message: 'Test connection',
},
},
};
}
}
exports.FlowEngineWorkflowBuilderApi = FlowEngineWorkflowBuilderApi;
//# sourceMappingURL=FlowEngineWorkflowBuilderApi.credentials.js.map