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 { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { dripAddSubscriberToCampaign } from './lib/actions/add-subscriber-to-campaign.action';
|
||||
import { dripApplyTagToSubscriber } from './lib/actions/apply-tag-to-subscriber.action';
|
||||
import { dripUpsertSubscriberAction } from './lib/actions/upsert-subscriber.action';
|
||||
import { dripNewSubscriberEvent } from './lib/trigger/new-subscriber.trigger';
|
||||
import { dripTagAppliedEvent } from './lib/trigger/new-tag.trigger';
|
||||
|
||||
export const dripAuth = PieceAuth.SecretText({
|
||||
displayName: 'API Key',
|
||||
required: true,
|
||||
description: 'Get it from https://www.getdrip.com/user/edit',
|
||||
});
|
||||
|
||||
export const drip = createPiece({
|
||||
displayName: 'Drip',
|
||||
description: 'E-commerce CRM for B2B marketers',
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/drip.png',
|
||||
authors: ["kishanprmr","MoShizzle","AbdulTheActivePiecer","khaledmashaly","abuaboud"],
|
||||
categories: [PieceCategory.MARKETING],
|
||||
auth: dripAuth,
|
||||
actions: [
|
||||
dripApplyTagToSubscriber,
|
||||
dripAddSubscriberToCampaign,
|
||||
dripUpsertSubscriberAction,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => `https://api.getdrip.com/v2/`,
|
||||
auth: dripAuth,
|
||||
authMapping: async (auth) => ({
|
||||
Authorization: `Basic ${Buffer.from(auth.secret_text).toString(
|
||||
'base64'
|
||||
)}`,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: [dripNewSubscriberEvent, dripTagAppliedEvent],
|
||||
});
|
||||
Reference in New Issue
Block a user