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,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly ist der All-in-Service für personalisierte Bild-, Video- und PDF-Erzeugung mit API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFolgen Sie diesen Anweisungen, um Ihren API-Schlüssel zu erhalten:\n1. Besuchen Sie die folgende Webseite: https://robolly. om/Dashboard/accoun/\n2. Suchen und kopieren Sie Ihren API-Schlüssel.\nBitte beachten Sie: Wir testen Ihren API-Schlüssel nicht, um Ihnen einige Generationen zu retten, also stellen Sie sicher, dass dies die richtige ist.\n",
"Generate Image": "Bild generieren",
"Custom API Call": "Eigener API-Aufruf",
"Generate an image using Robolly": "Ein Bild mit Robolly generieren",
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
"Template": "Vorlage",
"Format": "Format",
"Values": "Werte",
"Extra Modifications": "Zusätzliche Änderungen",
"Method": "Methode",
"Headers": "Kopfzeilen",
"Query Parameters": "Abfrageparameter",
"Body": "Körper",
"Response is Binary ?": "Antwort ist binär?",
"No Error on Failure": "Kein Fehler bei Fehler",
"Timeout (in seconds)": "Timeout (in Sekunden)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Wählen Sie Ihre Vorlage aus. (Wenn Sie die Template-ID verwenden möchten. Klicken Sie auf \"(x)\" über diesem Feld. Template-ID kann gefunden werden, indem Sie eine Vorlage öffnen und zu \"Render\" wechseln. Kopieren Sie dort die Template-ID von oben rechts.)",
"The format of the image to generate.": "Das Format des zu generierenden Bildes.",
"The values to apply to the fields in the template.": "Die Werte, die auf die Felder im Template angewendet werden sollen.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "Die zusätzlichen Änderungen, die auf das Bild angewendet werden sollen. Siehe \"Detaillierte dynamische Änderungen\" auf https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
"Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "ERHALTEN",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "LÖSCHEN",
"HEAD": "HEAD"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly es el servicio de generación de imágenes personalizadas, vídeo y PDF con API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nSigue estas instrucciones para obtener tu clave API:\n1. Visita el siguiente sitio web: https://robolly. om/dashboard/cuenta/\n2. Una vez en el sitio web, localiza y copia tu clave API.\nPor favor, tenga en cuenta: No probamos la validez de su clave API para ahorrarle algunas generaciones, así que asegúrese de que éste es el correcto.\n",
"Generate Image": "Generar imagen",
"Custom API Call": "Llamada API personalizada",
"Generate an image using Robolly": "Generar una imagen usando Robolly",
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
"Template": "Plantilla",
"Format": "Formatear",
"Values": "Valores",
"Extra Modifications": "Modificaciones extra",
"Method": "Método",
"Headers": "Encabezados",
"Query Parameters": "Parámetros de consulta",
"Body": "Cuerpo",
"Response is Binary ?": "¿Respuesta es binaria?",
"No Error on Failure": "No hay ningún error en fallo",
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Selecciona tu plantilla. (Si quieres usar el ID de la plantilla. Haz clic en \"(x)\" arriba de este campo. El ID de plantilla se puede encontrar abriendo una plantilla y yendo a \"Procesar\". Siendo allí copie el ID de plantilla desde la parte superior derecha.)",
"The format of the image to generate.": "El formato de la imagen a generar.",
"The values to apply to the fields in the template.": "Los valores a aplicar a los campos de la plantilla.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "Las modificaciones adicionales para aplicar a la imagen. Ver \"Modificaciones dinámicas detalladas\" en https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
"Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "DF",
"GET": "RECOGER",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "BORRAR",
"HEAD": "LIMPIO"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly est le service tout-en-un pour une image personnalisée, la génération de vidéos et de PDF avec API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "Générer une image",
"Custom API Call": "Appel d'API personnalisé",
"Generate an image using Robolly": "Générer une image en utilisant Robolly",
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
"Template": "Gabarit",
"Format": "Formater",
"Values": "Valeurs",
"Extra Modifications": "Modifications supplémentaires",
"Method": "Méthode",
"Headers": "En-têtes",
"Query Parameters": "Paramètres de requête",
"Body": "Corps",
"Response is Binary ?": "La réponse est Binaire ?",
"No Error on Failure": "Aucune erreur en cas d'échec",
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Sélectionnez votre modèle. (Si vous voulez utiliser l'ID du modèle. Cliquez sur le \"(x)\" au-dessus de ce champ. L'ID du modèle peut être trouvé en ouvrant un modèle et en allant à \"Rendu\". En étant là, copiez l'ID du modèle en haut à droite.)",
"The format of the image to generate.": "Le format de l'image à générer.",
"The values to apply to the fields in the template.": "Les valeurs à appliquer aux champs du modèle.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "Les modifications supplémentaires à appliquer à l'image. Voir \"Modifications dynamiques détaillées\" dans https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
"Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "GET",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "DELETE",
"HEAD": "HEAD"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolyは、APIを使用したパーソナライズされた画像、ビデオ、PDF生成のためのオールインワンサービスです。",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "画像を生成する",
"Custom API Call": "カスタムAPI通話",
"Generate an image using Robolly": "Roboly を使って画像を生成する",
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
"Template": "テンプレート",
"Format": "書式",
"Values": "値",
"Extra Modifications": "追加変更",
"Method": "方法",
"Headers": "ヘッダー",
"Query Parameters": "クエリパラメータ",
"Body": "本文",
"Response is Binary ?": "応答はバイナリですか?",
"No Error on Failure": "失敗時にエラーはありません",
"Timeout (in seconds)": "タイムアウト(秒)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "テンプレートを選択します。(テンプレートIDを使用する場合は、このフィールドの上にある「(x)」をクリックします。 テンプレートIDはテンプレートを開いて「Render」に移動することで見つけることができます。そこで右上からテンプレートIDをコピーします。",
"The format of the image to generate.": "生成する画像の形式。",
"The values to apply to the fields in the template.": "テンプレートのフィールドに適用する値。",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "画像に適用する追加の変更。https://robolly.com/docs/api-reference/ の \"詳細な動的変更\" を参照してください。",
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "取得",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "削除",
"HEAD": "頭"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly is de all-sized één service voor gepersonaliseerde afbeelding, video & PDF-generatie met API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nVolg deze instructies om uw API-sleutel te verkrijgen:\n1. Bezoek de volgende website: https://robolly. om/dashboard/account/\n2. Eenmaal op de website, lokaliseer en kopieer uw API-sleutel.\nGelieve te overwegen: we testen de geldigheid van uw API-sleutel niet om u enkele generaties op te slaan, dus zorg ervoor dat dit de juiste is.\n",
"Generate Image": "Afbeelding genereren",
"Custom API Call": "Custom API Call",
"Generate an image using Robolly": "Genereer een afbeelding met behulp van Robolly",
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
"Template": "Sjabloon",
"Format": "Formatteren",
"Values": "Waarden",
"Extra Modifications": "Extra aanpassingen",
"Method": "Methode",
"Headers": "Kopteksten",
"Query Parameters": "Query parameters",
"Body": "Lichaam",
"Response is Binary ?": "Antwoord is binair?",
"No Error on Failure": "Geen fout bij fout",
"Timeout (in seconds)": "Time-out (in seconden)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Selecteer uw sjabloon. (Als u gebruik wilt maken van Template ID. Klik op de \"(x)\" boven dit veld. Sjabloon-ID kan worden gevonden door een sjabloon te openen en naar \"Render\" te gaan. De sjabloon-ID kopiëren van rechtsboven.)",
"The format of the image to generate.": "Het formaat van de te genereren afbeelding",
"The values to apply to the fields in the template.": "De waarden die worden toegepast op de velden in de sjabloon.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "De extra wijzigingen die van toepassing zijn op de afbeelding. Zie \"Gedetailleerde dynamische wijzigingen\" op https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
"Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF-bestand",
"GET": "KRIJG",
"POST": "POSTE",
"PATCH": "BEKIJK",
"PUT": "PUT",
"DELETE": "VERWIJDEREN",
"HEAD": "HOOFD"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly é o serviço mais comum para geração de imagens, vídeos e PDF personalizados com API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "Gerar Imagem",
"Custom API Call": "Chamada de API personalizada",
"Generate an image using Robolly": "Gerar uma imagem usando Robolly",
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
"Template": "Modelo",
"Format": "Formato",
"Values": "Valores",
"Extra Modifications": "Modificações extras",
"Method": "Método",
"Headers": "Cabeçalhos",
"Query Parameters": "Parâmetros da consulta",
"Body": "Conteúdo",
"Response is Binary ?": "A resposta é binária ?",
"No Error on Failure": "Nenhum erro no Failure",
"Timeout (in seconds)": "Tempo limite (em segundos)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Selecione seu modelo. (Se você quiser usar o ID do modelo. Clique no \"(x)\" acima deste campo. O modelo ID pode ser encontrado abrindo um modelo e indo para \"Renderizar\". Estando lá copie o ID do template no canto superior direito.)",
"The format of the image to generate.": "O formato da imagem a ser gerada.",
"The values to apply to the fields in the template.": "Os valores a serem aplicados aos campos no template.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "As modificações adicionais para aplicar à imagem. Veja \"Modificações dinâmicas detalhadas\" em https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
"Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
"JPG": "Jpg",
"PNG": "PNG",
"PDF": "Pdf",
"GET": "OBTER",
"POST": "POSTAR",
"PATCH": "COMPRAR",
"PUT": "COLOCAR",
"DELETE": "EXCLUIR",
"HEAD": "CABEÇA"
}

View File

@@ -0,0 +1,33 @@
{
"Robolly": "Робально",
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly - это сервис все-в-одном для персонализированного создания изображений, видео и PDF с API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "Сгенерировать изображение",
"Custom API Call": "Пользовательский вызов API",
"Generate an image using Robolly": "Создать изображение с помощью Robolly",
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
"Template": "Шаблон",
"Format": "Формат",
"Values": "Значения",
"Extra Modifications": "Дополнительные изменения",
"Method": "Метод",
"Headers": "Заголовки",
"Query Parameters": "Параметры запроса",
"Body": "Тело",
"No Error on Failure": "Нет ошибок при ошибке",
"Timeout (in seconds)": "Таймаут (в секундах)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Выберите ваш шаблон. (Если вы хотите использовать ID шаблона. Нажмите на \"(x)\" над этим полем. ID шаблона может быть найден, открыв шаблон и собираясь «Рендер». Скопируйте ID шаблона сверху справа.)",
"The format of the image to generate.": "Формат изображения для генерации изображения.",
"The values to apply to the fields in the template.": "Значения для применения к полям в шаблоне.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "Дополнительные изменения, применимые к изображению. Смотрите \"Подробные динамические модификации\" в https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "ПОЛУЧИТЬ",
"POST": "ПОСТ",
"PATCH": "ПАТЧ",
"PUT": "ПОКУПИТЬ",
"DELETE": "УДАЛИТЬ",
"HEAD": "HEAD"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly is the allinone service for personalized image, video & PDF generation with API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "Generate Image",
"Custom API Call": "Custom API Call",
"Generate an image using Robolly": "Generate an image using Robolly",
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
"Template": "Template",
"Format": "Format",
"Values": "Values",
"Extra Modifications": "Extra Modifications",
"Method": "Method",
"Headers": "Headers",
"Query Parameters": "Query Parameters",
"Body": "Body",
"Response is Binary ?": "Response is Binary ?",
"No Error on Failure": "No Error on Failure",
"Timeout (in seconds)": "Timeout (in seconds)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)",
"The format of the image to generate.": "The format of the image to generate.",
"The values to apply to the fields in the template.": "The values to apply to the fields in the template.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "GET",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "DELETE",
"HEAD": "HEAD"
}

View File

@@ -0,0 +1,33 @@
{
"Robolly": "Robolly",
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly is the allinone service for personalized image, video & PDF generation with API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "Generate Image",
"Custom API Call": "Custom API Call",
"Generate an image using Robolly": "Generate an image using Robolly",
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
"Template": "Template",
"Format": "Format",
"Values": "Values",
"Extra Modifications": "Extra Modifications",
"Method": "Method",
"Headers": "Headers",
"Query Parameters": "Query Parameters",
"Body": "Body",
"No Error on Failure": "No Error on Failure",
"Timeout (in seconds)": "Timeout (in seconds)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)",
"The format of the image to generate.": "The format of the image to generate.",
"The values to apply to the fields in the template.": "The values to apply to the fields in the template.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "GET",
"POST": "POST",
"PATCH": "PATCH",
"PUT": "PUT",
"DELETE": "DELETE",
"HEAD": "HEAD"
}

View File

@@ -0,0 +1,34 @@
{
"Robolly is the allinone service for personalized image, video & PDF generation with API": "Robolly is the allinone service for personalized image, video & PDF generation with API",
"\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n": "\nFollow these instructions to get your API Key:\n1. Visit the following website: https://robolly.com/dashboard/account/\n2. Once on the website, locate and copy your API Key.\nPlease, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.\n",
"Generate Image": "Generate Image",
"Custom API Call": "自定义 API 呼叫",
"Generate an image using Robolly": "Generate an image using Robolly",
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
"Template": "模板",
"Format": "Format",
"Values": "值",
"Extra Modifications": "Extra Modifications",
"Method": "方法",
"Headers": "信头",
"Query Parameters": "查询参数",
"Body": "正文内容",
"Response is Binary ?": "Response is Binary ?",
"No Error on Failure": "失败时没有错误",
"Timeout (in seconds)": "超时(秒)",
"Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)": "Select your template. (If you want to use Template ID. Click on the \"(x)\" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)",
"The format of the image to generate.": "The format of the image to generate.",
"The values to apply to the fields in the template.": "The values to apply to the fields in the template.",
"The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/": "The extra modifications to apply to the image. See \"Detailed dynamic modifications\" in https://robolly.com/docs/api-reference/",
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
"JPG": "JPG",
"PNG": "PNG",
"PDF": "PDF",
"GET": "获取",
"POST": "帖子",
"PATCH": "PATCH",
"PUT": "弹出",
"DELETE": "删除",
"HEAD": "黑色"
}

View File

@@ -0,0 +1,45 @@
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/shared';
import { generateImage } from './lib/actions/generate-image.action';
const markdownDescription = `
Follow these instructions to get your API Key:
1. Visit the following website: https://robolly.com/dashboard/account/
2. Once on the website, locate and copy your API Key.
Please, take into consideration: We don't test your API Key validity in order to save you some generations, so make sure this is the correct one.
`;
export const robollyAuth = PieceAuth.SecretText({
description: markdownDescription,
displayName: 'API Key',
required: true,
validate: async () => {
return {
valid: true,
};
},
});
export const robolly = createPiece({
displayName: 'Robolly',
description:
'Robolly is the allinone service for personalized image, video & PDF generation with API',
auth: robollyAuth,
minimumSupportedRelease: '0.30.0',
logoUrl: 'https://cdn.activepieces.com/pieces/robolly.png',
categories: [PieceCategory.MARKETING],
authors: ["pfernandez98","kishanprmr","MoShizzle","abuaboud"],
actions: [
generateImage,
createCustomApiCallAction({
baseUrl: () => 'https://api.robolly.com',
auth: robollyAuth,
authMapping: async (auth) => ({
Authorization: `Bearer ${auth}`,
}),
}),
],
triggers: [],
});

View File

@@ -0,0 +1,145 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { HttpMethod, httpClient } from "@activepieces/pieces-common";
import { DynamicPropsValue, Property, createAction } from "@activepieces/pieces-framework";
import { robollyAuth } from "../..";
export const generateImage = createAction({
description: 'Generate an image using Robolly',
displayName: 'Generate Image',
name: 'generate_image',
auth: robollyAuth,
props: {
template_id: Property.Dropdown({
auth: robollyAuth,
displayName: 'Template',
required: true,
description: 'Select your template. (If you want to use Template ID. Click on the "(x)" above this field. Template ID can be found by opening a template and going to “Render”. Being there copy the template ID from the top right.)',
refreshers: [],
options: async ({ auth }) => {
if (!auth) {
return {
disabled: true,
placeholder: 'Enter your API key first',
options: []
};
}
try {
const request = await httpClient.sendRequest({
method: HttpMethod.GET,
url: `https://api.robolly.com/v1/templates`,
headers: {
'Authorization': `Bearer ${auth.secret_text}`
}
});
return {
disabled: false,
options: request.body['templates'].map((template: any) => {
return {
label: template.name,
value: template.id
};
})
};
} catch (error) {
return {
disabled: true,
options: [],
placeholder: "Couldn't load templates, API key is invalid"
};
}
}
}),
format: Property.StaticDropdown({
displayName: 'Format',
required: true,
description: 'The format of the image to generate.',
defaultValue: 'jpg',
options: {
"options" : [
{
"label": "JPG",
"value": 'jpg',
},
{
"label": "PNG",
"value": 'png',
},
{
"label": "PDF",
"value": 'pdf',
}
]
}
}),
fields: Property.DynamicProperties({
auth: robollyAuth,
displayName: 'Values',
description: 'The values to apply to the fields in the template.',
required: true,
refreshers: ["template_id"],
props: async ({ auth, template_id }) => {
if (!auth) return {};
if (!template_id) return {};
const fields: DynamicPropsValue = {};
const request = await httpClient.sendRequest({
method: HttpMethod.GET,
url: `https://api.robolly.com/v1/templates/${template_id}/accepted-modifications`,
headers: {
'Authorization': `Bearer ${auth.secret_text}`
}
});
request.body['acceptedModifications'].map((field: any) => {
fields[field.key] = Property.ShortText({
displayName: field.key,
description: `Type: ${field.type}`,
required: false
})
})
return fields
}
}),
modifications: Property.Object({
displayName: 'Extra Modifications',
description: 'The extra modifications to apply to the image. See "Detailed dynamic modifications" in https://robolly.com/docs/api-reference/',
required: false,
})
},
async run({ auth, propsValue }){
const fields = propsValue.fields;
const queryParams: Record<string, string> = {
};
queryParams['json'] = ""
for (const key in propsValue.modifications) {
const value = propsValue.modifications[key];
queryParams[key as string] = value as string;
}
Object.keys(fields).forEach(k => {
if (fields[k] !== '') {
queryParams[k] = fields[k]
}
})
const request = await httpClient.sendRequest({
method: HttpMethod.GET,
queryParams: queryParams,
url: `https://api.robolly.com/templates/${propsValue.template_id}/render/${propsValue.format}`,
headers: {
'Authorization': `Bearer ${auth.secret_text}`
},
body: propsValue.modifications
});
return request.body;
}
});