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.8 KB
Raw Blame
import {
  createPiece,
  PieceAuth,
} from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/pieces-framework';
import { makeCallAction } from './lib/actions/make-call';
import { getCallDetailsAction } from './lib/actions/get-call-details';
import { addContactToListAction } from './lib/actions/add-contact-to-list';
import { createContactListAction } from './lib/actions/create-contact-list';
import { createCampaignAction } from './lib/actions/create-campaign';
import { deleteCampaignAction } from './lib/actions/delete-campaign';
import { callEventsTrigger } from './lib/triggers/call-events';
import { getContactsFromListAction } from './lib/actions/get-contacts-from-list';
import { editContactListAction } from './lib/actions/edit-contact-list';

const authDescription = `
Follow these steps to obtain your Kallbot API Key:

1. Go to [Kallabot](https://kallabot.com/) and log in to your account.
2. Click on your profile picture in the top right corner.
3. Select **Settings** from the dropdown menu.
4. Navigate to the **API & Integrations** tab.
5. Copy the generated API key and paste it here.
`;

export const kallabotAuth = PieceAuth.SecretText({
  description: authDescription,
  displayName: 'API Key',
  required: true
});

export const kallabotAi = createPiece({
  displayName: 'Kallabot',
  minimumSupportedRelease: '0.36.1',
  logoUrl: 'https://cdn.activepieces.com/pieces/kallabot-ai.png',
  categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],
  authors: ['abdulrahmanmajid'],
  auth: kallabotAuth,
  actions: [
    makeCallAction, 
    getCallDetailsAction, 
    getContactsFromListAction,
    editContactListAction,
    addContactToListAction, 
    createContactListAction, 
    createCampaignAction,
    deleteCampaignAction
  ],
  triggers: [callEventsTrigger],
  description: 'AI-powered voice agents and conversational interfaces.',
});