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,39 @@
|
||||
import { createPiece } from '@activepieces/pieces-framework';
|
||||
import { SoftrAuth } from './lib/common/auth';
|
||||
import { createDatabaseRecord } from './lib/actions/create-database-record';
|
||||
import { createAppUser } from './lib/actions/create-app-user';
|
||||
import { deleteAppUser } from './lib/actions/delete-app-user';
|
||||
import { deleteDatabaseRecord } from './lib/actions/delete-database-record';
|
||||
import { findDatabaseRecord } from './lib/actions/find-database-record';
|
||||
import { updateDatabaseRecord } from './lib/actions/update-database-record';
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { BASE_URL } from './lib/common/client';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { newDatabaseRecord } from './lib/triggers/new-database-record';
|
||||
|
||||
export const softr = createPiece({
|
||||
displayName: 'Softr',
|
||||
auth: SoftrAuth,
|
||||
minimumSupportedRelease: '0.36.1',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/softr.png',
|
||||
categories:[PieceCategory.CONTENT_AND_FILES,PieceCategory.PRODUCTIVITY],
|
||||
authors: ['Sanket6652'],
|
||||
actions: [
|
||||
createAppUser,
|
||||
createDatabaseRecord,
|
||||
deleteAppUser,
|
||||
deleteDatabaseRecord,
|
||||
findDatabaseRecord,
|
||||
updateDatabaseRecord,
|
||||
createCustomApiCallAction({
|
||||
auth:SoftrAuth,
|
||||
baseUrl:()=>BASE_URL,
|
||||
authMapping:async (auth)=>{
|
||||
return{
|
||||
'Softr-Api-Key':auth.secret_text
|
||||
}
|
||||
}
|
||||
})
|
||||
],
|
||||
triggers: [newDatabaseRecord],
|
||||
});
|
||||
Reference in New Issue
Block a user