@gotohuman/n8n-nodes-gotohuman
Version:
n8n node to request human reviews in AI workflows with gotoHuman
35 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GotoHumanApi = void 0;
class GotoHumanApi {
constructor() {
this.name = 'gotoHumanApi';
this.displayName = 'gotoHuman API';
this.documentationUrl = 'https://docs.gotohuman.com/Integrations/n8n';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'x-api-key': '={{$credentials.apiKey}}',
}
},
};
this.test = {
request: {
baseURL: 'https://api.gotohuman.com',
url: '/authCheck',
},
};
}
}
exports.GotoHumanApi = GotoHumanApi;
//# sourceMappingURL=GotoHumanApi.credentials.js.map