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,7 @@
{
"JSON": "JSON",
"Convert JSON to text and vice versa": "Convert JSON to text and vice versa",
"Convert Json to Text": "Convert Json to Text",
"Convert Text to Json": "Convert Text to Json",
"Text": "Text"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "JSON in Text und umgekehrt umwandeln",
"Convert Json to Text": "Json in Text umwandeln",
"Convert Text to Json": "Text in Json konvertieren",
"Stringifies JSON.": "Stringifies JSON.",
"Parses text into JSON.": "Analysiert Text in JSON.",
"JSON": "JSON",
"Text": "Text"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "Convierte JSON a texto y viceversa",
"Convert Json to Text": "Convertir Json a Texto",
"Convert Text to Json": "Convertir texto a Json",
"Stringifies JSON.": "Cadena JSON.",
"Parses text into JSON.": "Analiza el texto en JSON.",
"JSON": "JSON",
"Text": "Texto"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "Convertir JSON en texte et vice versa",
"Convert Json to Text": "Convertir Json en texte",
"Convert Text to Json": "Convertir le texte en Json",
"Stringifies JSON.": "Stringifies JSON.",
"Parses text into JSON.": "Analyse du texte en JSON.",
"JSON": "JSON",
"Text": "Texte du texte"
}

View File

@@ -0,0 +1,7 @@
{
"JSON": "JSON",
"Convert JSON to text and vice versa": "Convert JSON to text and vice versa",
"Convert Json to Text": "Convert Json to Text",
"Convert Text to Json": "Convert Text to Json",
"Text": "Text"
}

View File

@@ -0,0 +1,7 @@
{
"JSON": "JSON",
"Convert JSON to text and vice versa": "Convert JSON to text and vice versa",
"Convert Json to Text": "Convert Json to Text",
"Convert Text to Json": "Convert Text to Json",
"Text": "Text"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "JSONをテキストに、そしてその逆に変換する",
"Convert Json to Text": "Jsonをテキストに変換する",
"Convert Text to Json": "テキストをJsonに変換する",
"Stringifies JSON.": "JSON を文字列化します。",
"Parses text into JSON.": "テキストを JSON に解析します。",
"JSON": "JSON",
"Text": "テキスト"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "JSON converteren naar tekst en vice versa",
"Convert Json to Text": "Json converteren naar tekst",
"Convert Text to Json": "Tekst converteren naar Json",
"Stringifies JSON.": "Stringificeert JSON.",
"Parses text into JSON.": "Parseert tekst in JSON.",
"JSON": "JSON",
"Text": "Tekstveld"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "Converter JSON em texto e vice-versa",
"Convert Json to Text": "Converter Json para texto",
"Convert Text to Json": "Converter texto para Json",
"Stringifies JSON.": "Stringifica JSON.",
"Parses text into JSON.": "Analisa texto em JSON.",
"JSON": "JSON",
"Text": "texto"
}

View File

@@ -0,0 +1,7 @@
{
"JSON": "JSON",
"Convert JSON to text and vice versa": "Преобразовать JSON в текст и наоборот",
"Convert Json to Text": "Конвертировать Json в текст",
"Convert Text to Json": "Преобразовать текст в Json",
"Text": "Текст"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "Convert JSON to text and vice versa",
"Convert Json to Text": "Convert Json to Text",
"Convert Text to Json": "Convert Text to Json",
"Stringifies JSON.": "Stringifies JSON.",
"Parses text into JSON.": "Parses text into JSON.",
"JSON": "JSON",
"Text": "Text"
}

View File

@@ -0,0 +1,7 @@
{
"JSON": "JSON",
"Convert JSON to text and vice versa": "Convert JSON to text and vice versa",
"Convert Json to Text": "Convert Json to Text",
"Convert Text to Json": "Convert Text to Json",
"Text": "Text"
}

View File

@@ -0,0 +1,9 @@
{
"Convert JSON to text and vice versa": "Convert JSON to text and vice versa",
"Convert Json to Text": "Convert Json to Text",
"Convert Text to Json": "Convert Text to Json",
"Stringifies JSON.": "Stringifies JSON.",
"Parses text into JSON.": "Parses text into JSON.",
"JSON": "JSON",
"Text": "文本"
}

View File

@@ -0,0 +1,21 @@
import { createPiece, PieceAuth } from "@activepieces/pieces-framework";
import { convertTextToJson } from "./lib/actions/convert-text-to-json";
import { convertJsonToText } from "./lib/actions/convert-json-to-text";
export const jsonAuth = PieceAuth.SecretText({
displayName: 'API Key',
required: true,
description: 'Please use **test-key** as value for API Key',
});
export const json = createPiece({
displayName: "JSON",
description: "Convert JSON to text and vice versa",
auth: PieceAuth.None(),
minimumSupportedRelease: '0.30.0',
logoUrl: "https://cdn.activepieces.com/pieces/json.svg",
authors: ["leenmashni","abuaboud"],
actions: [convertJsonToText, convertTextToJson],
triggers: [],
});

View File

@@ -0,0 +1,19 @@
import { createAction, Property } from '@activepieces/pieces-framework';
export const convertJsonToText = createAction({
name: 'convert_json_to_text',
displayName: 'Convert Json to Text',
description: 'Stringifies JSON.',
props: {
json: Property.Json({
displayName: 'JSON',
defaultValue: {},
required: true,
}),
},
async run(context) {
const { json } = context.propsValue;
const result = JSON.stringify(json)
return result
},
});

View File

@@ -0,0 +1,19 @@
import { createAction, Property } from '@activepieces/pieces-framework';
export const convertTextToJson = createAction({
name: 'convert_text_to_json',
displayName: 'Convert Text to Json',
description: 'Parses text into JSON.',
props: {
text: Property.LongText({
displayName: 'Text',
defaultValue: '',
required: true,
}),
},
async run(context) {
const { text } = context.propsValue;
const result = JSON.parse(text)
return result
},
});