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,18 @@
|
||||
{
|
||||
"extends": ["../../../../.eslintrc.json"],
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# pieces-tally
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Building
|
||||
|
||||
Run `nx build pieces-tally` to build the library.
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "@activepieces/piece-tally",
|
||||
"version": "0.1.9"
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"name": "pieces-tally",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "packages/pieces/community/tally/src",
|
||||
"projectType": "library",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
],
|
||||
"options": {
|
||||
"outputPath": "dist/packages/pieces/community/tally",
|
||||
"tsConfig": "packages/pieces/community/tally/tsconfig.lib.json",
|
||||
"packageJson": "packages/pieces/community/tally/package.json",
|
||||
"main": "packages/pieces/community/tally/src/index.ts",
|
||||
"assets": [
|
||||
"packages/pieces/community/tally/*.md",
|
||||
{
|
||||
"input": "packages/pieces/community/tally/src/i18n",
|
||||
"output": "./src/i18n",
|
||||
"glob": "**/!(i18n.json)"
|
||||
}
|
||||
],
|
||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
||||
"updateBuildableProjectDepsInPackageJson": true
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"prebuild"
|
||||
]
|
||||
},
|
||||
"publish": {
|
||||
"command": "node tools/scripts/publish.mjs pieces-tally {args.ver} {args.tag}",
|
||||
"dependsOn": [
|
||||
"build"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
]
|
||||
},
|
||||
"prebuild": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"cwd": "packages/pieces/community/tally",
|
||||
"command": "bun install --no-save --silent"
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Tally": "Tally",
|
||||
"Receive form submissions from Tally forms": "Receive form submissions from Tally forms",
|
||||
"New Submission": "New Submission",
|
||||
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Formulareinreichungen von Tally Formularen erhalten",
|
||||
"New Submission": "Neue Einreichung",
|
||||
"Triggers when form receives a new submission": "Auslöser wenn Formular eine neue Einreichung erhält",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nUm den Trigger für neue Formulareinreichungen einzurichten, folgen Sie diesen Schritten:\n. Gehen Sie zum Dashboard-Abschnitt.\n2. Wählen Sie das Formular aus, in dem der Trigger auftreten soll.\n3. Klicken Sie auf den Abschnitt \"Integration\".\nFinde die \"Webhooks\" Integration und klicke auf \"Verbinden\", um sie zu aktivieren.\nIn den Webhook Einstellungen, füge die folgende URL ein: \n ```text\n {{webhookUrl}}\n ```\n\n \n 6. Klicken Sie auf \"Absenden\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Recibir envíos de formularios de Tally",
|
||||
"New Submission": "Nuevo envío",
|
||||
"Triggers when form receives a new submission": "Dispara cuando el formulario recibe un nuevo envío",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Recevoir des soumissions de formulaires à partir de formulaires de consignation",
|
||||
"New Submission": "Nouvelle soumission",
|
||||
"Triggers when form receives a new submission": "Déclenche lorsque le formulaire reçoit une nouvelle soumission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Tally": "Tally",
|
||||
"Receive form submissions from Tally forms": "Receive form submissions from Tally forms",
|
||||
"New Submission": "New Submission",
|
||||
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Tally": "Tally",
|
||||
"Receive form submissions from Tally forms": "Receive form submissions from Tally forms",
|
||||
"New Submission": "New Submission",
|
||||
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Tally フォームからフォームの提出を受信する",
|
||||
"New Submission": "新しい提出",
|
||||
"Triggers when form receives a new submission": "フォームが新しい提出物を受け取ったときにトリガー",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Ontvang formulierinzendingen van Tally formulieren",
|
||||
"New Submission": "Nieuwe inzending",
|
||||
"Triggers when form receives a new submission": "Triggert wanneer het formulier een nieuwe uitwerking ontvangt",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nOm de trigger voor nieuwe formulierinzendingen in te stellen, volg je deze stappen:\n. Ga naar het \"Dashboard\" gedeelte.\n2. Selecteer het formulier waar de trigger zich moet voordoen.\n3. Klik op de \"Integraties\" sectie.\n4. Zoek de integratie \"Webhooks\" en klik op \"Verbinden\" om het te activeren.\n5. In de webhook instellingen, plak de volgende URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n 6. Klik op \"Verzenden\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Receber envios de formulário de formulários de Tally",
|
||||
"New Submission": "Nova Submissão",
|
||||
"Triggers when form receives a new submission": "Gatilhos quando o formulário receber uma nova submissão",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Tally": "Талли",
|
||||
"Receive form submissions from Tally forms": "Получать сообщения формы из Талллли форм",
|
||||
"New Submission": "Новая заявка",
|
||||
"Triggers when form receives a new submission": "Триггеры, когда форма получает новую справку",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Receive form submissions from Tally forms",
|
||||
"New Submission": "New Submission",
|
||||
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Tally": "Tally",
|
||||
"Receive form submissions from Tally forms": "Receive form submissions from Tally forms",
|
||||
"New Submission": "New Submission",
|
||||
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Receive form submissions from Tally forms": "Receive form submissions from Tally forms",
|
||||
"New Submission": "New Submission",
|
||||
"Triggers when form receives a new submission": "Triggers when form receives a new submission",
|
||||
"Markdown": "Markdown",
|
||||
"\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n": "\nTo set up the trigger for new form submissions, follow these steps:\n\n1. Go to the \"Dashboard\" section.\n2. Select the form where you want the trigger to occur.\n3. Click on the \"Integrations\" section.\n4. Find the \"Webhooks\" integration and click on \"Connect\" to activate it.\n5. In the webhook settings, paste the following URL: \n ```text\n {{webhookUrl}}\n ```\n\n \n6. Click on \"Submit\".\n"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { tallyFormsNewSubmission } from './lib/triggers/new-submission';
|
||||
export const tally = createPiece({
|
||||
displayName: 'Tally',
|
||||
description: 'Receive form submissions from Tally forms',
|
||||
auth: PieceAuth.None(),
|
||||
minimumSupportedRelease: '0.27.1',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/tally.png',
|
||||
categories: [PieceCategory.FORMS_AND_SURVEYS],
|
||||
authors: ["kishanprmr","abuaboud"],
|
||||
actions: [],
|
||||
triggers: [tallyFormsNewSubmission],
|
||||
});
|
||||
@@ -0,0 +1,45 @@
|
||||
import {
|
||||
createTrigger,
|
||||
PieceAuth,
|
||||
Property,
|
||||
TriggerStrategy,
|
||||
} from '@activepieces/pieces-framework';
|
||||
|
||||
const markdown = `
|
||||
To set up the trigger for new form submissions, follow these steps:
|
||||
|
||||
1. Go to the "Dashboard" section.
|
||||
2. Select the form where you want the trigger to occur.
|
||||
3. Click on the "Integrations" section.
|
||||
4. Find the "Webhooks" integration and click on "Connect" to activate it.
|
||||
5. In the webhook settings, paste the following URL:
|
||||
\`\`\`text
|
||||
{{webhookUrl}}
|
||||
\`\`\`
|
||||
|
||||
|
||||
6. Click on "Submit".
|
||||
`;
|
||||
|
||||
export const tallyFormsNewSubmission = 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: undefined,
|
||||
async onEnable(context) {
|
||||
// Empty
|
||||
},
|
||||
async onDisable(context) {
|
||||
// Empty
|
||||
},
|
||||
async run(context) {
|
||||
return [context.payload.body];
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"noImplicitOverride": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
},
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lib.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"outDir": "../../../../dist/out-tsc",
|
||||
"declaration": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user