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,37 @@
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { createPiece, OAuth2PropertyValue } from '@activepieces/pieces-framework';
|
||||
import { createContact } from './lib/actions/create-contact';
|
||||
import { createContactFolder } from './lib/actions/create-contact-folder';
|
||||
import { deleteContact } from './lib/actions/delete-contact';
|
||||
import { getContactFolder } from './lib/actions/get-contact-folder';
|
||||
import { searchContacts } from './lib/actions/search-contacts';
|
||||
import { updateContact } from './lib/actions/update-contact';
|
||||
import { microsoft365PeopleAuth } from './lib/common/auth';
|
||||
import { newOrUpdatedContact } from './lib/triggers/new-or-updated-contact';
|
||||
|
||||
export const microsoft365People = createPiece({
|
||||
displayName: 'Microsoft 365 People',
|
||||
description: 'Manage contacts in Microsoft 365 People',
|
||||
auth: microsoft365PeopleAuth,
|
||||
minimumSupportedRelease: '0.36.1',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/microsoft-365-people.png',
|
||||
authors: ['LuizDMM'],
|
||||
actions: [
|
||||
createContact,
|
||||
deleteContact,
|
||||
updateContact,
|
||||
createContactFolder,
|
||||
getContactFolder,
|
||||
// Search Actions
|
||||
searchContacts,
|
||||
// Custom API call
|
||||
createCustomApiCallAction({
|
||||
auth: microsoft365PeopleAuth,
|
||||
baseUrl: () => 'https://graph.microsoft.com/v1.0/',
|
||||
authMapping: async (auth) => ({
|
||||
Authorization: `Bearer ${(auth as OAuth2PropertyValue).access_token}`,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: [newOrUpdatedContact],
|
||||
});
|
||||
Reference in New Issue
Block a user