@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.
27 lines • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateMeetingChannel = updateMeetingChannel;
const transport_1 = require("../../transport");
const helpers_1 = require("../../helpers");
async function updateMeetingChannel(ef, index) {
try {
const transcriptId = ef.getNodeParameter('transcriptId', index);
const channelId = ef.getNodeParameter('channelId', index);
const response = await transport_1.callGraphQLApi.call(ef, helpers_1.updateMeetingChannelMutation, {
input: { id: transcriptId, channel_id: channelId },
});
return {
json: {
success: true,
data: response.updateMeetingChannel,
},
};
}
catch (error) {
const errorResponse = (0, helpers_1.handleOperationError)(ef.getNode(), error, ef.continueOnFail(), 'updateMeetingChannel');
return {
json: errorResponse,
};
}
}
//# sourceMappingURL=updateMeetingChannel.js.map