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,64 @@
|
||||
import {
|
||||
createPiece,
|
||||
PieceAuth,
|
||||
Property,
|
||||
} from '@activepieces/pieces-framework';
|
||||
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { bubbleCreateThingAction } from './lib/actions/create-thing';
|
||||
import { bubbleDeleteThingAction } from './lib/actions/delete-thing';
|
||||
import { bubbleGetThingAction } from './lib/actions/get-thing';
|
||||
import { bubbleListThingsAction } from './lib/actions/list-things';
|
||||
import { bubbleUpdateThingAction } from './lib/actions/update-thing';
|
||||
|
||||
export const bubbleAuth = PieceAuth.CustomAuth({
|
||||
description: `Enter Bubble Connection Details
|
||||
In the bubble editor click Settings > API
|
||||
1. Your app name is https://appname.bubbleapps.io
|
||||
2. Enter/Generate an API key
|
||||
`,
|
||||
props: {
|
||||
appname: Property.ShortText({
|
||||
displayName: 'App name',
|
||||
description: 'Enter the app name',
|
||||
required: true,
|
||||
}),
|
||||
token: PieceAuth.SecretText({
|
||||
displayName: 'API Token',
|
||||
description: 'Enter the access token',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
// Optional Validation
|
||||
validate: async ({ auth }) => {
|
||||
if (auth) {
|
||||
return {
|
||||
valid: true,
|
||||
};
|
||||
}
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Please enter a valid app name and token',
|
||||
};
|
||||
},
|
||||
required: true,
|
||||
});
|
||||
|
||||
export const bubble = createPiece({
|
||||
displayName: 'Bubble',
|
||||
description: 'No-code platform for web and mobile apps',
|
||||
|
||||
auth: PieceAuth.None(),
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/bubble.png',
|
||||
categories: [PieceCategory.DEVELOPER_TOOLS],
|
||||
authors: ["TaskMagicKyle","kishanprmr","abuaboud"],
|
||||
actions: [
|
||||
bubbleCreateThingAction,
|
||||
bubbleDeleteThingAction,
|
||||
bubbleUpdateThingAction,
|
||||
bubbleGetThingAction,
|
||||
bubbleListThingsAction,
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
Reference in New Issue
Block a user