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>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import { createPiece } from '@activepieces/pieces-framework';
|
||||
import { generatePresentations } from './lib/actions/generate-presentations';
|
||||
|
||||
import { presentonAuth } from './lib/common/auth';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { newPresentation } from './lib/triggers/new-presentation';
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
|
||||
export const presentation = createPiece({
|
||||
displayName: 'Presenton',
|
||||
description:
|
||||
'Generate AI-powered presentations using Presenton (https://presenton.ai). Supports templates, themes, images, synchronous and asynchronous generation, status polling, and export to PPTX/PDF.',
|
||||
auth: presentonAuth,
|
||||
minimumSupportedRelease: '0.36.1',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/presenton.png',
|
||||
categories: [
|
||||
PieceCategory.ARTIFICIAL_INTELLIGENCE,
|
||||
PieceCategory.CONTENT_AND_FILES,
|
||||
],
|
||||
authors: ['sanket-a11y'],
|
||||
actions: [
|
||||
generatePresentations,
|
||||
createCustomApiCallAction({
|
||||
auth: presentonAuth,
|
||||
baseUrl: () => 'https://api.presenton.ai/api/v1',
|
||||
authMapping: async (auth) => {
|
||||
return {
|
||||
Authorization: `Bearer ${auth.secret_text}`,
|
||||
};
|
||||
},
|
||||
}),
|
||||
],
|
||||
triggers: [newPresentation],
|
||||
});
|
||||
Reference in New Issue
Block a user