UNPKG

@firefliesai/n8n-nodes-fireflies

Version:

An n8n integration for the Fireflies.ai API that enables workflow automation with meeting transcripts, analytics, summaries, and other conversation data from Fireflies.ai's AI meeting assistant.

52 lines 1.57 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FirefliesApi = void 0; class FirefliesApi { constructor() { this.name = 'firefliesApi'; this.displayName = 'Fireflies API'; this.documentationUrl = 'https://docs.fireflies.ai'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true, }, default: '', required: true, }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://api.fireflies.ai/graphql', url: '', method: 'POST', body: { query: `query ValidateCredentials { user { user_id } }`, }, }, rules: [ { type: 'responseSuccessBody', properties: { key: 'data.user.user_id', message: 'Invalid API key', value: 'auth_failed', }, }, ], }; } } exports.FirefliesApi = FirefliesApi; //# sourceMappingURL=FirefliesApi.credentials.js.map