Files
smoothschedule/activepieces-fork/packages/pieces/community/agentx/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

24 lines
1.1 KiB
TypeScript

import { createPiece, PieceAuth } from "@activepieces/pieces-framework";
import { createConversationWithSingleAgent } from "./lib/actions/create-conversation-with-single-agent";
import { sendMessageToExistingConversation } from "./lib/actions/send-message-to-existing-conversation";
import { findMessage } from "./lib/actions/find-message";
import { searchAgents } from "./lib/actions/search-agents";
import { findConversation } from "./lib/actions/find-conversation";
import { newAgent } from "./lib/triggers/new-agent";
import { newConversation } from "./lib/triggers/new-conversation";
import { AgentXAuth } from "./lib/common/auth";
import { PieceCategory } from "@activepieces/shared";
export const agentx = createPiece({
displayName: "AgentX",
auth: AgentXAuth,
minimumSupportedRelease: '0.36.1',
categories:[PieceCategory.ARTIFICIAL_INTELLIGENCE],
logoUrl: "https://cdn.activepieces.com/pieces/agentx.png",
authors: ['Niket2035','sanket-a11y'],
actions: [createConversationWithSingleAgent, sendMessageToExistingConversation, findMessage, searchAgents,findConversation],
triggers: [newAgent,newConversation],
});