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 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Alles, was Sie brauchen, um Ihr Geschäft mit der KI zu transformieren, von benutzerdefinierten Chatbots zu autonomen Agenten.",
|
||||
"Chat ID": "Chat-ID",
|
||||
"API Key": "API-Schlüssel",
|
||||
"The ID of the chat you want to use.": "Die ID des Chats, den Sie verwenden möchten.",
|
||||
"Your re:tune API key.": "Dein re:tune API-Schlüssel.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFolgen Sie diesen Anweisungen, um Ihre re:tune Chat ID und API-Schlüssel zu erhalten:\n\n1. Besuchen Sie die Chatbots Seite: https://retune.so/chats\n2. Sobald Sie auf der Website sind, finden Sie den Chatbot, den Sie verwenden möchten\n3. Kopieren Sie von der URL die Chat-ID, die Sie verwenden möchten;\ne. von diesem: https://retune.so/chat/acewocwe-123123-123123-123123123/ Ihre Chat-ID ist \"acewocwe-123123-123123\"\n4. Um den API-Schlüssel zu erhalten, gehen Sie auf https://retune.so/settings\n5. Scrollen Sie nach unten, um \"Re:tune API Keys\" zu finden und kopieren Sie Ihren Schlüssel unten\n",
|
||||
"Ask Chatbot": "Chatbot fragen",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Sends a message to an existing thread with a chatbot.": "Sendet eine Nachricht an einen bestehenden Thread mit einem Chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"Thread": "Thread",
|
||||
"Message": "Nachricht",
|
||||
"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)",
|
||||
"The thread you want to send the message to.": "Der Thread, an den Sie die Nachricht senden möchten.",
|
||||
"The message you want to send.": "Die Nachricht die Sie senden möchten.",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Todo lo que necesita para transformar su negocio con IA, de chatbots personalizados a agentes autónomos.",
|
||||
"Chat ID": "ID de chat",
|
||||
"API Key": "Clave API",
|
||||
"The ID of the chat you want to use.": "El ID del chat que desea usar.",
|
||||
"Your re:tune API key.": "Tu clave API de re:tune.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nSigue estas instrucciones para obtener tu re:tune chat ID y API Key:\n\n1. Visita la página de chatbots: https://retune.so/chats\n2. Una vez en el sitio web, localiza y haz clic en el chatbot que quieras usar\n3. Desde la URL, copie el ID del chat que desea usar;\ne. de esto: https://retune.so/chat/acewocwe-123123-123123-123123/ tu ID de chat es \"acewocwe-123123-123-123123\"\n4. Para obtener la clave API, vaya a https://retune.so/settings\n5. Desplácese hasta la parte inferior para encontrar \"Re:tune API Keys\" y copie su clave debajo de\n",
|
||||
"Ask Chatbot": "Preguntar a Chatbot",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Sends a message to an existing thread with a chatbot.": "Envía un mensaje a un hilo existente con un chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"Thread": "Hilo",
|
||||
"Message": "Mensaje",
|
||||
"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)",
|
||||
"The thread you want to send the message to.": "El tema al que quieres enviar el mensaje.",
|
||||
"The message you want to send.": "El mensaje que desea enviar.",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Tout ce dont vous avez besoin pour transformer votre entreprise avec AI, des chatbots personnalisés aux agents autonomes.",
|
||||
"Chat ID": "ID du chat",
|
||||
"API Key": "Clé API",
|
||||
"The ID of the chat you want to use.": "L'ID du chat que vous voulez utiliser.",
|
||||
"Your re:tune API key.": "Votre clé API re:tune.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
|
||||
"Ask Chatbot": "Demander à Chatbot",
|
||||
"Custom API Call": "Appel d'API personnalisé",
|
||||
"Sends a message to an existing thread with a chatbot.": "Envoie un message à une discussion existante avec un chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
||||
"Thread": "Fil de discussion",
|
||||
"Message": "Message",
|
||||
"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)",
|
||||
"The thread you want to send the message to.": "Le fil de discussion auquel vous voulez envoyer le message.",
|
||||
"The message you want to send.": "Le message que vous souhaitez envoyer.",
|
||||
"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": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "カスタム チャットボットから自律エージェントまで、AI を活用してビジネスを変革するために必要なすべてのもの。",
|
||||
"Chat ID": "チャット ID",
|
||||
"API Key": "API キー",
|
||||
"The ID of the chat you want to use.": "使用したいチャットの ID",
|
||||
"Your re:tune API key.": "あなたの re:tune API キー。",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
|
||||
"Ask Chatbot": "チャットボットに聞く",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Sends a message to an existing thread with a chatbot.": "チャットボットで既存のスレッドにメッセージを送信します。",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Thread": "スレッド",
|
||||
"Message": "メッセージ",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"The thread you want to send the message to.": "メッセージを送信したいスレッド。",
|
||||
"The message you want to send.": "送信したいメッセージ.",
|
||||
"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": "頭"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Alles wat je nodig hebt om je bedrijf te transformeren met AI, van aangepaste chatbots tot autonome agenten.",
|
||||
"Chat ID": "Chat ID",
|
||||
"API Key": "API Sleutel",
|
||||
"The ID of the chat you want to use.": "Het ID van de chat die je wilt gebruiken.",
|
||||
"Your re:tune API key.": "Je re:tunen API-sleutel.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nVolg deze instructies om je re:tune chat ID en API Key te krijgen:\n\n1. Bezoek de chatbots pagina: https://retune.so/chats\n2. Eenmaal op de website, lokaliseer en klik op de chatbot die je\n3 wilt gebruiken. Vanuit de URL kopieer de chatID die je wilt gebruiken;\ne. van dit: https://retune.so/chat/acewocwe-123123-123123123/ je chatID is \"acewocwe-123123-123123-123123123\"\n4. Om de API-sleutel op te halen, ga naar https://retune.so/instellingen\n5. Scroll naar beneden om \"Her:tunen API-sleutels\" te vinden en kopieer je onderstaande sleutel\n",
|
||||
"Ask Chatbot": "Chatbot vragen",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Sends a message to an existing thread with a chatbot.": "Stuurt een bericht naar een bestaand gesprek met een chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"Thread": "Conversatie",
|
||||
"Message": "bericht",
|
||||
"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)",
|
||||
"The thread you want to send the message to.": "De thread waarnaar u het bericht wilt verzenden.",
|
||||
"The message you want to send.": "Het bericht dat u wilt verzenden.",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Tudo o que você precisa para transformar seu negócio com AI, de chatbots personalizados para agentes autônomos.",
|
||||
"Chat ID": "ID do Chat",
|
||||
"API Key": "Chave de API",
|
||||
"The ID of the chat you want to use.": "O ID do chat que você deseja usar.",
|
||||
"Your re:tune API key.": "Sua chave de API re:tuny.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nSiga estas instruções para obter sua re:tune ID do chat e chave de API:\n\n1. Visite a página do chatbots: https://retune.so/chats\n2. Uma vez no site, localize e clique no chatbot que você deseja usar\n3. Da URL, copie o ID do bate-papo que você deseja usar;\ne. do seguinte: https://retune.so/chat/acewocwe-123123-123123-123123/ seu chat é \"acewocwe-123123-123123-123123123\"\n4. Para obter a chave de API, acesse https://retune.so/settings\n5. Vá até o final para encontrar \"Re:tune chaves de API\" e copiar sua chave abaixo\n",
|
||||
"Ask Chatbot": "Pergunte ao Chatbot",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Sends a message to an existing thread with a chatbot.": "Envia uma mensagem para um tópico existente com um chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"Thread": "Tópico",
|
||||
"Message": "mensagem",
|
||||
"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)",
|
||||
"The thread you want to send the message to.": "Tópico para o qual você deseja enviar mensagem.",
|
||||
"The message you want to send.": "A mensagem que você deseja enviar.",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"re:tune": "дюйм",
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Все, что вам нужно для преобразования вашего бизнеса с AI, от чатботов до автономных агентов.",
|
||||
"Chat ID": "Чат ID",
|
||||
"API Key": "Ключ API",
|
||||
"The ID of the chat you want to use.": "ID чата, который вы хотите использовать.",
|
||||
"Your re:tune API key.": "Ваш ключ: tune API ключ.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nСледуйте этим инструкциям, чтобы получить ваш re:tune чат ID и API Key:\n\n1. Посетите страницу чатботов : https://retune.so/chats\n2. Однажды на сайте, найдите и нажмите на бота чата, который вы хотите использовать\n3. С URL, скопируйте ID чата, который вы хотите использовать;\ne. из этого: https://retune.so/chat/acewocwe-123123-123123123/ твой чат ID \"acewocwe-123123-123123-123123\"\n4. Чтобы получить ключ API, перейдите на https://retune.so/settings\n5. Прокрутите вниз, чтобы найти «Re:tune API Keys» и скопируйте ваш ключ ниже\n",
|
||||
"Ask Chatbot": "Спросить Чатбота",
|
||||
"Custom API Call": "Пользовательский вызов API",
|
||||
"Sends a message to an existing thread with a chatbot.": "Отправляет сообщение в существующую тему с помощью чата.",
|
||||
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
||||
"Thread": "Поток",
|
||||
"Message": "Сообщение",
|
||||
"Method": "Метод",
|
||||
"Headers": "Заголовки",
|
||||
"Query Parameters": "Параметры запроса",
|
||||
"Body": "Тело",
|
||||
"No Error on Failure": "Нет ошибок при ошибке",
|
||||
"Timeout (in seconds)": "Таймаут (в секундах)",
|
||||
"The thread you want to send the message to.": "Поток, на который вы хотите отправить сообщение.",
|
||||
"The message you want to send.": "Сообщение, которое вы хотите отправить.",
|
||||
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
||||
"GET": "ПОЛУЧИТЬ",
|
||||
"POST": "ПОСТ",
|
||||
"PATCH": "ПАТЧ",
|
||||
"PUT": "ПОКУПИТЬ",
|
||||
"DELETE": "УДАЛИТЬ",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.",
|
||||
"Chat ID": "Chat ID",
|
||||
"API Key": "API Key",
|
||||
"The ID of the chat you want to use.": "The ID of the chat you want to use.",
|
||||
"Your re:tune API key.": "Your re:tune API key.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
|
||||
"Ask Chatbot": "Ask Chatbot",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Sends a message to an existing thread with a chatbot.": "Sends a message to an existing thread with a chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Thread": "Thread",
|
||||
"Message": "Message",
|
||||
"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)",
|
||||
"The thread you want to send the message to.": "The thread you want to send the message to.",
|
||||
"The message you want to send.": "The message you want to send.",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"re:tune": "re:tune",
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.",
|
||||
"Chat ID": "Chat ID",
|
||||
"API Key": "API Key",
|
||||
"The ID of the chat you want to use.": "The ID of the chat you want to use.",
|
||||
"Your re:tune API key.": "Your re:tune API key.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
|
||||
"Ask Chatbot": "Ask Chatbot",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Sends a message to an existing thread with a chatbot.": "Sends a message to an existing thread with a chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Thread": "Thread",
|
||||
"Message": "Message",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"The thread you want to send the message to.": "The thread you want to send the message to.",
|
||||
"The message you want to send.": "The message you want to send.",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Everything you need to transform your business with AI, from custom chatbots to autonomous agents.": "Everything you need to transform your business with AI, from custom chatbots to autonomous agents.",
|
||||
"Chat ID": "Chat ID",
|
||||
"API Key": "API 密钥",
|
||||
"The ID of the chat you want to use.": "The ID of the chat you want to use.",
|
||||
"Your re:tune API key.": "Your re:tune API key.",
|
||||
"\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n": "\nFollow these instructions to get your re:tune chat ID and API Key:\n\n1. Visit the chatbots page: https://retune.so/chats\n2. Once on the website, locate and click on the chatbot you want to use\n3. From the URL, copy the chat ID you want to use;\ne.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is \"acewocwe-123123-123123-123123\"\n4. To get the API key, go to https://retune.so/settings\n5. Scroll to the bottom to find \"Re:tune API Keys\" and copy your key below\n",
|
||||
"Ask Chatbot": "Ask Chatbot",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Sends a message to an existing thread with a chatbot.": "Sends a message to an existing thread with a chatbot.",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Thread": "Thread",
|
||||
"Message": "Message",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"The thread you want to send the message to.": "The thread you want to send the message to.",
|
||||
"The message you want to send.": "The message you want to send.",
|
||||
"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": "黑色"
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
import {
|
||||
createCustomApiCallAction,
|
||||
httpClient,
|
||||
HttpMethod,
|
||||
} from '@activepieces/pieces-common';
|
||||
import {
|
||||
createPiece,
|
||||
PieceAuth,
|
||||
Property,
|
||||
} from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { askChatbot } from './lib/actions/ask-chatbot';
|
||||
|
||||
const markdownDescription = `
|
||||
Follow these instructions to get your re:tune chat ID and API Key:
|
||||
|
||||
1. Visit the chatbots page: https://retune.so/chats
|
||||
2. Once on the website, locate and click on the chatbot you want to use
|
||||
3. From the URL, copy the chat ID you want to use;
|
||||
e.g from this: https://retune.so/chat/acewocwe-123123-123123-123123/ your chat ID is "acewocwe-123123-123123-123123"
|
||||
4. To get the API key, go to https://retune.so/settings
|
||||
5. Scroll to the bottom to find "Re:tune API Keys" and copy your key below
|
||||
`;
|
||||
|
||||
export const retuneAuth = PieceAuth.CustomAuth({
|
||||
description: markdownDescription,
|
||||
required: true,
|
||||
props: {
|
||||
// There is no way to programmatically get the user's chatbots, so we have this
|
||||
chatId: Property.ShortText({
|
||||
displayName: 'Chat ID',
|
||||
description: 'The ID of the chat you want to use.',
|
||||
required: true,
|
||||
}),
|
||||
apiKey: PieceAuth.SecretText({
|
||||
displayName: 'API Key',
|
||||
description: 'Your re:tune API key.',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
|
||||
validate: async (auth) => {
|
||||
try {
|
||||
await httpClient.sendRequest<{
|
||||
data: { id: string }[];
|
||||
}>({
|
||||
url: `https://retune.so/api/chat/${auth.auth.chatId}/threads`,
|
||||
method: HttpMethod.POST,
|
||||
headers: {
|
||||
'X-Workspace-API-Key': auth.auth.apiKey,
|
||||
},
|
||||
body: {},
|
||||
});
|
||||
return {
|
||||
valid: true,
|
||||
};
|
||||
} catch (e) {
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Invalid API key',
|
||||
};
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
export const retune = createPiece({
|
||||
displayName: 're:tune',
|
||||
description:
|
||||
'Everything you need to transform your business with AI, from custom chatbots to autonomous agents.',
|
||||
|
||||
auth: retuneAuth,
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/retune.png',
|
||||
categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],
|
||||
authors: ["kishanprmr","MoShizzle","abuaboud"],
|
||||
actions: [
|
||||
askChatbot,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => 'https://retune.so/api',
|
||||
auth: retuneAuth,
|
||||
authMapping: async (auth) => ({
|
||||
'X-Workspace-API-Key': (auth).props.apiKey,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
@@ -0,0 +1,67 @@
|
||||
import { Property, createAction } from '@activepieces/pieces-framework';
|
||||
import { retuneAuth } from '../../index';
|
||||
import { HttpMethod, httpClient } from '@activepieces/pieces-common';
|
||||
|
||||
export const askChatbot = createAction({
|
||||
auth: retuneAuth,
|
||||
name: 'ask_chatbot',
|
||||
displayName: 'Ask Chatbot',
|
||||
description: 'Sends a message to an existing thread with a chatbot.',
|
||||
props: {
|
||||
thread: Property.Dropdown({
|
||||
auth: retuneAuth,
|
||||
displayName: 'Thread',
|
||||
description: 'The thread you want to send the message to.',
|
||||
required: true,
|
||||
refreshers: [],
|
||||
options: async ({ auth }) => {
|
||||
if (!auth) {
|
||||
return {
|
||||
disabled: true,
|
||||
options: [],
|
||||
placeholder: 'Please connect your account first',
|
||||
};
|
||||
}
|
||||
const options = await httpClient.sendRequest({
|
||||
url: `https://retune.so/api/chat/${(auth).props.chatId}/threads`,
|
||||
method: HttpMethod.POST,
|
||||
headers: {
|
||||
'X-Workspace-API-Key': (auth).props.apiKey,
|
||||
},
|
||||
body: {},
|
||||
});
|
||||
|
||||
return {
|
||||
options: options.body['threads'].map((item: any) => {
|
||||
return {
|
||||
label: item.name ?? item.id,
|
||||
value: item.id,
|
||||
};
|
||||
}),
|
||||
};
|
||||
},
|
||||
}),
|
||||
message: Property.ShortText({
|
||||
displayName: 'Message',
|
||||
description: 'The message you want to send.',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run({ auth, propsValue }) {
|
||||
const { thread, message } = propsValue;
|
||||
|
||||
const response = await httpClient.sendRequest({
|
||||
url: `https://retune.so/api/chat/${auth.props.chatId}/response`,
|
||||
method: HttpMethod.POST,
|
||||
headers: {
|
||||
'X-Workspace-API-Key': auth.props.apiKey,
|
||||
},
|
||||
body: {
|
||||
threadId: thread,
|
||||
input: message,
|
||||
},
|
||||
});
|
||||
|
||||
return (response.body as any).response.value;
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user