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,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "AI-gestützter Engineering-Assistent zur Automatisierung von Entwicklungsaufgaben, Code-Generierung und technischen Gesprächen.",
"Your Devin API key (used in the Authorization header).": "Ihr Devin API-Schlüssel (wird im Authorisierungs-Header verwendet).",
"Create Session": "Sitzung erstellen",
"Get Session Details": "Sitzungsdetails abrufen",
"Send Message": "Nachricht senden",
"Creates a new Devin session": "Erstellt eine neue Devin Sitzung",
"Retrieves details of a specific Devin session": "Ruft Details einer bestimmten Devin Sitzung ab",
"Sends a message to a Devin session": "Sendet eine Nachricht an eine Devin Sitzung",
"Prompt": "Prompt",
"Snapshot ID": "Snapshot-ID",
"Playbook ID": "Spielbuch-ID",
"Unlisted": "Nicht gelistet",
"Idempotent": "Idempotent",
"Session ID": "Sitzungs-ID",
"Message": "Nachricht",
"The ID of the session to retrieve details for": "Die ID der Sitzung, um Details abzurufen für",
"The ID of the session to send the message to": "Die ID der Sitzung, an die die Nachricht gesendet werden soll",
"The message to send to the session": "Die Nachricht die an die Sitzung gesendet wird"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "Asistente de ingeniería impulsada por la AIE para automatizar las tareas de desarrollo, generar código y conversaciones técnicas.",
"Your Devin API key (used in the Authorization header).": "Su clave API de Devin (usada en el encabezado de autorización).",
"Create Session": "Crear sesión",
"Get Session Details": "Detalles de la sesión",
"Send Message": "Enviar mensaje",
"Creates a new Devin session": "Crea una nueva sesión de Devin",
"Retrieves details of a specific Devin session": "Obtiene los detalles de una sesión Devin específica",
"Sends a message to a Devin session": "Envía un mensaje a una sesión de Devin",
"Prompt": "Petición",
"Snapshot ID": "ID de instantánea",
"Playbook ID": "ID de Jugador",
"Unlisted": "Sin enumerar",
"Idempotent": "Idempotent",
"Session ID": "ID de sesión",
"Message": "Mensaje",
"The ID of the session to retrieve details for": "El ID de la sesión para recuperar los detalles de",
"The ID of the session to send the message to": "El ID de la sesión para enviar el mensaje a",
"The message to send to the session": "El mensaje a enviar a la sesión"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "Assistant d'ingénierie propulsé par l'IA pour automatiser les tâches de développement, la génération de code et les conversations techniques.",
"Your Devin API key (used in the Authorization header).": "Votre clé API Devin (utilisée dans l'en-tête Authorization header).",
"Create Session": "Créer une session",
"Get Session Details": "Obtenir les détails de la session",
"Send Message": "Envoyer un message",
"Creates a new Devin session": "Crée une nouvelle session Devin",
"Retrieves details of a specific Devin session": "Récupère les détails d'une session Devin spécifique",
"Sends a message to a Devin session": "Envoie un message à une session Devin",
"Prompt": "Prompt",
"Snapshot ID": "ID de la capture instantanée",
"Playbook ID": "ID du Playbook",
"Unlisted": "Non listé",
"Idempotent": "Idempotent",
"Session ID": "ID de session",
"Message": "Message",
"The ID of the session to retrieve details for": "L'ID de la session pour récupérer les détails pour",
"The ID of the session to send the message to": "L'ID de la session à laquelle envoyer le message",
"The message to send to the session": "Le message à envoyer à la session"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "開発タスク、コード生成、および技術的な会話を自動化するためのAIを搭載したエンジニアリングアシスタント。",
"Your Devin API key (used in the Authorization header).": "あなたの Devin API キー (Authorization ヘッダーで使用)",
"Create Session": "セッションを作成",
"Get Session Details": "セッションの詳細を取得",
"Send Message": "メッセージを送信",
"Creates a new Devin session": "新しい開発者セッションを作成",
"Retrieves details of a specific Devin session": "特定の開発者セッションの詳細を取得します",
"Sends a message to a Devin session": "Devinセッションにメッセージを送信する",
"Prompt": "Prompt",
"Snapshot ID": "スナップショットID",
"Playbook ID": "プレイブックID",
"Unlisted": "リストにありません",
"Idempotent": "Idempotent",
"Session ID": "セッションID",
"Message": "メッセージ",
"The ID of the session to retrieve details for": "詳細を取得するセッションのID",
"The ID of the session to send the message to": "メッセージを送信するセッションの ID",
"The message to send to the session": "セッションに送信するメッセージ"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "AI-powered engineering assistent voor het automatiseren van ontwikkelingstaken, het genereren van codes en technische gesprekken.",
"Your Devin API key (used in the Authorization header).": "Uw Devin API-sleutel (gebruikt in de Autorisatie header).",
"Create Session": "Sessie aanmaken",
"Get Session Details": "Sessie-details ophalen",
"Send Message": "Verstuur bericht",
"Creates a new Devin session": "Maakt een nieuwe Devin sessie",
"Retrieves details of a specific Devin session": "Ophalen details van een specifieke Devin sessie",
"Sends a message to a Devin session": "Stuurt een bericht naar een Devin sessie",
"Prompt": "Prompt",
"Snapshot ID": "Momentopname ID",
"Playbook ID": "Afspeelboek ID",
"Unlisted": "Niet-genoteerd",
"Idempotent": "Idempotent",
"Session ID": "Sessie ID",
"Message": "bericht",
"The ID of the session to retrieve details for": "Het ID van de sessie om gegevens op te halen voor",
"The ID of the session to send the message to": "Het ID van de sessie om het bericht naar te sturen",
"The message to send to the session": "Het bericht om naar de sessie te sturen"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "Assistente de engenharia com IA para automatizar tarefas de desenvolvimento, geração de código e conversas técnicas.",
"Your Devin API key (used in the Authorization header).": "Sua chave da API Devin (usada no cabeçalho de autorização).",
"Create Session": "Criar sessão",
"Get Session Details": "Obter detalhes da sessão",
"Send Message": "Enviar mensagem",
"Creates a new Devin session": "Cria uma nova sessão Devin",
"Retrieves details of a specific Devin session": "Recupera detalhes de uma sessão específica de Devin",
"Sends a message to a Devin session": "Envia uma mensagem para uma sessão Devin",
"Prompt": "Aviso",
"Snapshot ID": "ID do snapshot",
"Playbook ID": "ID da Playbook",
"Unlisted": "Não-listado",
"Idempotent": "Idempotent",
"Session ID": "ID da sessão",
"Message": "mensagem",
"The ID of the session to retrieve details for": "O ID da sessão para recuperar os detalhes de",
"The ID of the session to send the message to": "O ID da sessão para enviar a mensagem para",
"The message to send to the session": "A mensagem para enviar para a sessão"
}

View File

@@ -0,0 +1,21 @@
{
"Devin AI": "Devin AI",
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "AI - инженерный ассистент по автоматизации задач разработки, генерации кода и технических разговоров.",
"Your Devin API key (used in the Authorization header).": "Ваш ключ API Devin (используется в заголовке авторизации).",
"Create Session": "Создать сессию",
"Get Session Details": "Получить детали сессии",
"Send Message": "Отправить сообщение",
"Creates a new Devin session": "Создать новый Devin сеанс",
"Retrieves details of a specific Devin session": "Получает подробную информацию об отдельной сессии Devin",
"Sends a message to a Devin session": "Отправляет сообщение в сессию Devin",
"Prompt": "Prompt",
"Snapshot ID": "ID снимка",
"Playbook ID": "ID плейлиста",
"Unlisted": "Не занесено",
"Idempotent": "Idempotent",
"Session ID": "ID сессии",
"Message": "Сообщение",
"The ID of the session to retrieve details for": "ID сеанса для получения подробной информации",
"The ID of the session to send the message to": "ID сеанса для отправки сообщения",
"The message to send to the session": "Сообщение для отправки на сессию"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.",
"Your Devin API key (used in the Authorization header).": "Your Devin API key (used in the Authorization header).",
"Create Session": "Create Session",
"Get Session Details": "Get Session Details",
"Send Message": "Send Message",
"Creates a new Devin session": "Creates a new Devin session",
"Retrieves details of a specific Devin session": "Retrieves details of a specific Devin session",
"Sends a message to a Devin session": "Sends a message to a Devin session",
"Prompt": "Prompt",
"Snapshot ID": "Snapshot ID",
"Playbook ID": "Playbook ID",
"Unlisted": "Unlisted",
"Idempotent": "Idempotent",
"Session ID": "Session ID",
"Message": "Message",
"The ID of the session to retrieve details for": "The ID of the session to retrieve details for",
"The ID of the session to send the message to": "The ID of the session to send the message to",
"The message to send to the session": "The message to send to the session"
}

View File

@@ -0,0 +1,21 @@
{
"Devin AI": "Devin AI",
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.",
"Your Devin API key (used in the Authorization header).": "Your Devin API key (used in the Authorization header).",
"Create Session": "Create Session",
"Get Session Details": "Get Session Details",
"Send Message": "Send Message",
"Creates a new Devin session": "Creates a new Devin session",
"Retrieves details of a specific Devin session": "Retrieves details of a specific Devin session",
"Sends a message to a Devin session": "Sends a message to a Devin session",
"Prompt": "Prompt",
"Snapshot ID": "Snapshot ID",
"Playbook ID": "Playbook ID",
"Unlisted": "Unlisted",
"Idempotent": "Idempotent",
"Session ID": "Session ID",
"Message": "Message",
"The ID of the session to retrieve details for": "The ID of the session to retrieve details for",
"The ID of the session to send the message to": "The ID of the session to send the message to",
"The message to send to the session": "The message to send to the session"
}

View File

@@ -0,0 +1,20 @@
{
"AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.": "AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.",
"Your Devin API key (used in the Authorization header).": "Your Devin API key (used in the Authorization header).",
"Create Session": "Create Session",
"Get Session Details": "Get Session Details",
"Send Message": "Send Message",
"Creates a new Devin session": "Creates a new Devin session",
"Retrieves details of a specific Devin session": "Retrieves details of a specific Devin session",
"Sends a message to a Devin session": "Sends a message to a Devin session",
"Prompt": "Prompt",
"Snapshot ID": "Snapshot ID",
"Playbook ID": "Playbook ID",
"Unlisted": "Unlisted",
"Idempotent": "Idempotent",
"Session ID": "Session ID",
"Message": "Message",
"The ID of the session to retrieve details for": "The ID of the session to retrieve details for",
"The ID of the session to send the message to": "The ID of the session to send the message to",
"The message to send to the session": "The message to send to the session"
}

View File

@@ -0,0 +1,29 @@
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
import { createSession } from './lib/actions/create-session';
import { getSessionDetails } from './lib/actions/get-session-details';
import { sendMessage } from './lib/actions/send-message';
export const devinAuth = PieceAuth.SecretText({
displayName: 'API Key',
required: true,
description: 'Your Devin API key (used in the Authorization header).',
});
export const devin = createPiece({
displayName: 'Devin AI',
description: 'AI-powered engineering assistant for automating development tasks, code generation, and technical conversations.',
logoUrl: 'https://cdn.activepieces.com/pieces/devin.png',
auth: devinAuth,
categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],
minimumSupportedRelease: '0.20.0',
authors: ['ahmad-swanblocks'],
actions: [
createSession,
getSessionDetails,
sendMessage,
],
triggers: [],
});

View File

@@ -0,0 +1,49 @@
import { createAction, Property } from '@activepieces/pieces-framework';
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
import { devinAuth } from '../..';
export const createSession = createAction({
name: 'create_session',
displayName: 'Create Session',
description: 'Creates a new Devin session',
auth: devinAuth,
props: {
prompt: Property.ShortText({
displayName: 'Prompt',
required: true,
}),
snapshotId: Property.ShortText({
displayName: 'Snapshot ID',
required: false,
}),
playbookId: Property.ShortText({
displayName: 'Playbook ID',
required: false,
}),
unlisted: Property.Checkbox({
displayName: 'Unlisted',
required: false,
}),
idempotent: Property.Checkbox({
displayName: 'Idempotent',
required: false,
}),
},
async run({ auth, propsValue }) {
const response = await httpClient.sendRequest({
method: HttpMethod.POST,
url: 'https://api.devin.ai/v1/sessions',
headers: {
Authorization: `Bearer ${auth.secret_text}`,
},
body: {
prompt: propsValue.prompt,
snapshot_id: propsValue.snapshotId,
playbook_id: propsValue.playbookId,
unlisted: propsValue.unlisted,
idempotent: propsValue.idempotent,
},
});
return response.body;
},
});

View File

@@ -0,0 +1,27 @@
import { createAction, Property } from '@activepieces/pieces-framework';
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
import { devinAuth } from '../..';
export const getSessionDetails = createAction({
name: 'get_session_details',
displayName: 'Get Session Details',
description: 'Retrieves details of a specific Devin session',
auth: devinAuth,
props: {
sessionId: Property.ShortText({
displayName: 'Session ID',
required: true,
description: 'The ID of the session to retrieve details for',
}),
},
async run({ auth, propsValue }) {
const response = await httpClient.sendRequest({
method: HttpMethod.GET,
url: `https://api.devin.ai/v1/session/${propsValue.sessionId}`,
headers: {
Authorization: `Bearer ${auth.secret_text}`,
},
});
return response.body;
},
});

View File

@@ -0,0 +1,35 @@
import { createAction, Property } from '@activepieces/pieces-framework';
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
import { devinAuth } from '../..';
export const sendMessage = createAction({
name: 'send_message',
displayName: 'Send Message',
description: 'Sends a message to a Devin session',
auth: devinAuth,
props: {
sessionId: Property.ShortText({
displayName: 'Session ID',
required: true,
description: 'The ID of the session to send the message to',
}),
message: Property.LongText({
displayName: 'Message',
required: true,
description: 'The message to send to the session',
}),
},
async run({ auth, propsValue }) {
const response = await httpClient.sendRequest({
method: HttpMethod.POST,
url: `https://api.devin.ai/v1/session/${propsValue.sessionId}/messages`,
headers: {
Authorization: `Bearer ${auth.secret_text}`,
},
body: {
message: propsValue.message,
},
});
return response.body;
},
});