Files
smoothschedule/activepieces-fork/packages/pieces/community/folk/src/index.ts
poduck 3aa7199503 Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece
- Create integrations app with Activepieces service layer
- Add embed token endpoint for iframe integration
- Create Automations page with embedded workflow builder
- Add sidebar visibility fix for embed mode
- Add list inactive customers endpoint to Public API
- Include SmoothSchedule triggers: event created/updated/cancelled
- Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 22:59:37 -05:00

51 lines
1.9 KiB
TypeScript

import { createPiece } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
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,
],
});