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,9 @@
{
"YouTube Transcripts": "YouTube Transkripte",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nUm deinen Gistly API-Schlüssel zu erhalten, melde dich bei [Gistly](https://gist.ly/youtube-transcript-api) an und kopiere dann den Schlüssel in der [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Ruft das Transkript eines YouTube-Videos ab.",
"YouTube URL": "YouTube-URL",
"Merge Text": "Text zusammenführen",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "Wenn aktiviert, wird das Transkript in einem einzigen Text zusammengeführt, anstatt in Zeitstempeln zusammengefasst."
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "Transcripciones de YouTube",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Obtiene la transcripción de un vídeo de YouTube.",
"YouTube URL": "URL de YouTube",
"Merge Text": "Unir texto",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "Si es verdadero, la transcripción se fusionará en un solo texto en lugar de trozos con marca de tiempo."
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "Transcriptions YouTube",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Récupère la transcription d'une vidéo YouTube.",
"YouTube URL": "URL YouTube",
"Merge Text": "Fusionner le texte",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "Si activé, la transcription sera fusionnée en un seul texte au lieu de chunks horodatés."
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "YouTubeトランスクリプト",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "YouTube動画の記録を取得します。",
"YouTube URL": "YouTube URL",
"Merge Text": "テキストを結合",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "true の場合、トランスクリプトはタイムスタンプされたチャンクの代わりに1つのテキストにマージされます。"
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "YouTube transscripts",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nOm je gratis API Key te verkrijgen, meld je aan bij [Gistly](https://gist.ly/youtube-transcript-api) en kopieer vervolgens de sleutel die beschikbaar is in de [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Haalt het transcript van een YouTube video.",
"YouTube URL": "YouTube URL",
"Merge Text": "Tekst samenvoegen",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "Als het waar is, zal het transcript worden samengevoegd tot één tekst in plaats van getimestreerde chunks."
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "Transcrições do YouTube",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Obtém a transcrição de um vídeo do YouTube.",
"YouTube URL": "URL do YouTube",
"Merge Text": "Mesclar Texto",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "Se verdadeiro, a transcrição será mesclada em um único texto ao invés de pedaços de tempo."
}

View File

@@ -0,0 +1,10 @@
{
"Gistly": "Свирепый",
"YouTube Transcripts": "Транскрипты YouTube",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Извлекает субтитры видео YouTube.",
"YouTube URL": "YouTube URL",
"Merge Text": "Объединить текст",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "Если установлено значение true, субтитры будут объединены в один текст вместо отмеченных времени чанков."
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "YouTube Transcripts",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Fetches transcript of a YouTube video.",
"YouTube URL": "YouTube URL",
"Merge Text": "Merge Text",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "If true, the transcript will be merged into a single text instead of timestamped chunks."
}

View File

@@ -0,0 +1,10 @@
{
"Gistly": "Gistly",
"YouTube Transcripts": "YouTube Transcripts",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Fetches transcript of a YouTube video.",
"YouTube URL": "YouTube URL",
"Merge Text": "Merge Text",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "If true, the transcript will be merged into a single text instead of timestamped chunks."
}

View File

@@ -0,0 +1,9 @@
{
"YouTube Transcripts": "YouTube Transcripts",
"\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n": "\nTo obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).\n",
"Get Transcript": "Get Transcript",
"Fetches transcript of a YouTube video.": "Fetches transcript of a YouTube video.",
"YouTube URL": "YouTube URL",
"Merge Text": "Merge Text",
"If true, the transcript will be merged into a single text instead of timestamped chunks.": "If true, the transcript will be merged into a single text instead of timestamped chunks."
}

View File

@@ -0,0 +1,46 @@
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { getTranscriptAction } from './lib/actions/get-transcript';
import { PieceCategory } from '@activepieces/shared';
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
import { gistlyConfig } from './lib/config';
const markdownDescription = `
To obtain your free Gistly API Key, sign up at [Gistly](https://gist.ly/youtube-transcript-api) and then copy the key available in the [dashboard](https://api-portal.gist.ly/).
`;
export const gistlyAuth = PieceAuth.SecretText({
description: markdownDescription,
displayName: 'API Key',
required: true,
validate: async (auth) => {
try {
await httpClient.sendRequest({
method: HttpMethod.GET,
url: `${gistlyConfig.baseUrl}/health`,
headers: {
[gistlyConfig.accessTokenHeaderKey]: auth.auth,
},
});
return {
valid: true,
};
} catch (e) {
return {
valid: false,
error: 'Invalid API Key.',
};
}
},
});
export const gistly = createPiece({
displayName: 'Gistly',
auth: gistlyAuth,
minimumSupportedRelease: '0.30.0',
logoUrl: 'https://cdn.activepieces.com/pieces/gistly.svg',
authors: ['rafalzawadzki'],
categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE, PieceCategory.DEVELOPER_TOOLS, PieceCategory.CONTENT_AND_FILES],
description: 'YouTube Transcripts',
actions: [getTranscriptAction],
triggers: [],
});

View File

@@ -0,0 +1,39 @@
import { createAction, Property } from '@activepieces/pieces-framework';
import { HttpMethod, httpClient } from '@activepieces/pieces-common';
import { gistlyAuth } from '../..';
import { gistlyConfig } from '../config';
export const getTranscriptAction = createAction({
name: 'get_transcript',
displayName: 'Get Transcript',
description: 'Fetches transcript of a YouTube video.',
auth: gistlyAuth,
props: {
url: Property.ShortText({
displayName: 'YouTube URL',
required: true,
}),
text: Property.Checkbox({
displayName: 'Merge Text',
description: 'If true, the transcript will be merged into a single text instead of timestamped chunks.',
required: false,
defaultValue: true,
}),
},
async run(context) {
const { url, text } = context.propsValue;
const response = await httpClient.sendRequest({
method: HttpMethod.GET,
url: `${gistlyConfig.baseUrl}/youtube/transcript`,
headers: {
[gistlyConfig.accessTokenHeaderKey]: context.auth.secret_text,
},
queryParams: {
url,
text: text ? 'true' : 'false',
},
});
return response.body;
},
});

View File

@@ -0,0 +1,4 @@
export const gistlyConfig = {
baseUrl: 'https://api.gist.ly',
accessTokenHeaderKey: 'x-api-key',
};