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,36 @@
|
||||
{
|
||||
"Brevo": "Brevo",
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Formerly Sendinblue, is a SaaS solution for relationship marketing",
|
||||
"Your project API key": "Your project API key",
|
||||
"Create or Update Contact": "Create or Update Contact",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create or update an existing contact": "Create or update an existing contact",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"External ID": "External ID",
|
||||
"Attributes": "Attributes",
|
||||
"Email Blacklisted?": "Email Blacklisted?",
|
||||
"SMS Blacklisted?": "SMS Blacklisted?",
|
||||
"List IDs": "List IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pass your own Id to create a contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Set this field to blacklist the contact for emails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Set this field to blacklist the contact for SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the lists to add the contact to.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Früher Sendinblue, ist eine SaaS-Lösung für Relationship Marketing",
|
||||
"Your project API key": "Ihr Projekt API-Schlüssel",
|
||||
"Create or Update Contact": "Kontakt erstellen oder aktualisieren",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Create or update an existing contact": "Einen bestehenden Kontakt erstellen oder aktualisieren",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"Email": "E-Mail",
|
||||
"External ID": "Externe ID",
|
||||
"Attributes": "Attribute",
|
||||
"Email Blacklisted?": "E-Mail gesperrt?",
|
||||
"SMS Blacklisted?": "SMS gesperrt?",
|
||||
"List IDs": "Listen-IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"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)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "E-Mail-Adresse des Benutzers. Pflichtfeld, wenn das Feld \"SMS\" nicht im Parameter \"Attributen\" übergeben wird. Mobilnummer im SMS-Feld sollte mit korrektem Landescode übergeben werden. Beispiel: {\"SMS\":\"+91xxxxxxxx\"} oder {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Übergeben Sie Ihre eigene Id um einen Kontakt zu erstellen.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Übergeben Sie den Satz von Attributen und deren Werten. Der Parameter des Attributs sollte im Großbuchstaben übergeben werden, während ein Kontakt erstellt wird. Diese Attribute müssen in deinem SendinBlue-Konto vorhanden sein. Zum Beispiel:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Setze dieses Feld um den Kontakt für E-Mails zu blockieren (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Setze dieses Feld um den Kontakt für SMS zu blockieren (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Kennungen der Listen zu denen der Kontakt hinzugefügt werden soll.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transaktionaler Absender für Kontakt. Nur für E-Mail-Kontakt verwenden ( nur verfügbar, wenn updateAktiviert = true )",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Anteriormente Sendinblue, es una solución SaaS para la comercialización de relaciones",
|
||||
"Your project API key": "Su clave API de proyecto",
|
||||
"Create or Update Contact": "Crear o actualizar contacto",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Create or update an existing contact": "Crear o actualizar un contacto existente",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"Email": "E-mail",
|
||||
"External ID": "ID Externo",
|
||||
"Attributes": "Atributos",
|
||||
"Email Blacklisted?": "¿Correo en lista negra?",
|
||||
"SMS Blacklisted?": "¿SMS en la lista negra?",
|
||||
"List IDs": "Listar IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"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)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Dirección de correo electrónico del usuario. Mandatorio si el campo \"SMS\" no se pasa en el parámetro \"atributos\". El número de móvil en el campo SMS debe ser pasado con el código de país apropiado. Por ejemplo: {\"SMS\":\"+91xxxxxxxxxxx\"} o {\"SMS\":\"0091xxxxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pase su propio Id para crear un contacto.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pase el conjunto de atributos y sus valores. El parámetro del atributo debe ser pasado en mayúsculas mientras crea un contacto. Estos atributos deben estar presentes en su cuenta SendinBlue. Por ejemplo:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Establecer este campo para lista negra el contacto para los correos electrónicos (emailBlacklist = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Establecer este campo para lista negra el contacto para SMS (smsBlacklist = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids de las listas a las que agregar el contacto.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "correo electrónico transaccional prohibido para el contacto. Utilizar sólo para el correo electrónico de contacto ( sólo disponible si se habilita = verdadero )",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Anciennement Sendinblue, est une solution SaaS pour le marketing relationnel",
|
||||
"Your project API key": "Votre clé API de projet",
|
||||
"Create or Update Contact": "Créer ou mettre à jour le contact",
|
||||
"Custom API Call": "Appel d'API personnalisé",
|
||||
"Create or update an existing contact": "Créer ou mettre à jour un contact existant",
|
||||
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
||||
"Email": "Courriel",
|
||||
"External ID": "ID externe",
|
||||
"Attributes": "Attributs",
|
||||
"Email Blacklisted?": "Liste noire des e-mails?",
|
||||
"SMS Blacklisted?": "SMS en liste noire?",
|
||||
"List IDs": "Liste des IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"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)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Adresse e-mail de l'utilisateur. Obligatoire si le champ \"SMS\" n'est pas passé dans le paramètre \"attributs\". Le numéro de téléphone mobile dans le champ SMS doit être transmis avec le code de pays approprié. Par exemple: {\"SMS\":\"+91xxxxxxxx\"} ou {\"SMS\":\"0091xxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Passez votre propre Id pour créer un contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Passer l'ensemble des attributs et leurs valeurs. Le paramètre de l'attribut doit être passé en majuscule lors de la création d'un contact. Ces attributs doivent être présents dans votre compte SendinBlue. Par exemple:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Définir ce champ pour mettre en liste noire le contact pour les emails (emailBlacklist = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Définir ce champ pour mettre en liste noire le contact pour SMS (smsBlacklist = true)",
|
||||
"Ids of the lists to add the contact to.": "IDs des listes à ajouter au contact.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "e-mail transactionnel expéditeur interdit pour le contact. Utiliser uniquement pour le contact par e-mail (disponible uniquement si updateEnabled = true )",
|
||||
"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,36 @@
|
||||
{
|
||||
"Brevo": "Brevo",
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Formerly Sendinblue, is a SaaS solution for relationship marketing",
|
||||
"Your project API key": "Your project API key",
|
||||
"Create or Update Contact": "Create or Update Contact",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create or update an existing contact": "Create or update an existing contact",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"External ID": "External ID",
|
||||
"Attributes": "Attributes",
|
||||
"Email Blacklisted?": "Email Blacklisted?",
|
||||
"SMS Blacklisted?": "SMS Blacklisted?",
|
||||
"List IDs": "List IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pass your own Id to create a contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Set this field to blacklist the contact for emails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Set this field to blacklist the contact for SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the lists to add the contact to.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )",
|
||||
"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,36 @@
|
||||
{
|
||||
"Brevo": "Brevo",
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Formerly Sendinblue, is a SaaS solution for relationship marketing",
|
||||
"Your project API key": "Your project API key",
|
||||
"Create or Update Contact": "Create or Update Contact",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create or update an existing contact": "Create or update an existing contact",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"External ID": "External ID",
|
||||
"Attributes": "Attributes",
|
||||
"Email Blacklisted?": "Email Blacklisted?",
|
||||
"SMS Blacklisted?": "SMS Blacklisted?",
|
||||
"List IDs": "List IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pass your own Id to create a contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Set this field to blacklist the contact for emails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Set this field to blacklist the contact for SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the lists to add the contact to.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "旧Sendinblueは関係マーケティングのためのSaaSソリューションです",
|
||||
"Your project API key": "プロジェクト API キー",
|
||||
"Create or Update Contact": "連絡先を作成または更新",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Create or update an existing contact": "既存の連絡先を作成または更新",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Email": "Eメールアドレス",
|
||||
"External ID": "外部 ID",
|
||||
"Attributes": "属性",
|
||||
"Email Blacklisted?": "メールがブラックリストに登録されていますか?",
|
||||
"SMS Blacklisted?": "SMSがブラックリストに登録されていますか?",
|
||||
"List IDs": "リストID",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "ユーザーのメールアドレスです。「SMS」フィールドが「属性」パラメータに渡されない場合は必須です。 SMS内の携帯電話番号は、適切な国コードで渡す必要があります。例: {\"SMS\":\"+91xxxxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "独自の Id を渡して連絡先を作成します。",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "属性のセットとその値を渡します。連絡先を作成するときは、属性のパラメータを大文字で渡す必要があります。 これらの属性はSendinBlueアカウントに存在する必要があります。例えば:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "この項目をメールの連絡先をブラックリストに追加します(emailBlacklisted = true)。",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "SMSの連絡先をブラックリストに登録する (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "連絡先を追加するリストのID。",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "連絡先のトランザクションメールが禁止されている送信者です。メール連絡先にのみ使用します (updateEnabled = true の場合にのみ使用できます )",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Voorheen Sendinblue is een SaaS-oplossing voor relatiesmarketing",
|
||||
"Your project API key": "Uw project API-sleutel",
|
||||
"Create or Update Contact": "Maken of bijwerken van contactpersoon",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create or update an existing contact": "Een bestaand contact aanmaken of bijwerken",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"Email": "E-mail",
|
||||
"External ID": "Extern ID",
|
||||
"Attributes": "Kenmerken",
|
||||
"Email Blacklisted?": "Blacklist e-mailen?",
|
||||
"SMS Blacklisted?": "Sms'en naar sms'en?",
|
||||
"List IDs": "ID's weergeven",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"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)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "E-mail adres van de gebruiker. Verplicht als \"SMS\" veld niet is doorgegeven in de \"attributen\" parameter. Mobiel nummer in het SMS-veld moet worden doorgegeven met de juiste landcode. Bijvoorbeeld: {\"SMS\":\"+91xxxxxxxxxx\"} of {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Vul uw eigen ID in om een contactpersoon aan te maken.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Vul de set van attributen en hun waarden in. De parameter van het attribuut moet in de hoofdletter worden doorgegeven tijdens het creëren van een contact. Deze attributen moeten aanwezig zijn in je SendinBlue account. Bijvoorbeeld:\n {\"FNAME\":\"El\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Stel dit veld in om het contact te blokkeren voor e-mails (e-mailadresseerlijst = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Zet dit veld op een blacklist van het contact voor SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the list waar je de contactpersoon aan wilt toevoegen.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactionele e-mail is niet toegestaan afzender voor contact. Gebruik alleen voor e-mail contact (alleen beschikbaar als bijgewerkt = waar)",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Anteriormente Sendinblue, é uma solução SaaS para marketing de relacionamento",
|
||||
"Your project API key": "Sua chave API do projeto",
|
||||
"Create or Update Contact": "Criar ou atualizar contato",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Create or update an existing contact": "Criar ou atualizar um contato existente",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"Email": "e-mail",
|
||||
"External ID": "ID Externo",
|
||||
"Attributes": "Atributos",
|
||||
"Email Blacklisted?": "E-mail negra?",
|
||||
"SMS Blacklisted?": "SMS negra?",
|
||||
"List IDs": "Listar IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"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)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Endereço de e-mail do usuário. Obrigatório se o campo \"SMS\" não for passado no parâmetro \"atributos\". O número de celular no campo SMS deve ser passado com o código de país apropriado. Por exemplo: {\"SMS\":\"+91xxxxxxxxxx\"} ou {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Passe a sua própria identificação para criar um contato.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Passe o conjunto de atributos e seus valores. O parâmetro do atributo deve ser passado em letra maiúscula ao criar um contato. Estes atributos devem estar presentes na sua conta SendinAzul. Por exemplo:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Defina este campo para colocar na lista negra o contato para e-mails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Defina este campo para a lista negra do contato para SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids da lista para adicionar o contato a.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "e-mail transacional proibido para contato. Use apenas para contato de e-mail (disponível somente se atualizado = true )",
|
||||
"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,36 @@
|
||||
{
|
||||
"Brevo": "Брево",
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Ранее Sendinblue, это SaaS решение для маркетинга отношений",
|
||||
"Your project API key": "API ключ вашего проекта",
|
||||
"Create or Update Contact": "Создать или обновить контакт",
|
||||
"Custom API Call": "Пользовательский вызов API",
|
||||
"Create or update an existing contact": "Создать или обновить существующий контакт",
|
||||
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
||||
"Email": "Почта",
|
||||
"External ID": "Внешний ID",
|
||||
"Attributes": "Атрибуты",
|
||||
"Email Blacklisted?": "Черный список электронной почты?",
|
||||
"SMS Blacklisted?": "SMS в чёрном списке?",
|
||||
"List IDs": "ID списка",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "Метод",
|
||||
"Headers": "Заголовки",
|
||||
"Query Parameters": "Параметры запроса",
|
||||
"Body": "Тело",
|
||||
"No Error on Failure": "Нет ошибок при ошибке",
|
||||
"Timeout (in seconds)": "Таймаут (в секундах)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Адрес электронной почты пользователя. Обязательно, если поле \"SMS\" не передается в параметре \"attributes\". Мобильный номер в поле SMS должен передаваться с правильным кодом страны. Например: {\"SMS\":\"+91xxxxxxxxxx\"} или {\"SMS\":\"0091xxxxxxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Передайте свой идентификатор для создания контакта.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Пропускать набор атрибутов и их значения. Параметр атрибута должен передаваться заглавной буквой при создании контакта. Эти атрибуты должны присутствовать в учетной записи SendinBlue. Для примера:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Установите это поле в чёрный список контактов для писем (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Установите это поле в чёрный список контакта для SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Идентификаторы списков для добавления контакта.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "транзакционная электронная почта запрещена отправителю для контакта. Используйте только для контакта по электронной почте (только если updateEnabled = true )",
|
||||
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
||||
"GET": "ПОЛУЧИТЬ",
|
||||
"POST": "ПОСТ",
|
||||
"PATCH": "ПАТЧ",
|
||||
"PUT": "ПОКУПИТЬ",
|
||||
"DELETE": "УДАЛИТЬ",
|
||||
"HEAD": "HEAD"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Formerly Sendinblue, is a SaaS solution for relationship marketing",
|
||||
"Your project API key": "Your project API key",
|
||||
"Create or Update Contact": "Create or Update Contact",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create or update an existing contact": "Create or update an existing contact",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"External ID": "External ID",
|
||||
"Attributes": "Attributes",
|
||||
"Email Blacklisted?": "Email Blacklisted?",
|
||||
"SMS Blacklisted?": "SMS Blacklisted?",
|
||||
"List IDs": "List IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"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)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pass your own Id to create a contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Set this field to blacklist the contact for emails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Set this field to blacklist the contact for SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the lists to add the contact to.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )",
|
||||
"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,36 @@
|
||||
{
|
||||
"Brevo": "Brevo",
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Formerly Sendinblue, is a SaaS solution for relationship marketing",
|
||||
"Your project API key": "Your project API key",
|
||||
"Create or Update Contact": "Create or Update Contact",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create or update an existing contact": "Create or update an existing contact",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"External ID": "External ID",
|
||||
"Attributes": "Attributes",
|
||||
"Email Blacklisted?": "Email Blacklisted?",
|
||||
"SMS Blacklisted?": "SMS Blacklisted?",
|
||||
"List IDs": "List IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pass your own Id to create a contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Set this field to blacklist the contact for emails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Set this field to blacklist the contact for SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the lists to add the contact to.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )",
|
||||
"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,37 @@
|
||||
{
|
||||
"Formerly Sendinblue, is a SaaS solution for relationship marketing": "Formerly Sendinblue, is a SaaS solution for relationship marketing",
|
||||
"Your project API key": "Your project API key",
|
||||
"Create or Update Contact": "Create or Update Contact",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Create or update an existing contact": "Create or update an existing contact",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Email": "电子邮件地址",
|
||||
"External ID": "外部ID",
|
||||
"Attributes": "Attributes",
|
||||
"Email Blacklisted?": "Email Blacklisted?",
|
||||
"SMS Blacklisted?": "SMS Blacklisted?",
|
||||
"List IDs": "List IDs",
|
||||
"SMTP Blacklist Sender": "SMTP Blacklist Sender",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}": "Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"}",
|
||||
"Pass your own Id to create a contact.": "Pass your own Id to create a contact.",
|
||||
"Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}": "Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}",
|
||||
"Set this field to blacklist the contact for emails (emailBlacklisted = true)": "Set this field to blacklist the contact for emails (emailBlacklisted = true)",
|
||||
"Set this field to blacklist the contact for SMS (smsBlacklisted = true)": "Set this field to blacklist the contact for SMS (smsBlacklisted = true)",
|
||||
"Ids of the lists to add the contact to.": "Ids of the lists to add the contact to.",
|
||||
"transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )": "transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )",
|
||||
"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,32 @@
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { PieceAuth, createPiece } from '@activepieces/pieces-framework';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { createOrUpdateContact } from './lib/actions/create-or-update-contact';
|
||||
|
||||
export const sendinblueAuth = PieceAuth.SecretText({
|
||||
displayName: 'Project API key',
|
||||
description: 'Your project API key',
|
||||
required: true,
|
||||
});
|
||||
|
||||
export const sendinblue = createPiece({
|
||||
displayName: 'Brevo',
|
||||
description:
|
||||
'Formerly Sendinblue, is a SaaS solution for relationship marketing',
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/brevo.png',
|
||||
authors: ["kanarelo","BLaidzX","Salem-Alaa","kishanprmr","MoShizzle","khaledmashaly","abuaboud"],
|
||||
categories: [PieceCategory.MARKETING],
|
||||
auth: sendinblueAuth,
|
||||
actions: [
|
||||
createOrUpdateContact,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: () => 'https://api.sendinblue.com/v3',
|
||||
auth: sendinblueAuth,
|
||||
authMapping: async (auth) => ({
|
||||
'api-key': auth.secret_text,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: [],
|
||||
});
|
||||
@@ -0,0 +1,107 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import { httpClient, HttpMethod } from '@activepieces/pieces-common';
|
||||
import { sendinblueAuth } from '../..';
|
||||
|
||||
export const createOrUpdateContact = createAction({
|
||||
auth: sendinblueAuth,
|
||||
name: 'create_or_update_contact',
|
||||
displayName: 'Create or Update Contact',
|
||||
description: 'Create or update an existing contact',
|
||||
props: {
|
||||
email: Property.ShortText({
|
||||
displayName: 'Email',
|
||||
description: `Email address of the user. Mandatory if "SMS" field is not passed in "attributes" parameter. Mobile Number in SMS field should be passed with proper country code. For example: {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}`,
|
||||
required: true,
|
||||
}),
|
||||
ext_id: Property.ShortText({
|
||||
displayName: 'External ID',
|
||||
description: `Pass your own Id to create a contact.`,
|
||||
required: false,
|
||||
}),
|
||||
attributes: Property.Object({
|
||||
displayName: 'Attributes',
|
||||
description: `Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your SendinBlue account. For eg:
|
||||
{"FNAME":"Elly", "LNAME":"Roger"}`,
|
||||
required: false,
|
||||
defaultValue: {
|
||||
FIRST_NAME: '',
|
||||
LAST_NAME: '',
|
||||
SMS: '',
|
||||
CIV: '',
|
||||
DOB: '',
|
||||
ADDRESS: '',
|
||||
ZIP_CODE: '',
|
||||
CITY: '',
|
||||
AREA: '',
|
||||
},
|
||||
}),
|
||||
email_blacklisted: Property.Checkbox({
|
||||
displayName: 'Email Blacklisted?',
|
||||
description: `Set this field to blacklist the contact for emails (emailBlacklisted = true)`,
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
sms_blacklisted: Property.Checkbox({
|
||||
displayName: 'SMS Blacklisted?',
|
||||
description: `Set this field to blacklist the contact for SMS (smsBlacklisted = true)`,
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
list_ids: Property.Array({
|
||||
displayName: 'List IDs',
|
||||
description: `Ids of the lists to add the contact to.`,
|
||||
required: false,
|
||||
defaultValue: [],
|
||||
}),
|
||||
smtp_blacklist_sender: Property.Checkbox({
|
||||
displayName: 'SMTP Blacklist Sender',
|
||||
description: `transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )`,
|
||||
required: false,
|
||||
defaultValue: false,
|
||||
}),
|
||||
},
|
||||
async run(context) {
|
||||
let listIds: number[] = [];
|
||||
if (context.propsValue.list_ids) {
|
||||
listIds = context.propsValue.list_ids.map((listId) => {
|
||||
return parseInt(listId as unknown as string);
|
||||
});
|
||||
}
|
||||
const contact = {
|
||||
email: context.propsValue.email,
|
||||
ext_id: context.propsValue.ext_id,
|
||||
attributes: context.propsValue.attributes,
|
||||
emailBlacklisted: context.propsValue.email_blacklisted,
|
||||
smsBlacklisted: context.propsValue.sms_blacklisted,
|
||||
listIds: listIds,
|
||||
smtpBlacklistSender: context.propsValue.smtp_blacklist_sender,
|
||||
updateEnabled: true,
|
||||
};
|
||||
const identifier = context.propsValue.email;
|
||||
|
||||
// filter out undefined values
|
||||
const body = Object.fromEntries(
|
||||
Object.entries(contact).filter(([_, value]) => Boolean(value))
|
||||
);
|
||||
|
||||
console.log('Contact update request ' + identifier);
|
||||
const updateResponse = await httpClient.sendRequest({
|
||||
method: HttpMethod.POST,
|
||||
url: `https://api.sendinblue.com/v3/contacts`,
|
||||
body,
|
||||
headers: {
|
||||
'api-key': context.auth.secret_text,
|
||||
},
|
||||
});
|
||||
console.debug('Contact update response', updateResponse);
|
||||
|
||||
const contactREsponse = await httpClient.sendRequest({
|
||||
method: HttpMethod.GET,
|
||||
url: `https://api.sendinblue.com/v3/contacts/${encodeURI(identifier)}`,
|
||||
headers: {
|
||||
'api-key': context.auth.secret_text,
|
||||
},
|
||||
});
|
||||
return contactREsponse.body;
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user