Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

1.1 KB
Raw Blame
import { createPiece } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/pieces-framework';
import { recallAiAuth } from './lib/common/auth';
import { createBot } from './lib/actions/create-bot';
import { retrieveBot } from './lib/actions/retrieve-bot';
import { sendChatMessage } from './lib/actions/send-chat-message';
import { createCustomApiCallAction } from '@activepieces/pieces-common';

export const recallAi = createPiece({
  displayName: 'Recall.ai',
  auth: recallAiAuth,
  minimumSupportedRelease: '0.36.1',
  logoUrl: 'https://cdn.activepieces.com/pieces/recall-ai.png',
  categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],
  authors: ['sanket-a11y'],
  actions: [
    createBot,
    retrieveBot,
    sendChatMessage,
    createCustomApiCallAction({
      auth: recallAiAuth,
      baseUrl: (auth) => {
        return `${(auth)?.props.server as string}/api/v1`;
      },
      authMapping: async (auth) => {
        return {
          Authorization: `${auth.props.api_key}`,
        };
      },
    }),
  ],
  triggers: [],
});