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,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Open Source Umfrageplattform",
|
||||
"APP URL": "APP-URL",
|
||||
"API Key": "API-Schlüssel",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Basic Authentication aktivieren:**\n 1. Melden Sie sich bei Ihrem Formbricks Konto\n 2. Klicken Sie oben rechts auf die Dropdown-Liste\n 3. Wählen Sie 'Produkteinstellungen'\n 4. Auf der linken Seite 'API Keys'\n aus. Klicken Sie auf 'Production API Schlüssel hinzufügen'\n 6. Geben Sie im Popup-Formular das 'API Key Label' ein, um den Schlüssel\n zu benennen. Kopieren Sie den API-Schlüssel und fügen Sie ihn unten ein.\n\n **APP URL:**\n - Die API URL für Formbricks Beispiel die Cloud ist unter https://app. ormbricks.com\n - **Hinweis: Stellen Sie sicher, dass es keinen abschließenden Schrägstrich und keine /api**\n gibt",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"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)",
|
||||
"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..",
|
||||
"GET": "ERHALTEN",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "LÖSCHEN",
|
||||
"HEAD": "HEAD",
|
||||
"Response Created": "Antwort erstellt",
|
||||
"Response Updated": "Antwort aktualisiert",
|
||||
"Response Finished": "Antwort abgeschlossen",
|
||||
"Triggered when a new response is created.": "Wird ausgelöst, wenn eine neue Antwort erstellt wird.",
|
||||
"Triggered when a new response is updated.": "Wird ausgelöst, wenn eine neue Antwort aktualisiert wird.",
|
||||
"Triggered when a new response is finished.": "Wird ausgelöst, wenn eine neue Antwort beendet ist.",
|
||||
"Survey": "Umfrage",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "Eine Auswahl von Umfragen, die ausgelöst werden. Andernfalls werden alle Umfragen ausgelöst."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Plataforma de encuesta de código abierto",
|
||||
"APP URL": "URL de APP",
|
||||
"API Key": "Clave API",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"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)",
|
||||
"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.",
|
||||
"GET": "RECOGER",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "BORRAR",
|
||||
"HEAD": "LIMPIO",
|
||||
"Response Created": "Respuesta creada",
|
||||
"Response Updated": "Respuesta actualizada",
|
||||
"Response Finished": "Respuesta Finalizada",
|
||||
"Triggered when a new response is created.": "Se activa cuando se crea una nueva respuesta.",
|
||||
"Triggered when a new response is updated.": "Se activa cuando se actualiza una nueva respuesta.",
|
||||
"Triggered when a new response is finished.": "Se activa cuando se termina una nueva respuesta.",
|
||||
"Survey": "Encuesta",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "Una selección de encuestas que se activarán. De lo contrario, todas las encuestas se activarán."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Plateforme d'Enquête Open Source",
|
||||
"APP URL": "URL de l'application",
|
||||
"API Key": "Clé API",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "Appel API personnalisé",
|
||||
"Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
|
||||
"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'attente (en secondes)",
|
||||
"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.",
|
||||
"GET": "OBTENIR",
|
||||
"POST": "POSTER",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "EFFACER",
|
||||
"DELETE": "SUPPRIMER",
|
||||
"HEAD": "TÊTE",
|
||||
"Response Created": "Réponse créée",
|
||||
"Response Updated": "Réponse mise à jour",
|
||||
"Response Finished": "Réponse terminée",
|
||||
"Triggered when a new response is created.": "Déclenché lorsqu'une nouvelle réponse est créée.",
|
||||
"Triggered when a new response is updated.": "Déclenché lorsqu'une nouvelle réponse est mise à jour.",
|
||||
"Triggered when a new response is finished.": "Déclenché quand une nouvelle réponse est terminée.",
|
||||
"Survey": "Enquête",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "Une sélection d'enquêtes qui se déclenchera. Sinon, toutes les enquêtes se déclencheront."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "オープンソースの調査プラットフォーム",
|
||||
"APP URL": "アプリ URL",
|
||||
"API Key": "API キー",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
||||
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
|
||||
"GET": "取得",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "削除",
|
||||
"HEAD": "頭",
|
||||
"Response Created": "回答が作成されました",
|
||||
"Response Updated": "応答が更新されました",
|
||||
"Response Finished": "回答完了",
|
||||
"Triggered when a new response is created.": "新しいレスポンスが作成されたときにトリガーされます。",
|
||||
"Triggered when a new response is updated.": "新しいレスポンスが更新されたときにトリガーされます。",
|
||||
"Triggered when a new response is finished.": "新しい応答が完了したときにトリガーされます。",
|
||||
"Survey": "調査",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "トリガーするアンケートの選択。そうでなければ、すべてのアンケートがトリガーされます。"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Open source onderzoeksplatform",
|
||||
"APP URL": "APP URL",
|
||||
"API Key": "API Sleutel",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Basis authenticatie inschakelen:**\n 1. Log in op uw Formbricks account\n 2. Klik rechtsboven op je account met dropdown\n 3. Selecteer 'Productinstellingen'\n 4. Aan de linkerkant selecteer 'API Keys'\n 5. Klik op 'Productie API Key toevoegen'\n 6. Voer in het pop-upformulier 'API Key Label' in om Key\n 7 een naam te geven. Kopieer de API key en plak deze hieronder.\n\n **APP URL:**\n - De API URL voor Formbricks bijvoorbeeld, de cloud is op https://app. ormbricks.com\n - **Let op: controleer of er geen slash is en geen /api**\n",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"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)",
|
||||
"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..",
|
||||
"GET": "KRIJG",
|
||||
"POST": "POSTE",
|
||||
"PATCH": "BEKIJK",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "VERWIJDEREN",
|
||||
"HEAD": "HOOFD",
|
||||
"Response Created": "Reactie aangemaakt",
|
||||
"Response Updated": "Antwoord bijgewerkt",
|
||||
"Response Finished": "Reactie voltooid",
|
||||
"Triggered when a new response is created.": "Uitgelokt wanneer een nieuw antwoord wordt aangemaakt.",
|
||||
"Triggered when a new response is updated.": "Uitgelokt wanneer een nieuw antwoord wordt bijgewerkt.",
|
||||
"Triggered when a new response is finished.": "Uitgelokt wanneer een nieuw antwoord is voltooid.",
|
||||
"Survey": "Vragenlijst",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "Een selectie van enquêtes die zal worden getriggerd. Of, alle enquêtes worden geactiveerd."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Plataforma de Pesquisa Open Source",
|
||||
"APP URL": "URL do aplicativo",
|
||||
"API Key": "Chave de API",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"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)",
|
||||
"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..",
|
||||
"GET": "OBTER",
|
||||
"POST": "POSTAR",
|
||||
"PATCH": "COMPRAR",
|
||||
"PUT": "COLOCAR",
|
||||
"DELETE": "EXCLUIR",
|
||||
"HEAD": "CABEÇA",
|
||||
"Response Created": "Resposta Criada",
|
||||
"Response Updated": "Resposta Atualizada",
|
||||
"Response Finished": "Resposta terminada",
|
||||
"Triggered when a new response is created.": "Acionada quando uma nova resposta é criada.",
|
||||
"Triggered when a new response is updated.": "Acionada quando uma nova resposta é atualizada.",
|
||||
"Triggered when a new response is finished.": "Acionada quando uma nova resposta é finalizada.",
|
||||
"Survey": "Questionário",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "Uma seleção de pesquisas que desencadearão. Senão, todas as pesquisas serão acionadas."
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"Formbricks": "Формбрики",
|
||||
"Open source Survey Platform": "Платформа опросов с открытым исходным кодом",
|
||||
"APP URL": "URL приложения",
|
||||
"API Key": "Ключ API",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Включить базовую аутентификацию:**\n 1. Войдите в свою учетную запись Formbricks\n 2. В правом верхнем углу выберите раскрывающийся список\n 3. Выберите «Настройки товара»\n 4. Слева выберите «API Keys»\n 5. Нажмите на 'Add Production API Key'\n 6. На всплывающей форме введите 'API Key Label' для названия ключа\n 7. Скопируйте ключ API и вставьте его ниже.\n\n **URL-адрес приложения:**\n — URL-адрес API для Formbricks, например, облако https://app. ormbricks.com\n - **Примечание: не существует конечной черты и нет /api**\n",
|
||||
"Custom API Call": "Пользовательский вызов API",
|
||||
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
||||
"Method": "Метод",
|
||||
"Headers": "Заголовки",
|
||||
"Query Parameters": "Параметры запроса",
|
||||
"Body": "Тело",
|
||||
"No Error on Failure": "Нет ошибок при ошибке",
|
||||
"Timeout (in seconds)": "Таймаут (в секундах)",
|
||||
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
||||
"GET": "ПОЛУЧИТЬ",
|
||||
"POST": "ПОСТ",
|
||||
"PATCH": "ПАТЧ",
|
||||
"PUT": "ПОКУПИТЬ",
|
||||
"DELETE": "УДАЛИТЬ",
|
||||
"HEAD": "HEAD",
|
||||
"Response Created": "Ответ создан",
|
||||
"Response Updated": "Ответ обновлен",
|
||||
"Response Finished": "Ответ завершен",
|
||||
"Triggered when a new response is created.": "Срабатывает при создании нового ответа.",
|
||||
"Triggered when a new response is updated.": "Срабатывает при обновлении ответа.",
|
||||
"Triggered when a new response is finished.": "Срабатывает при завершении нового ответа.",
|
||||
"Survey": "Опрос",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "Выбор опросов, которые будут запущены. Иначе все опросы будут срабатывать."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Open source Survey Platform",
|
||||
"APP URL": "APP URL",
|
||||
"API Key": "API Key",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"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)",
|
||||
"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..",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Response Created": "Response Created",
|
||||
"Response Updated": "Response Updated",
|
||||
"Response Finished": "Response Finished",
|
||||
"Triggered when a new response is created.": "Triggered when a new response is created.",
|
||||
"Triggered when a new response is updated.": "Triggered when a new response is updated.",
|
||||
"Triggered when a new response is finished.": "Triggered when a new response is finished.",
|
||||
"Survey": "Survey",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "A selection of surveys that will trigger. Else, all surveys will trigger."
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"Formbricks": "Formbricks",
|
||||
"Open source Survey Platform": "Open source Survey Platform",
|
||||
"APP URL": "APP URL",
|
||||
"API Key": "API Key",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Response Created": "Response Created",
|
||||
"Response Updated": "Response Updated",
|
||||
"Response Finished": "Response Finished",
|
||||
"Triggered when a new response is created.": "Triggered when a new response is created.",
|
||||
"Triggered when a new response is updated.": "Triggered when a new response is updated.",
|
||||
"Triggered when a new response is finished.": "Triggered when a new response is finished.",
|
||||
"Survey": "Survey",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "A selection of surveys that will trigger. Else, all surveys will trigger."
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Open source Survey Platform": "Open source Survey Platform",
|
||||
"APP URL": "APP URL",
|
||||
"API Key": "API 密钥",
|
||||
"\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n": "\n **Enable Basic Authentication:**\n 1. Login to your Formbricks account\n 2. On the top-right, click on your account dropdown\n 3. Select 'Product Settings'\n 4. On the left, select 'API Keys'\n 5. Click on 'Add Production API Key'\n 6. On the popup form, enter the 'API Key Label' to name the Key\n 7. Copy the API key and paste it below.\n\n **APP URL:**\n - The API URL for Formbricks example the cloud is at https://app.formbricks.com\n - **Note: make sure there is no trailing slash and no /api**\n",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"GET": "获取",
|
||||
"POST": "帖子",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "弹出",
|
||||
"DELETE": "删除",
|
||||
"HEAD": "黑色",
|
||||
"Response Created": "Response Created",
|
||||
"Response Updated": "Response Updated",
|
||||
"Response Finished": "Response Finished",
|
||||
"Triggered when a new response is created.": "Triggered when a new response is created.",
|
||||
"Triggered when a new response is updated.": "Triggered when a new response is updated.",
|
||||
"Triggered when a new response is finished.": "Triggered when a new response is finished.",
|
||||
"Survey": "Survey",
|
||||
"A selection of surveys that will trigger. Else, all surveys will trigger.": "A selection of surveys that will trigger. Else, all surveys will trigger."
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
import {
|
||||
createCustomApiCallAction,
|
||||
httpClient,
|
||||
HttpMethod,
|
||||
} from '@activepieces/pieces-common';
|
||||
import {
|
||||
createPiece,
|
||||
PieceAuth,
|
||||
PiecePropValueSchema,
|
||||
Property,
|
||||
} from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { triggers } from './lib/triggers';
|
||||
|
||||
const markdownPropertyDescription = `
|
||||
**Enable Basic Authentication:**
|
||||
1. Login to your Formbricks account
|
||||
2. On the top-right, click on your account dropdown
|
||||
3. Select 'Product Settings'
|
||||
4. On the left, select 'API Keys'
|
||||
5. Click on 'Add Production API Key'
|
||||
6. On the popup form, enter the 'API Key Label' to name the Key
|
||||
7. Copy the API key and paste it below.
|
||||
|
||||
**APP URL:**
|
||||
- The API URL for Formbricks example the cloud is at https://app.formbricks.com
|
||||
- **Note: make sure there is no trailing slash and no /api**
|
||||
`;
|
||||
|
||||
export type FormBricksAuthType = {
|
||||
appUrl: string;
|
||||
apiKey: string;
|
||||
};
|
||||
|
||||
export const formBricksAuth = PieceAuth.CustomAuth({
|
||||
required: true,
|
||||
description: markdownPropertyDescription,
|
||||
props: {
|
||||
appUrl: Property.ShortText({
|
||||
displayName: 'APP URL',
|
||||
required: true,
|
||||
defaultValue: 'https://app.formbricks.com',
|
||||
}),
|
||||
apiKey: Property.ShortText({
|
||||
displayName: 'API Key',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
validate: async ({ auth }) => {
|
||||
try {
|
||||
const authValue = auth as PiecePropValueSchema<typeof formBricksAuth>;
|
||||
|
||||
await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `${authValue.appUrl}/api/v1/management/me`,
|
||||
headers: {
|
||||
'x-api-key': authValue.apiKey,
|
||||
},
|
||||
});
|
||||
return {
|
||||
valid: true,
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Please provide correct APP URL and API key.',
|
||||
};
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
export const formbricks = createPiece({
|
||||
displayName: 'Formbricks',
|
||||
description: 'Open source Survey Platform',
|
||||
auth: formBricksAuth,
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/formbricks.png',
|
||||
categories: [PieceCategory.BUSINESS_INTELLIGENCE],
|
||||
authors: ['kanarelo', 'kishanprmr', 'MoShizzle', 'abuaboud'],
|
||||
actions: [
|
||||
createCustomApiCallAction({
|
||||
auth: formBricksAuth,
|
||||
authMapping: async (auth) => {
|
||||
return {
|
||||
'x-api-key': (auth.props).apiKey,
|
||||
};
|
||||
},
|
||||
baseUrl: (auth) => `${(auth?.props?.appUrl ?? '')}/api/v1`,
|
||||
}),
|
||||
],
|
||||
triggers,
|
||||
});
|
||||
@@ -0,0 +1,127 @@
|
||||
import { formBricksRegisterTrigger } from './register';
|
||||
|
||||
export const triggers = [
|
||||
{
|
||||
name: 'response_created',
|
||||
eventType: 'responseCreated',
|
||||
displayName: 'Response Created',
|
||||
description: 'Triggered when a new response is created.',
|
||||
sampleData: {
|
||||
webhookId: 'cljwxvjos0003qhnvj2jg4k5i',
|
||||
event: 'responseCreated',
|
||||
data: {
|
||||
id: 'cljwy2m8r0001qhclco1godnu',
|
||||
createdAt: '2023-07-10T14:14:17.115Z',
|
||||
updatedAt: '2023-07-10T14:14:17.115Z',
|
||||
surveyId: 'cljsf3d7a000019cv9apt2t27',
|
||||
finished: false,
|
||||
data: {
|
||||
qumbk3fkr6cky8850bvvq5z1: 'Executive',
|
||||
},
|
||||
meta: {
|
||||
userAgent: {
|
||||
os: 'Mac OS',
|
||||
browser: 'Chrome',
|
||||
},
|
||||
},
|
||||
personAttributes: {
|
||||
email: 'test@web.com',
|
||||
userId: 'THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING',
|
||||
},
|
||||
person: {
|
||||
id: 'cljold01t0000qh8ewzigzmjk',
|
||||
attributes: {
|
||||
email: 'test@web.com',
|
||||
userId: 'THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING',
|
||||
},
|
||||
createdAt: '2023-07-04T17:56:17.154Z',
|
||||
updatedAt: '2023-07-04T17:56:17.154Z',
|
||||
},
|
||||
notes: [],
|
||||
tags: [],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'response_updated',
|
||||
eventType: 'responseUpdated',
|
||||
displayName: 'Response Updated',
|
||||
description: 'Triggered when a new response is updated.',
|
||||
sampleData: {
|
||||
webhookId: 'cljwxvjos0003qhnvj2jg4k5i',
|
||||
event: 'responseUpdated',
|
||||
data: {
|
||||
id: 'cljwy2m8r0001qhclco1godnu',
|
||||
createdAt: '2023-07-10T14:14:17.115Z',
|
||||
updatedAt: '2023-07-10T14:14:17.115Z',
|
||||
surveyId: 'cljsf3d7a000019cv9apt2t27',
|
||||
finished: false,
|
||||
data: {
|
||||
qumbk3fkr6cky8850bvvq5z1: 'Executive',
|
||||
},
|
||||
meta: {
|
||||
userAgent: {
|
||||
os: 'Mac OS',
|
||||
browser: 'Chrome',
|
||||
},
|
||||
},
|
||||
personAttributes: {
|
||||
email: 'test@web.com',
|
||||
userId: 'THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING',
|
||||
},
|
||||
person: {
|
||||
id: 'cljold01t0000qh8ewzigzmjk',
|
||||
attributes: {
|
||||
email: 'test@web.com',
|
||||
userId: 'THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING',
|
||||
},
|
||||
createdAt: '2023-07-04T17:56:17.154Z',
|
||||
updatedAt: '2023-07-04T17:56:17.154Z',
|
||||
},
|
||||
notes: [],
|
||||
tags: [],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'response_finished',
|
||||
eventType: 'responseFinished',
|
||||
displayName: 'Response Finished',
|
||||
description: 'Triggered when a new response is finished.',
|
||||
sampleData: {
|
||||
webhookId: 'cljwxvjos0003qhnvj2jg4k5i',
|
||||
event: 'responseFinished',
|
||||
data: {
|
||||
id: 'cljwy2m8r0001qhclco1godnu',
|
||||
createdAt: '2023-07-10T14:14:17.115Z',
|
||||
updatedAt: '2023-07-10T14:14:17.115Z',
|
||||
surveyId: 'cljsf3d7a000019cv9apt2t27',
|
||||
finished: false,
|
||||
data: {
|
||||
qumbk3fkr6cky8850bvvq5z1: 'Executive',
|
||||
},
|
||||
meta: {
|
||||
userAgent: {
|
||||
os: 'Mac OS',
|
||||
browser: 'Chrome',
|
||||
},
|
||||
},
|
||||
personAttributes: {
|
||||
email: 'test@web.com',
|
||||
userId: 'THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING',
|
||||
},
|
||||
person: {
|
||||
id: 'cljold01t0000qh8ewzigzmjk',
|
||||
attributes: {
|
||||
email: 'test@web.com',
|
||||
userId: 'THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING',
|
||||
},
|
||||
createdAt: '2023-07-04T17:56:17.154Z',
|
||||
updatedAt: '2023-07-04T17:56:17.154Z',
|
||||
},
|
||||
notes: [],
|
||||
tags: [],
|
||||
},
|
||||
},
|
||||
},
|
||||
].map((props) => formBricksRegisterTrigger(props));
|
||||
@@ -0,0 +1,136 @@
|
||||
import {
|
||||
PiecePropValueSchema,
|
||||
Property,
|
||||
TriggerStrategy,
|
||||
createTrigger,
|
||||
} from '@activepieces/pieces-framework';
|
||||
import {
|
||||
httpClient,
|
||||
HttpRequest,
|
||||
HttpMethod,
|
||||
} from '@activepieces/pieces-common';
|
||||
import { formBricksAuth } from '../..';
|
||||
|
||||
export const formBricksRegisterTrigger = ({
|
||||
name,
|
||||
displayName,
|
||||
eventType,
|
||||
description,
|
||||
sampleData,
|
||||
}: {
|
||||
name: string;
|
||||
displayName: string;
|
||||
eventType: string;
|
||||
description: string;
|
||||
sampleData: unknown;
|
||||
}) =>
|
||||
createTrigger({
|
||||
auth: formBricksAuth,
|
||||
name: `formbricks_trigger_${name}`,
|
||||
displayName,
|
||||
description,
|
||||
props: {
|
||||
survey_id: Property.MultiSelectDropdown({
|
||||
auth: formBricksAuth,
|
||||
displayName: 'Survey',
|
||||
description:
|
||||
'A selection of surveys that will trigger. Else, all surveys will trigger.',
|
||||
required: true,
|
||||
refreshers: [],
|
||||
options: async ({ auth }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: 'Please authenticate first',
|
||||
};
|
||||
}
|
||||
|
||||
const authValue = auth;
|
||||
|
||||
const response = await httpClient.sendRequest<{ data: Survey[] }>({
|
||||
method: HttpMethod.GET,
|
||||
url: `${auth.props.appUrl}/api/v1/management/surveys`,
|
||||
headers: {
|
||||
'x-api-key': auth.props.apiKey,
|
||||
},
|
||||
});
|
||||
|
||||
try {
|
||||
return {
|
||||
disabled: false,
|
||||
options: response.body.data.map((survey) => {
|
||||
return {
|
||||
label: survey.name,
|
||||
value: survey.id,
|
||||
};
|
||||
}),
|
||||
};
|
||||
} catch (error) {
|
||||
return {
|
||||
options: [],
|
||||
disabled: true,
|
||||
placeholder: `Couldn't load Surveys:\n${error}`,
|
||||
};
|
||||
}
|
||||
},
|
||||
}),
|
||||
},
|
||||
sampleData,
|
||||
type: TriggerStrategy.WEBHOOK,
|
||||
async onEnable(context) {
|
||||
const response = await httpClient.sendRequest<WebhookInformation>({
|
||||
method: HttpMethod.POST,
|
||||
url: `${context.auth.props.appUrl}/api/v1/webhooks`,
|
||||
body: {
|
||||
url: context.webhookUrl,
|
||||
triggers: [eventType],
|
||||
surveyIds: context.propsValue.survey_id ?? [],
|
||||
},
|
||||
headers: {
|
||||
'x-api-key': context.auth.props.apiKey,
|
||||
},
|
||||
});
|
||||
await context.store.put<WebhookInformation>(
|
||||
`formbricks_${name}_trigger`,
|
||||
response.body
|
||||
);
|
||||
},
|
||||
async onDisable(context) {
|
||||
const webhook = await context.store.get<WebhookInformation>(
|
||||
`formbricks_${name}_trigger`
|
||||
);
|
||||
if (webhook?.data.id != null) {
|
||||
const request: HttpRequest = {
|
||||
method: HttpMethod.DELETE,
|
||||
url: `${context.auth.props.appUrl}/api/v1/webhooks/${webhook.data.id}`,
|
||||
headers: {
|
||||
'x-api-key': context.auth.props.apiKey,
|
||||
},
|
||||
};
|
||||
await httpClient.sendRequest(request);
|
||||
}
|
||||
},
|
||||
async run(context) {
|
||||
return [context.payload.body];
|
||||
},
|
||||
});
|
||||
|
||||
interface Survey {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface WebhookInformation {
|
||||
data: {
|
||||
id: string;
|
||||
name: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
url: string;
|
||||
source: string;
|
||||
environmentId: string;
|
||||
triggers: Array<string>;
|
||||
surveyIds: Array<string>;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user