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

35 lines
1.2 KiB
TypeScript

import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
import { askQuestion } from './lib/actions/ask-question';
import { addPage } from './lib/actions/add-page';
import { addTag } from './lib/actions/add-tag';
import { removeTag } from './lib/actions/remove-tag';
import { newUserMessage } from './lib/triggers/new-user-message';
export const wonderchatAuth = PieceAuth.SecretText({
displayName: 'API Key',
description: `
1. Log in to your Wonderchat account.
2. Click on your **Profile card**.
2. Go to your **User settings**.
3. Click on the the **API keys** tab.
3. If you already have a key, copy it, if not generate one.
`,
required: true,
});
export const wonderchat = createPiece({
displayName: 'Wonderchat',
description:
'Wonderchat is a no-code chatbot platform that lets you deploy AI-powered chatbots for websites quickly.',
auth: wonderchatAuth,
minimumSupportedRelease: '0.36.1',
logoUrl: 'https://cdn.activepieces.com/pieces/wonderchat.png',
categories: [
PieceCategory.ARTIFICIAL_INTELLIGENCE,
],
authors: ['devroy10', 'sanket-a11y'],
actions: [askQuestion, addPage, addTag, removeTag],
triggers: [newUserMessage],
});