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.

24 lines 827 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getThread = getThread; const transport_1 = require("../../transport"); const helpers_1 = require("../../helpers"); async function getThread(ef, index) { try { const threadId = ef.getNodeParameter('threadId', index); const response = await transport_1.callGraphQLApi.call(ef, helpers_1.getAskFredThreadQuery, { id: threadId }); return { json: { success: true, data: response.askfred_thread, }, }; } catch (error) { const errorResponse = (0, helpers_1.handleOperationError)(ef.getNode(), error, ef.continueOnFail(), 'getThread'); return { json: errorResponse, }; } } //# sourceMappingURL=getThread.js.map