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.9 KB
Raw Blame
import { createPiece } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/pieces-framework';
import { folkAuth } from './lib/common/auth';
import { companyAdded } from './lib/triggers/company-added';
import { companyRemoved } from './lib/triggers/company-removed';
import { companyUpdated } from './lib/triggers/company-updated';
import { companyCustomFieldUpdated } from './lib/triggers/company-custom-field-updated';
import { personAdded } from './lib/triggers/person-added';
import { personRemoved } from './lib/triggers/person-removed';
import { personUpdated } from './lib/triggers/person-updated';
import { personCustomFieldUpdated } from './lib/triggers/person-custom-field-updated';
import { createCompany } from './lib/actions/create-company';
import { updateCompany } from './lib/actions/update-company';
import { createPerson } from './lib/actions/create-person';
import { updatePerson } from './lib/actions/update-person';
import { findCompany } from './lib/actions/find-company';
import { getCompany } from './lib/actions/get-company';
import { findPerson } from './lib/actions/find-person';
import { getPerson } from './lib/actions/get-person';

export const folk = createPiece({
  displayName: 'Folk',
  auth: folkAuth,
  minimumSupportedRelease: '0.36.1',
  logoUrl: 'https://cdn.activepieces.com/pieces/folk.png',
  authors: ['sparkybug'],
  categories: [PieceCategory.SALES_AND_CRM],
  description:
    'Folk is a CRM for building relationships at scale. Manage your contacts, companies, and relationships in one place.',
  actions: [
    createCompany,
    updateCompany,
    createPerson,
    updatePerson,
    findCompany,
    getCompany,
    findPerson,
    getPerson,
  ],
  triggers: [
    companyAdded,
    companyRemoved,
    companyUpdated,
    companyCustomFieldUpdated,
    personAdded,
    personRemoved,
    personUpdated,
    personCustomFieldUpdated,
  ],
});