n8n-nodes-cleverflow
Version:
n8n node to integrate with CleverFlow API for creating workflow runs and processing Tally Forms
40 lines • 1.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.cleverFlowApi = void 0;
class cleverFlowApi {
constructor() {
this.name = 'cleverFlowApi';
this.displayName = 'CleverFlow API';
this.documentationUrl = 'https://docs.cleverflow.com/api';
this.properties = [
{
displayName: 'API Token',
name: 'apiToken',
type: 'string',
default: '',
required: true,
description: 'The authorization token for the CleverFlow API (without the "Token " prefix)',
typeOptions: {
password: true,
},
},
{
displayName: 'API Base URL',
name: 'baseUrl',
type: 'string',
default: 'https://api.cleverflow.com',
description: 'The base URL of the CleverFlow API (without trailing slash)',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Token {{$credentials.apiToken}}',
},
},
};
}
}
exports.cleverFlowApi = cleverFlowApi;
//# sourceMappingURL=cleverFlowApi.credentials.js.map