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:
poduck
2025-12-18 22:59:37 -05:00
parent 9848268d34
commit 3aa7199503
16292 changed files with 1284892 additions and 4708 deletions

View File

@@ -0,0 +1,8 @@
{
"Gravity Forms": "Gravity Forms",
"Build and publish your WordPress forms": "Build and publish your WordPress forms",
"New Submission": "New Submission",
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Erstellen und veröffentlichen Sie Ihre WordPress-Formulare",
"New Submission": "Neue Einreichung",
"Triggers when form receives a new submission": "Auslöser wenn Formular eine neue Einreichung erhält",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Gehen Sie zum \"Plugins\"-Abschnitt.\n- Suchen und klicken Sie auf das \"Webhook\" Plugin, um es zu aktivieren.\n- Jetzt suchen Sie das Formular, in dem der Trigger auftreten soll.\n- Fügen Sie diesem Formular einen Webhook hinzu.\n- In den Webhook Einstellungen, füge diese URL ein: \n ```text\n {{webhookUrl}}\n ```\n\n- Behalte die anderen Einstellungen unverändert (Standard).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Construye y publica tus formularios WordPress",
"New Submission": "Nuevo envío",
"Triggers when form receives a new submission": "Dispara cuando el formulario recibe un nuevo envío",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Créez et publiez vos formulaires WordPress",
"New Submission": "Nouvelle soumission",
"Triggers when form receives a new submission": "Déclenche lorsque le formulaire reçoit une nouvelle soumission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,8 @@
{
"Gravity Forms": "Gravity Forms",
"Build and publish your WordPress forms": "Build and publish your WordPress forms",
"New Submission": "New Submission",
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,8 @@
{
"Gravity Forms": "Gravity Forms",
"Build and publish your WordPress forms": "Build and publish your WordPress forms",
"New Submission": "New Submission",
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "WordPressのフォームを構築して公開する",
"New Submission": "新しい提出",
"Triggers when form receives a new submission": "フォームが新しい提出物を受け取ったときにトリガー",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Bouw en publiceer uw WordPress formulieren",
"New Submission": "Nieuwe inzending",
"Triggers when form receives a new submission": "Triggert wanneer het formulier een nieuwe uitwerking ontvangt",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Ga naar de \"Plug-ins\" sectie.\n- Zoek en klik op de \"Webhook\" plugin om deze te activeren.\n- Zoek nu het formulier waar de trigger zich voordoet.\n- Voeg een webhook toe aan dat formulier.\n- In de webhook instellingen, plak deze URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Houd de andere instellingen ongewijzigd (standaard).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Crie e publique seus formulários do WordPress",
"New Submission": "Nova Submissão",
"Triggers when form receives a new submission": "Gatilhos quando o formulário receber uma nova submissão",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,8 @@
{
"Gravity Forms": "Формы гравитации",
"Build and publish your WordPress forms": "Создать и опубликовать ваши формы WordPress",
"New Submission": "Новая заявка",
"Triggers when form receives a new submission": "Триггеры, когда форма получает новую справку",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- перейдите в раздел \"Плагины\".\n- Найдите и нажмите на плагин \"Webhook\" для его активации.\n- Теперь найдите форму, в которой вы хотите, чтобы произошел триггер.\n- Добавить вебхук к этой форме.\n- В настройках webhook, вставьте этот URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Держите остальные настройки неизменными (по умолчанию).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Build and publish your WordPress forms",
"New Submission": "New Submission",
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,8 @@
{
"Gravity Forms": "Gravity Forms",
"Build and publish your WordPress forms": "Build and publish your WordPress forms",
"New Submission": "New Submission",
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,7 @@
{
"Build and publish your WordPress forms": "Build and publish your WordPress forms",
"New Submission": "New Submission",
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
"Markdown": "Markdown",
"\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n": "\n- Go to the \"Plugins\" section.\n- Find and click on the \"Webhook\" plugin to activate it.\n- Now, locate the form where you want the trigger to occur.\n- Add a webhook to that form.\n- In the webhook settings, paste this URL: \n ```text\n {{webhookUrl}}\n ```\n\n- Keep the other settings unchanged (default).\n"
}

View File

@@ -0,0 +1,16 @@
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
import { gravityFormsNewSubmission } from './lib/triggers/new-submission';
export const gravityforms = createPiece({
displayName: 'Gravity Forms',
description: 'Build and publish your WordPress forms',
auth: PieceAuth.None(),
minimumSupportedRelease: '0.27.1',
logoUrl: 'https://cdn.activepieces.com/pieces/gravityforms.svg',
authors: ["Abdallah-Alwarawreh","kishanprmr","MoShizzle","abuaboud"],
categories: [PieceCategory.FORMS_AND_SURVEYS],
actions: [],
triggers: [gravityFormsNewSubmission],
});

View File

@@ -0,0 +1,42 @@
import {
createTrigger,
PieceAuth,
Property,
TriggerStrategy,
} from '@activepieces/pieces-framework';
const markdown = `
- Go to the "Plugins" section.
- Find and click on the "Webhook" plugin to activate it.
- Now, locate the form where you want the trigger to occur.
- Add a webhook to that form.
- In the webhook settings, paste this URL:
\`\`\`text
{{webhookUrl}}
\`\`\`
- Keep the other settings unchanged (default).
`;
export const gravityFormsNewSubmission = createTrigger({
name: 'new-submission',
displayName: 'New Submission',
auth: PieceAuth.None(),
description: 'Triggers when form receives a new submission',
props: {
md: Property.MarkDown({
value: markdown,
}),
},
type: TriggerStrategy.WEBHOOK,
sampleData: {},
async onEnable(context) {
// Empty
},
async onDisable(context) {
// Empty
},
async run(context) {
return [context.payload];
},
});