AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(sendinblue): ui improvement (#16375)
Talal Jaberf98f6e9545b2
diff --git a/bun.lock b/bun.lockindex 26b3aedbea3..7ada3dec019 100644--- a/bun.lock+++ b/bun.lock@@ -8197,7 +8197,7 @@},"packages/pieces/community/sendinblue": {"name": "@activepieces/piece-sendinblue",- "version": "0.4.2",+ "version": "0.5.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",@@ -8206,6 +8206,7 @@},"devDependencies": {"tslib": "2.6.2",+ "vitest": "3.2.6",},},"packages/pieces/community/sendpulse": {diff --git a/docs/install/reference/breaking-changes-unreleased.mdx b/docs/install/reference/breaking-changes-unreleased.mdxindex 6fdd6672f5e..b089ce4912b 100644--- a/docs/install/reference/breaking-changes-unreleased.mdx+++ b/docs/install/reference/breaking-changes-unreleased.mdx@@ -8,6 +8,14 @@ Entries here move to [Breaking Changes](/install/reference/breaking-changes) aut## What has changed?+#### Brevo 0.5.0: an unticked unsubscribe toggle no longer re-subscribes the contact++On Create or Update Contact, the two blacklist toggles (now labelled **Unsubscribe From Email** and **Unsubscribe From SMS**) promised that leaving them untouched kept the contact's current setting. A fresh step saves an untouched toggle as `false`, so every run sent `emailBlacklisted: false` and `smsBlacklisted: false` and silently re-subscribed contacts who had opted out. Unsubscribe Contact did the same when one of its toggles was unticked. From 0.5.0 an unticked toggle sends nothing and the contact's setting is left as it is; a ticked toggle still unsubscribes. Unsubscribe Contact now fails with a clear message when nothing is ticked and no list is picked, instead of sending an empty update.++#### What you need to do++Nothing for flows that only ever unsubscribe contacts. A flow that relied on Create or Update Contact or Unsubscribe Contact to put a contact back on email or SMS can no longer do it from these actions; use **Custom API Call** with `PUT /contacts/{email}` and a body of `{"emailBlacklisted": false}` (or `smsBlacklisted`). Steps keep running on the version they were built with until you upgrade them.+#### Telegram Bot Get Chat and Get Chat Member fail on Telegram errors, and Get File no longer returns the bot tokenGet Chat and Get Chat Member used to return Telegram's error response, such as `{ "ok": false, "description": "Bad Request: chat not found" }`, as a **successful** step. From Telegram Bot 0.8.0 the step fails with that error instead, so a wrong chat or user ID stops the flow where it happened.diff --git a/packages/pieces/community/sendinblue/package.json b/packages/pieces/community/sendinblue/package.jsonindex baaf3ac752b..23925b955a4 100644--- a/packages/pieces/community/sendinblue/package.json+++ b/packages/pieces/community/sendinblue/package.json@@ -1,12 +1,13 @@{"name": "@activepieces/piece-sendinblue",- "version": "0.4.2",+ "version": "0.5.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","scripts": {"build": "tsc -p tsconfig.lib.json && cp package.json dist/","bundle": "node ../../../../dist/packages/cli/src/index.js pieces bundle",- "lint": "eslint 'src/**/*.ts'"+ "lint": "eslint 'src/**/*.ts'",+ "test": "vitest run"},"dependencies": {"@activepieces/pieces-common": "workspace:*",@@ -15,6 +16,7 @@"@activepieces/core-utils": "workspace:*"},"devDependencies": {- "tslib": "2.6.2"+ "tslib": "2.6.2",+ "vitest": "3.2.6"}}diff --git a/packages/pieces/community/sendinblue/src/i18n/de.json b/packages/pieces/community/sendinblue/src/i18n/de.jsonindex 347dc29040c..417f5157a71 100644--- a/packages/pieces/community/sendinblue/src/i18n/de.json+++ b/packages/pieces/community/sendinblue/src/i18n/de.json@@ -39,5 +39,74 @@"None": "Keine","JSON": "JSON","Form Data": "Formulardaten",- "Raw": "Rohe"+ "Raw": "Rohe",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "E-Mail-, SMS- und Kontakt-Marketingplattform, früher Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "So erhalten Sie Ihren API-Schlüssel:\n1. Melden Sie sich bei Brevo an.\n2. Öffnen Sie das Kontomenü, gehen Sie zu **SMTP & API** und öffnen Sie den Tab **API Keys**.\n3. Klicken Sie auf **Generate a new API key**, geben Sie ihm einen Namen und kopieren Sie den Schlüssel.",+ "Create a contact, or update it if the email already exists.": "Einen Kontakt erstellen oder, falls die E-Mail bereits existiert, aktualisieren.",+ "Send one email, written here or from a saved Brevo template.": "Eine E-Mail senden, hier verfasst oder aus einer gespeicherten Brevo-Vorlage.",+ "Add to Lists": "Zu Listen hinzufügen",+ "Unsubscribe From Email": "Von E-Mails abmelden",+ "Unsubscribe From SMS": "Von SMS abmelden",+ "Look Up By": "Suchen nach",+ "Value": "Wert",+ "To": "An",+ "Cc": "Cc",+ "Bcc": "Bcc",+ "Sender": "Absender",+ "Sender Name": "Absendername",+ "Template": "Vorlage",+ "Template Parameters": "Vorlagenparameter",+ "Subject": "Betreff",+ "HTML Content": "HTML-Inhalt",+ "Text Content": "Textinhalt",+ "Attachments": "Anhänge",+ "Tags": "Tags",+ "Send At": "Senden am",+ "Recipient": "Empfänger",+ "Content": "Inhalt",+ "Message Type": "Nachrichtentyp",+ "Tag": "Markierung",+ "Send as Unicode": "Als Unicode senden",+ "Brand Name": "Markenname",+ "Name": "Name",+ "Date": "Datum",+ "Details": "Details",+ "Lists": "Listen",+ "Type": "Typ",+ "Event": "Ereignis",+ "Empty fields keep their current value.": "Leere Felder behalten ihren aktuellen Wert.",+ "The contact is matched by this address.": "Der Kontakt wird über diese Adresse zugeordnet.",+ "Your own ID for this contact.": "Ihre eigene ID für diesen Kontakt.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Verwenden Sie Attributnamen aus Ihrem Brevo-Konto, z. B. FIRSTNAME.",+ "The contact stays on lists it is already in.": "Der Kontakt bleibt in den Listen, in denen er bereits ist.",+ "Unticked keeps the current setting.": "Ohne Häkchen bleibt die aktuelle Einstellung erhalten.",+ "Senders whose transactional emails this contact will not get.": "Absender, deren Transaktions-E-Mails dieser Kontakt nicht erhält.",+ "What kind of value you are searching with.": "Mit welcher Art von Wert Sie suchen.",+ "The email, number or ID to search for.": "Die E-Mail, Nummer oder ID, nach der gesucht wird.",+ "Lists to take the contact off.": "Listen, aus denen der Kontakt entfernt wird.",+ "Replaces the display name of the selected sender.": "Ersetzt den Anzeigenamen des ausgewählten Absenders.",+ "Where replies go. Empty: back to the sender.": "Wohin Antworten gehen. Leer: zurück an den Absender.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Wählen Sie eine Vorlage oder lassen Sie das Feld leer und schreiben Sie die E-Mail unten. Ohne Vorlage ist auch ein Absender erforderlich.",+ "Values for the template placeholders, by name.": "Werte für die Platzhalter der Vorlage, nach Name.",+ "Required when no template is picked.": "Erforderlich, wenn keine Vorlage ausgewählt ist.",+ "Plain text version for inboxes that cannot show HTML.": "Nur-Text-Version für Postfächer, die kein HTML anzeigen können.",+ "Files by public URL that Brevo downloads when sending.": "Dateien per öffentlicher URL, die Brevo beim Senden herunterlädt.",+ "Leave empty to send right away.": "Leer lassen, um sofort zu senden.",+ "Brevo checks the request but delivers nothing.": "Brevo prüft die Anfrage, stellt aber nichts zu.",+ "Up to 11 letters and digits, or 15 digits only.": "Bis zu 11 Buchstaben und Ziffern oder nur 15 Ziffern.",+ "Country code first, no + or leading zeros.": "Zuerst die Ländervorwahl, ohne + oder führende Nullen.",+ "Over 160 characters is sent as several messages.": "Über 160 Zeichen werden als mehrere Nachrichten gesendet.",+ "Transactional for order and account notices, Marketing for promotions.": "Transaktional für Bestell- und Kontohinweise, Marketing für Werbung.",+ "Brevo posts delivery reports for this message here.": "Brevo sendet Zustellberichte für diese Nachricht hierher.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Erforderlich für Emojis und nicht-lateinischen Text; 70 Zeichen pro Teil.",+ "Shown before the message so people know who sent it.": "Wird vor der Nachricht angezeigt, damit Empfänger wissen, wer sie gesendet hat.",+ "How the event is named in Brevo.": "Wie das Ereignis in Brevo heißt.",+ "Leave empty to use the current time.": "Leer lassen, um die aktuelle Zeit zu verwenden.",+ "Event data, such as an order ID and total.": "Ereignisdaten, z. B. eine Bestell-ID und der Gesamtbetrag.",+ "The contact the event belongs to.": "Der Kontakt, zu dem das Ereignis gehört.",+ "Contact attributes to update, such as FIRSTNAME.": "Zu aktualisierende Kontaktattribute, z. B. FIRSTNAME.",+ "Mobile Number": "Mobilnummer",+ "Transactional": "Transaktional",+ "Marketing": "Marketing",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Wird für jede Liste ausgelöst. Um nur auf eine Liste zu reagieren, prüfen Sie list_id in einem späteren Schritt."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/es.json b/packages/pieces/community/sendinblue/src/i18n/es.jsonindex 8bf21cd2697..ccbe3551d46 100644--- a/packages/pieces/community/sendinblue/src/i18n/es.json+++ b/packages/pieces/community/sendinblue/src/i18n/es.json@@ -39,5 +39,74 @@"None": "Ninguna","JSON": "JSON","Form Data": "Datos de Formulario",- "Raw": "Rápido"+ "Raw": "Rápido",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "Plataforma de marketing por correo electrónico, SMS y contactos, antes Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "Para obtener su clave API:\n1. Inicie sesión en Brevo.\n2. Abra el menú de la cuenta, vaya a **SMTP & API** y abra la pestaña **API Keys**.\n3. Haga clic en **Generate a new API key**, asígnele un nombre y copie la clave.",+ "Create a contact, or update it if the email already exists.": "Crear un contacto o actualizarlo si el correo electrónico ya existe.",+ "Send one email, written here or from a saved Brevo template.": "Enviar un correo electrónico, redactado aquí o a partir de una plantilla guardada de Brevo.",+ "Add to Lists": "Añadir a listas",+ "Unsubscribe From Email": "Dar de baja del correo electrónico",+ "Unsubscribe From SMS": "Dar de baja de SMS",+ "Look Up By": "Buscar por",+ "Value": "Valor",+ "To": "Para",+ "Cc": "Cc",+ "Bcc": "Cco",+ "Sender": "Remitente",+ "Sender Name": "Nombre del remitente",+ "Template": "Plantilla",+ "Template Parameters": "Parámetros de la plantilla",+ "Subject": "Asunto",+ "HTML Content": "Contenido HTML",+ "Text Content": "Contenido de texto",+ "Attachments": "Adjuntos",+ "Tags": "Etiquetas",+ "Send At": "Fecha de envío",+ "Recipient": "Destinatario",+ "Content": "Contenido",+ "Message Type": "Tipo de mensaje",+ "Tag": "Etiqueta",+ "Send as Unicode": "Enviar como Unicode",+ "Brand Name": "Nombre de la marca",+ "Name": "Nombre",+ "Date": "Fecha",+ "Details": "Detalles",+ "Lists": "Listas",+ "Type": "Tipo",+ "Event": "Evento",+ "Empty fields keep their current value.": "Los campos vacíos conservan su valor actual.",+ "The contact is matched by this address.": "El contacto se identifica por esta dirección.",+ "Your own ID for this contact.": "Su propio ID para este contacto.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Use nombres de atributos de su cuenta de Brevo, como FIRSTNAME.",+ "The contact stays on lists it is already in.": "El contacto permanece en las listas en las que ya está.",+ "Unticked keeps the current setting.": "Sin marcar, se mantiene la configuración actual.",+ "Senders whose transactional emails this contact will not get.": "Remitentes cuyos correos transaccionales no recibirá este contacto.",+ "What kind of value you are searching with.": "El tipo de valor con el que busca.",+ "The email, number or ID to search for.": "El correo electrónico, número o ID que se busca.",+ "Lists to take the contact off.": "Listas de las que quitar el contacto.",+ "Replaces the display name of the selected sender.": "Reemplaza el nombre visible del remitente seleccionado.",+ "Where replies go. Empty: back to the sender.": "Adónde van las respuestas. Vacío: al remitente.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Elija una plantilla, o déjelo vacío y escriba el correo abajo. Sin plantilla, también se requiere un remitente.",+ "Values for the template placeholders, by name.": "Valores para los marcadores de la plantilla, por nombre.",+ "Required when no template is picked.": "Obligatorio si no se elige ninguna plantilla.",+ "Plain text version for inboxes that cannot show HTML.": "Versión en texto plano para bandejas de entrada que no pueden mostrar HTML.",+ "Files by public URL that Brevo downloads when sending.": "Archivos por URL pública que Brevo descarga al enviar.",+ "Leave empty to send right away.": "Déjelo vacío para enviar de inmediato.",+ "Brevo checks the request but delivers nothing.": "Brevo comprueba la solicitud pero no entrega nada.",+ "Up to 11 letters and digits, or 15 digits only.": "Hasta 11 letras y dígitos, o solo 15 dígitos.",+ "Country code first, no + or leading zeros.": "Primero el código de país, sin + ni ceros iniciales.",+ "Over 160 characters is sent as several messages.": "Más de 160 caracteres se envían como varios mensajes.",+ "Transactional for order and account notices, Marketing for promotions.": "Transaccional para avisos de pedidos y de cuenta, Marketing para promociones.",+ "Brevo posts delivery reports for this message here.": "Brevo envía aquí los informes de entrega de este mensaje.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Necesario para emojis y texto no latino; 70 caracteres por parte.",+ "Shown before the message so people know who sent it.": "Se muestra antes del mensaje para que se sepa quién lo envió.",+ "How the event is named in Brevo.": "Cómo se llama el evento en Brevo.",+ "Leave empty to use the current time.": "Déjelo vacío para usar la hora actual.",+ "Event data, such as an order ID and total.": "Datos del evento, como un ID de pedido y el total.",+ "The contact the event belongs to.": "El contacto al que pertenece el evento.",+ "Contact attributes to update, such as FIRSTNAME.": "Atributos del contacto que se actualizan, como FIRSTNAME.",+ "Mobile Number": "Número de móvil",+ "Transactional": "Transaccional",+ "Marketing": "Marketing",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Se activa para cada lista. Para actuar solo sobre una lista, compruebe list_id en un paso posterior."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/fr.json b/packages/pieces/community/sendinblue/src/i18n/fr.jsonindex 414359f71d5..fab2bdf2820 100644--- a/packages/pieces/community/sendinblue/src/i18n/fr.json+++ b/packages/pieces/community/sendinblue/src/i18n/fr.json@@ -39,5 +39,74 @@"None": "Aucun","JSON": "JSON","Form Data": "Données du formulaire",- "Raw": "Brut"+ "Raw": "Brut",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "Plateforme de marketing par e-mail, SMS et contacts, anciennement Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "Pour obtenir votre clé API :\n1. Connectez-vous à Brevo.\n2. Ouvrez le menu du compte, allez dans **SMTP & API** et ouvrez l'onglet **API Keys**.\n3. Cliquez sur **Generate a new API key**, nommez-la et copiez la clé.",+ "Create a contact, or update it if the email already exists.": "Créer un contact, ou le mettre à jour si l'e-mail existe déjà.",+ "Send one email, written here or from a saved Brevo template.": "Envoyer un e-mail, rédigé ici ou à partir d'un modèle Brevo enregistré.",+ "Add to Lists": "Ajouter aux listes",+ "Unsubscribe From Email": "Désabonner des e-mails",+ "Unsubscribe From SMS": "Désabonner des SMS",+ "Look Up By": "Rechercher par",+ "Value": "Valeur",+ "To": "À",+ "Cc": "Cc",+ "Bcc": "Cci",+ "Sender": "Expéditeur",+ "Sender Name": "Nom de l'expéditeur",+ "Template": "Modèle",+ "Template Parameters": "Paramètres du modèle",+ "Subject": "Objet",+ "HTML Content": "Contenu HTML",+ "Text Content": "Contenu texte",+ "Attachments": "Pièces jointes",+ "Tags": "Tags",+ "Send At": "Envoyer le",+ "Recipient": "Destinataire",+ "Content": "Contenu",+ "Message Type": "Type de message",+ "Tag": "Tag",+ "Send as Unicode": "Envoyer en Unicode",+ "Brand Name": "Nom de la marque",+ "Name": "Nom",+ "Date": "Date",+ "Details": "Détails",+ "Lists": "Listes",+ "Type": "Type",+ "Event": "Événement",+ "Empty fields keep their current value.": "Les champs vides conservent leur valeur actuelle.",+ "The contact is matched by this address.": "Le contact est identifié par cette adresse.",+ "Your own ID for this contact.": "Votre propre ID pour ce contact.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Utilisez les noms d'attributs de votre compte Brevo, comme FIRSTNAME.",+ "The contact stays on lists it is already in.": "Le contact reste dans les listes où il figure déjà.",+ "Unticked keeps the current setting.": "Non coché, le réglage actuel est conservé.",+ "Senders whose transactional emails this contact will not get.": "Expéditeurs dont ce contact ne recevra pas les e-mails transactionnels.",+ "What kind of value you are searching with.": "Le type de valeur utilisé pour la recherche.",+ "The email, number or ID to search for.": "L'e-mail, le numéro ou l'ID à rechercher.",+ "Lists to take the contact off.": "Listes dont retirer le contact.",+ "Replaces the display name of the selected sender.": "Remplace le nom affiché de l'expéditeur sélectionné.",+ "Where replies go. Empty: back to the sender.": "Où vont les réponses. Vide : vers l'expéditeur.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Choisissez un modèle, ou laissez vide et rédigez l'e-mail ci-dessous. Sans modèle, un expéditeur est aussi requis.",+ "Values for the template placeholders, by name.": "Valeurs des variables du modèle, par nom.",+ "Required when no template is picked.": "Requis si aucun modèle n'est choisi.",+ "Plain text version for inboxes that cannot show HTML.": "Version texte brut pour les boîtes de réception qui ne peuvent pas afficher le HTML.",+ "Files by public URL that Brevo downloads when sending.": "Fichiers par URL publique que Brevo télécharge lors de l'envoi.",+ "Leave empty to send right away.": "Laissez vide pour envoyer immédiatement.",+ "Brevo checks the request but delivers nothing.": "Brevo vérifie la requête mais ne livre rien.",+ "Up to 11 letters and digits, or 15 digits only.": "Jusqu'à 11 lettres et chiffres, ou 15 chiffres uniquement.",+ "Country code first, no + or leading zeros.": "Indicatif du pays en premier, sans + ni zéros initiaux.",+ "Over 160 characters is sent as several messages.": "Au-delà de 160 caractères, l'envoi se fait en plusieurs messages.",+ "Transactional for order and account notices, Marketing for promotions.": "Transactionnel pour les avis de commande et de compte, Marketing pour les promotions.",+ "Brevo posts delivery reports for this message here.": "Brevo envoie ici les rapports de remise de ce message.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Nécessaire pour les emoji et le texte non latin ; 70 caractères par partie.",+ "Shown before the message so people know who sent it.": "Affiché avant le message pour indiquer qui l'a envoyé.",+ "How the event is named in Brevo.": "Le nom de l'événement dans Brevo.",+ "Leave empty to use the current time.": "Laissez vide pour utiliser l'heure actuelle.",+ "Event data, such as an order ID and total.": "Données de l'événement, comme un ID de commande et un total.",+ "The contact the event belongs to.": "Le contact auquel appartient l'événement.",+ "Contact attributes to update, such as FIRSTNAME.": "Attributs du contact à mettre à jour, comme FIRSTNAME.",+ "Mobile Number": "Numéro de portable",+ "Transactional": "Transactionnel",+ "Marketing": "Marketing",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Se déclenche pour chaque liste. Pour agir sur une seule liste, vérifiez list_id dans une étape suivante."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/ja.json b/packages/pieces/community/sendinblue/src/i18n/ja.jsonindex fb91b3b9b3a..c3f1f63fd40 100644--- a/packages/pieces/community/sendinblue/src/i18n/ja.json+++ b/packages/pieces/community/sendinblue/src/i18n/ja.json@@ -39,5 +39,74 @@"None": "なし","JSON": "JSON","Form Data": "フォームデータ",- "Raw": "Raw"+ "Raw": "Raw",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "メール、SMS、連絡先のマーケティングプラットフォーム(旧 Sendinblue)。",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "API キーの取得方法:\n1. Brevo にログインします。\n2. アカウントメニューを開き、**SMTP & API** に移動して **API Keys** タブを開きます。\n3. **Generate a new API key** をクリックし、名前を付けてキーをコピーします。",+ "Create a contact, or update it if the email already exists.": "連絡先を作成します。メールアドレスが既に存在する場合は更新します。",+ "Send one email, written here or from a saved Brevo template.": "ここで作成したメール、または保存済みの Brevo テンプレートからメールを 1 通送信します。",+ "Add to Lists": "リストに追加",+ "Unsubscribe From Email": "メールの配信を停止",+ "Unsubscribe From SMS": "SMS の配信を停止",+ "Look Up By": "検索キー",+ "Value": "値",+ "To": "宛先",+ "Cc": "Cc",+ "Bcc": "Bcc",+ "Sender": "送信者",+ "Sender Name": "送信者名",+ "Template": "テンプレート",+ "Template Parameters": "テンプレートパラメーター",+ "Subject": "件名",+ "HTML Content": "HTML コンテンツ",+ "Text Content": "テキストコンテンツ",+ "Attachments": "添付ファイル",+ "Tags": "タグ",+ "Send At": "送信日時",+ "Recipient": "受信者",+ "Content": "コンテンツ",+ "Message Type": "メッセージの種類",+ "Tag": "タグ",+ "Send as Unicode": "Unicode で送信",+ "Brand Name": "ブランド名",+ "Name": "名前",+ "Date": "日付",+ "Details": "詳細",+ "Lists": "リスト",+ "Type": "タイプ",+ "Event": "イベント",+ "Empty fields keep their current value.": "空欄のフィールドは現在の値のままです。",+ "The contact is matched by this address.": "連絡先はこのアドレスで照合されます。",+ "Your own ID for this contact.": "この連絡先に付ける独自の ID です。",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Brevo アカウントの属性名を使用します(例: FIRSTNAME)。",+ "The contact stays on lists it is already in.": "連絡先は既に登録されているリストに残ります。",+ "Unticked keeps the current setting.": "チェックしない場合は現在の設定のままです。",+ "Senders whose transactional emails this contact will not get.": "この連絡先がトランザクションメールを受け取らない送信者です。",+ "What kind of value you are searching with.": "検索に使用する値の種類です。",+ "The email, number or ID to search for.": "検索するメールアドレス、番号、または ID です。",+ "Lists to take the contact off.": "連絡先を削除するリストです。",+ "Replaces the display name of the selected sender.": "選択した送信者の表示名を置き換えます。",+ "Where replies go. Empty: back to the sender.": "返信の送り先です。空欄の場合は送信者に返信されます。",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "テンプレートを選択するか、空欄のまま下でメールを作成します。テンプレートを使用しない場合は送信者も必要です。",+ "Values for the template placeholders, by name.": "テンプレートのプレースホルダーに入れる値です(名前ごと)。",+ "Required when no template is picked.": "テンプレートを選択しない場合は必須です。",+ "Plain text version for inboxes that cannot show HTML.": "HTML を表示できない受信トレイ向けのプレーンテキスト版です。",+ "Files by public URL that Brevo downloads when sending.": "送信時に Brevo がダウンロードする、公開 URL 上のファイルです。",+ "Leave empty to send right away.": "すぐに送信する場合は空欄のままにします。",+ "Brevo checks the request but delivers nothing.": "Brevo はリクエストを検証しますが、何も配信しません。",+ "Up to 11 letters and digits, or 15 digits only.": "英数字 11 文字以内、または数字のみ 15 桁以内です。",+ "Country code first, no + or leading zeros.": "国番号から入力し、+ や先頭のゼロは付けません。",+ "Over 160 characters is sent as several messages.": "160 文字を超えると複数のメッセージとして送信されます。",+ "Transactional for order and account notices, Marketing for promotions.": "注文やアカウントの通知はトランザクション、プロモーションはマーケティングです。",+ "Brevo posts delivery reports for this message here.": "Brevo はこのメッセージの配信レポートをここに送信します。",+ "Needed for emoji and non-Latin text; 70 characters per part.": "絵文字や非ラテン文字に必要です。1 パートあたり 70 文字です。",+ "Shown before the message so people know who sent it.": "誰が送信したかわかるよう、メッセージの前に表示されます。",+ "How the event is named in Brevo.": "Brevo でのイベント名です。",+ "Leave empty to use the current time.": "現在時刻を使用する場合は空欄のままにします。",+ "Event data, such as an order ID and total.": "注文 ID や合計金額などのイベントデータです。",+ "The contact the event belongs to.": "イベントが属する連絡先です。",+ "Contact attributes to update, such as FIRSTNAME.": "更新する連絡先の属性です(例: FIRSTNAME)。",+ "Mobile Number": "携帯電話番号",+ "Transactional": "トランザクション",+ "Marketing": "マーケティング",+ "Fires for every list. To act on one list only, check list_id in a later step.": "すべてのリストでトリガーされます。特定のリストのみを対象にするには、後続のステップで list_id を確認してください。"}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/nl.json b/packages/pieces/community/sendinblue/src/i18n/nl.jsonindex 6a336cbc9e1..c4b895218f2 100644--- a/packages/pieces/community/sendinblue/src/i18n/nl.json+++ b/packages/pieces/community/sendinblue/src/i18n/nl.json@@ -39,5 +39,74 @@"None": "geen","JSON": "JSON","Form Data": "Formulieren gegevens",- "Raw": "Onbewerkte"+ "Raw": "Onbewerkte",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "Marketingplatform voor e-mail, sms en contacten, voorheen Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "Zo krijgt u uw API-sleutel:\n1. Log in bij Brevo.\n2. Open het accountmenu, ga naar **SMTP & API** en open het tabblad **API Keys**.\n3. Klik op **Generate a new API key**, geef de sleutel een naam en kopieer hem.",+ "Create a contact, or update it if the email already exists.": "Maak een contactpersoon aan, of werk deze bij als het e-mailadres al bestaat.",+ "Send one email, written here or from a saved Brevo template.": "Verstuur één e-mail, hier geschreven of vanuit een opgeslagen Brevo-sjabloon.",+ "Add to Lists": "Toevoegen aan lijsten",+ "Unsubscribe From Email": "Afmelden voor e-mail",+ "Unsubscribe From SMS": "Afmelden voor sms",+ "Look Up By": "Zoeken op",+ "Value": "Waarde",+ "To": "Aan",+ "Cc": "Cc",+ "Bcc": "Bcc",+ "Sender": "Afzender",+ "Sender Name": "Naam afzender",+ "Template": "Sjabloon",+ "Template Parameters": "Sjabloonparameters",+ "Subject": "Onderwerp",+ "HTML Content": "HTML-inhoud",+ "Text Content": "Tekstinhoud",+ "Attachments": "Bijlagen",+ "Tags": "Labels",+ "Send At": "Verzenden op",+ "Recipient": "Ontvanger",+ "Content": "Inhoud",+ "Message Type": "Berichttype",+ "Tag": "Label",+ "Send as Unicode": "Verzenden als Unicode",+ "Brand Name": "Merknaam",+ "Name": "Naam",+ "Date": "Datum",+ "Details": "Details",+ "Lists": "Lijsten",+ "Type": "Type",+ "Event": "Gebeurtenis",+ "Empty fields keep their current value.": "Lege velden behouden hun huidige waarde.",+ "The contact is matched by this address.": "De contactpersoon wordt aan de hand van dit adres gevonden.",+ "Your own ID for this contact.": "Uw eigen ID voor deze contactpersoon.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Gebruik kenmerknamen uit uw Brevo-account, zoals FIRSTNAME.",+ "The contact stays on lists it is already in.": "De contactpersoon blijft op de lijsten waar hij al op staat.",+ "Unticked keeps the current setting.": "Niet aangevinkt behoudt de huidige instelling.",+ "Senders whose transactional emails this contact will not get.": "Afzenders van wie deze contactpersoon geen transactionele e-mails ontvangt.",+ "What kind of value you are searching with.": "Met welk soort waarde u zoekt.",+ "The email, number or ID to search for.": "Het e-mailadres, nummer of ID om op te zoeken.",+ "Lists to take the contact off.": "Lijsten waarvan de contactpersoon wordt verwijderd.",+ "Replaces the display name of the selected sender.": "Vervangt de weergavenaam van de geselecteerde afzender.",+ "Where replies go. Empty: back to the sender.": "Waar antwoorden naartoe gaan. Leeg: terug naar de afzender.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Kies een sjabloon, of laat dit leeg en schrijf de e-mail hieronder. Zonder sjabloon is ook een afzender vereist.",+ "Values for the template placeholders, by name.": "Waarden voor de placeholders van het sjabloon, per naam.",+ "Required when no template is picked.": "Vereist als er geen sjabloon is gekozen.",+ "Plain text version for inboxes that cannot show HTML.": "Platte-tekstversie voor inboxen die geen HTML kunnen tonen.",+ "Files by public URL that Brevo downloads when sending.": "Bestanden via een openbare URL die Brevo bij het verzenden downloadt.",+ "Leave empty to send right away.": "Laat leeg om direct te verzenden.",+ "Brevo checks the request but delivers nothing.": "Brevo controleert het verzoek, maar levert niets af.",+ "Up to 11 letters and digits, or 15 digits only.": "Maximaal 11 letters en cijfers, of alleen 15 cijfers.",+ "Country code first, no + or leading zeros.": "Eerst de landcode, zonder + of voorloopnullen.",+ "Over 160 characters is sent as several messages.": "Meer dan 160 tekens wordt als meerdere berichten verzonden.",+ "Transactional for order and account notices, Marketing for promotions.": "Transactioneel voor bestel- en accountmeldingen, Marketing voor promoties.",+ "Brevo posts delivery reports for this message here.": "Brevo stuurt de afleverrapporten van dit bericht hierheen.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Nodig voor emoji en niet-Latijnse tekst; 70 tekens per deel.",+ "Shown before the message so people know who sent it.": "Wordt vóór het bericht getoond, zodat mensen weten wie het stuurde.",+ "How the event is named in Brevo.": "Hoe de gebeurtenis in Brevo heet.",+ "Leave empty to use the current time.": "Laat leeg om de huidige tijd te gebruiken.",+ "Event data, such as an order ID and total.": "Gebeurtenisgegevens, zoals een order-ID en totaalbedrag.",+ "The contact the event belongs to.": "De contactpersoon bij wie de gebeurtenis hoort.",+ "Contact attributes to update, such as FIRSTNAME.": "Kenmerken van de contactpersoon om bij te werken, zoals FIRSTNAME.",+ "Mobile Number": "Mobiel nummer",+ "Transactional": "Transactioneel",+ "Marketing": "Marketing",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Wordt voor elke lijst geactiveerd. Wilt u op één lijst reageren, controleer dan list_id in een volgende stap."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/pt.json b/packages/pieces/community/sendinblue/src/i18n/pt.jsonindex 808ed51f0b1..6df7092708a 100644--- a/packages/pieces/community/sendinblue/src/i18n/pt.json+++ b/packages/pieces/community/sendinblue/src/i18n/pt.json@@ -39,5 +39,74 @@"None": "Nenhuma","JSON": "JSON","Form Data": "Dados de Formulário",- "Raw": "RAW"+ "Raw": "RAW",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "Plataforma de marketing por e-mail, SMS e contatos, antiga Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "Para obter sua chave de API:\n1. Faça login no Brevo.\n2. Abra o menu da conta, vá para **SMTP & API** e abra a aba **API Keys**.\n3. Clique em **Generate a new API key**, dê um nome e copie a chave.",+ "Create a contact, or update it if the email already exists.": "Criar um contato ou atualizá-lo se o e-mail já existir.",+ "Send one email, written here or from a saved Brevo template.": "Enviar um e-mail, escrito aqui ou a partir de um modelo salvo do Brevo.",+ "Add to Lists": "Adicionar às listas",+ "Unsubscribe From Email": "Cancelar inscrição de e-mail",+ "Unsubscribe From SMS": "Cancelar inscrição de SMS",+ "Look Up By": "Pesquisar por",+ "Value": "Valor",+ "To": "Para",+ "Cc": "Cc",+ "Bcc": "Cco",+ "Sender": "Remetente",+ "Sender Name": "Nome do Remetente",+ "Template": "Modelo",+ "Template Parameters": "Parâmetros do Modelo",+ "Subject": "Assunto",+ "HTML Content": "Conteúdo HTML",+ "Text Content": "Conteúdo do Texto",+ "Attachments": "Anexos",+ "Tags": "Etiquetas",+ "Send At": "Enviar em",+ "Recipient": "Destinatário",+ "Content": "Conteúdo",+ "Message Type": "Tipo de Mensagem",+ "Tag": "Etiqueta",+ "Send as Unicode": "Enviar como Unicode",+ "Brand Name": "Nome da Marca",+ "Name": "Nome",+ "Date": "Data",+ "Details": "Detalhes",+ "Lists": "Listas",+ "Type": "Tipo",+ "Event": "Evento",+ "Empty fields keep their current value.": "Campos vazios mantêm o valor atual.",+ "The contact is matched by this address.": "O contato é identificado por este endereço.",+ "Your own ID for this contact.": "Seu próprio ID para este contato.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Use nomes de atributos da sua conta Brevo, como FIRSTNAME.",+ "The contact stays on lists it is already in.": "O contato permanece nas listas em que já está.",+ "Unticked keeps the current setting.": "Desmarcado mantém a configuração atual.",+ "Senders whose transactional emails this contact will not get.": "Remetentes cujos e-mails transacionais este contato não receberá.",+ "What kind of value you are searching with.": "O tipo de valor usado na pesquisa.",+ "The email, number or ID to search for.": "O e-mail, número ou ID a pesquisar.",+ "Lists to take the contact off.": "Listas das quais remover o contato.",+ "Replaces the display name of the selected sender.": "Substitui o nome de exibição do remetente selecionado.",+ "Where replies go. Empty: back to the sender.": "Para onde vão as respostas. Vazio: de volta ao remetente.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Escolha um modelo, ou deixe vazio e escreva o e-mail abaixo. Sem modelo, também é necessário um remetente.",+ "Values for the template placeholders, by name.": "Valores para os marcadores do modelo, por nome.",+ "Required when no template is picked.": "Obrigatório quando nenhum modelo é escolhido.",+ "Plain text version for inboxes that cannot show HTML.": "Versão em texto simples para caixas de entrada que não exibem HTML.",+ "Files by public URL that Brevo downloads when sending.": "Arquivos por URL pública que o Brevo baixa ao enviar.",+ "Leave empty to send right away.": "Deixe vazio para enviar imediatamente.",+ "Brevo checks the request but delivers nothing.": "O Brevo verifica a solicitação, mas não entrega nada.",+ "Up to 11 letters and digits, or 15 digits only.": "Até 11 letras e dígitos, ou apenas 15 dígitos.",+ "Country code first, no + or leading zeros.": "Código do país primeiro, sem + nem zeros à esquerda.",+ "Over 160 characters is sent as several messages.": "Mais de 160 caracteres são enviados como várias mensagens.",+ "Transactional for order and account notices, Marketing for promotions.": "Transacional para avisos de pedidos e de conta, Marketing para promoções.",+ "Brevo posts delivery reports for this message here.": "O Brevo envia aqui os relatórios de entrega desta mensagem.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Necessário para emojis e texto não latino; 70 caracteres por parte.",+ "Shown before the message so people know who sent it.": "Exibido antes da mensagem para que as pessoas saibam quem a enviou.",+ "How the event is named in Brevo.": "Como o evento é chamado no Brevo.",+ "Leave empty to use the current time.": "Deixe vazio para usar a hora atual.",+ "Event data, such as an order ID and total.": "Dados do evento, como um ID de pedido e o total.",+ "The contact the event belongs to.": "O contato ao qual o evento pertence.",+ "Contact attributes to update, such as FIRSTNAME.": "Atributos do contato a atualizar, como FIRSTNAME.",+ "Mobile Number": "Número de celular",+ "Transactional": "Transacional",+ "Marketing": "Marketing",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Dispara para cada lista. Para agir sobre uma só lista, verifique list_id em uma etapa seguinte."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/ru.json b/packages/pieces/community/sendinblue/src/i18n/ru.jsonindex d587769aa61..3525610f0b0 100644--- a/packages/pieces/community/sendinblue/src/i18n/ru.json+++ b/packages/pieces/community/sendinblue/src/i18n/ru.json@@ -32,5 +32,74 @@"PATCH": "ПАТЧ","PUT": "ПОКУПИТЬ","DELETE": "УДАЛИТЬ",- "HEAD": "HEAD"+ "HEAD": "HEAD",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "Платформа для маркетинга по электронной почте, SMS и контактам, ранее Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "Как получить API-ключ:\n1. Войдите в Brevo.\n2. Откройте меню аккаунта, перейдите в **SMTP & API** и откройте вкладку **API Keys**.\n3. Нажмите **Generate a new API key**, задайте имя и скопируйте ключ.",+ "Create a contact, or update it if the email already exists.": "Создать контакт или обновить его, если такой адрес электронной почты уже существует.",+ "Send one email, written here or from a saved Brevo template.": "Отправить одно письмо, написанное здесь или из сохранённого шаблона Brevo.",+ "Add to Lists": "Добавить в списки",+ "Unsubscribe From Email": "Отписать от писем",+ "Unsubscribe From SMS": "Отписать от SMS",+ "Look Up By": "Искать по",+ "Value": "Значение",+ "To": "Кому",+ "Cc": "Cc",+ "Bcc": "Bcc",+ "Sender": "Отправитель",+ "Sender Name": "Имя отправителя",+ "Template": "Шаблон",+ "Template Parameters": "Параметры шаблона",+ "Subject": "Тема",+ "HTML Content": "Содержимое HTML",+ "Text Content": "Текстовое содержимое",+ "Attachments": "Вложения",+ "Tags": "Теги",+ "Send At": "Время отправки",+ "Recipient": "Получатель",+ "Content": "Содержание",+ "Message Type": "Тип сообщения",+ "Tag": "Тег",+ "Send as Unicode": "Отправить в Unicode",+ "Brand Name": "Название бренда",+ "Name": "Название",+ "Date": "Дата",+ "Details": "Детали",+ "Lists": "Списки",+ "Type": "Тип",+ "Event": "Событие",+ "Empty fields keep their current value.": "Пустые поля сохраняют текущее значение.",+ "The contact is matched by this address.": "Контакт сопоставляется по этому адресу.",+ "Your own ID for this contact.": "Ваш собственный ID для этого контакта.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Используйте названия атрибутов из вашего аккаунта Brevo, например FIRSTNAME.",+ "The contact stays on lists it is already in.": "Контакт остаётся в списках, в которых уже состоит.",+ "Unticked keeps the current setting.": "Без отметки текущая настройка сохраняется.",+ "Senders whose transactional emails this contact will not get.": "Отправители, чьи транзакционные письма этот контакт не будет получать.",+ "What kind of value you are searching with.": "Тип значения, по которому выполняется поиск.",+ "The email, number or ID to search for.": "Адрес электронной почты, номер или ID для поиска.",+ "Lists to take the contact off.": "Списки, из которых нужно удалить контакт.",+ "Replaces the display name of the selected sender.": "Заменяет отображаемое имя выбранного отправителя.",+ "Where replies go. Empty: back to the sender.": "Куда приходят ответы. Пусто: отправителю.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Выберите шаблон или оставьте поле пустым и напишите письмо ниже. Без шаблона также требуется отправитель.",+ "Values for the template placeholders, by name.": "Значения для заполнителей шаблона, по имени.",+ "Required when no template is picked.": "Обязательно, если шаблон не выбран.",+ "Plain text version for inboxes that cannot show HTML.": "Версия простым текстом для почтовых ящиков, которые не отображают HTML.",+ "Files by public URL that Brevo downloads when sending.": "Файлы по публичному URL, которые Brevo скачивает при отправке.",+ "Leave empty to send right away.": "Оставьте пустым, чтобы отправить сразу.",+ "Brevo checks the request but delivers nothing.": "Brevo проверяет запрос, но ничего не доставляет.",+ "Up to 11 letters and digits, or 15 digits only.": "До 11 букв и цифр или только 15 цифр.",+ "Country code first, no + or leading zeros.": "Сначала код страны, без + и ведущих нулей.",+ "Over 160 characters is sent as several messages.": "Текст длиннее 160 символов отправляется несколькими сообщениями.",+ "Transactional for order and account notices, Marketing for promotions.": "Транзакционное — для уведомлений о заказах и аккаунте, маркетинговое — для рекламных акций.",+ "Brevo posts delivery reports for this message here.": "Brevo отправляет сюда отчёты о доставке этого сообщения.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Нужно для эмодзи и нелатинского текста; 70 символов на часть.",+ "Shown before the message so people know who sent it.": "Показывается перед сообщением, чтобы получатели знали, кто его отправил.",+ "How the event is named in Brevo.": "Как событие называется в Brevo.",+ "Leave empty to use the current time.": "Оставьте пустым, чтобы использовать текущее время.",+ "Event data, such as an order ID and total.": "Данные события, например ID заказа и сумма.",+ "The contact the event belongs to.": "Контакт, к которому относится событие.",+ "Contact attributes to update, such as FIRSTNAME.": "Атрибуты контакта для обновления, например FIRSTNAME.",+ "Mobile Number": "Номер мобильного телефона",+ "Transactional": "Транзакционное",+ "Marketing": "Маркетинговое",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Срабатывает для каждого списка. Чтобы обрабатывать только один список, проверьте list_id на следующем шаге."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/translation.json b/packages/pieces/community/sendinblue/src/i18n/translation.jsonindex d0f15a678ed..1117a21fea2 100644--- a/packages/pieces/community/sendinblue/src/i18n/translation.json+++ b/packages/pieces/community/sendinblue/src/i18n/translation.json@@ -1,6 +1,6 @@{- "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",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "Email, SMS and contact marketing platform, formerly Sendinblue.",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.","Create or Update Contact": "Create or Update Contact","Find Contact": "Find Contact","Unsubscribe Contact": "Unsubscribe Contact",@@ -40,10 +40,10 @@"List Transactional Email Events": "List Transactional Email Events","Get Account Info": "Get Account Info","Custom API Call": "Custom API Call",- "Create or update an existing contact": "Create or update an existing contact",+ "Create a contact, or update it if the email already exists.": "Create a contact, or update it if the email already exists.","Check whether a contact exists in Brevo and fetch its details.": "Check whether a contact exists in Brevo and fetch its details.","Blacklist a contact so it stops receiving email or SMS.": "Blacklist a contact so it stops receiving email or SMS.",- "Send an email from your Brevo account with HTML or plain text content.": "Send an email from your Brevo account with HTML or plain text content.",+ "Send one email, written here or from a saved Brevo template.": "Send one email, written here or from a saved Brevo template.","Send a transactional SMS from your Brevo account.": "Send a transactional SMS from your Brevo account.","Track a custom event for a contact.": "Track a custom event for a contact.","List contacts in a Brevo account, optionally filtered by list, segment, or modification date.": "List contacts in a Brevo account, optionally filtered by list, segment, or modification date.",@@ -79,45 +79,42 @@"List transactional email events (delivered, opened, clicked, bounced, etc) from Brevo.": "List transactional email events (delivered, opened, clicked, bounced, etc) from Brevo.","Fetch the Brevo account holder information, plan and credits.": "Fetch the Brevo account holder information, plan and credits.","Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",+ "Markdown": "Markdown","Email": "Email","External ID": "External ID","Attributes": "Attributes",- "Email Blacklisted?": "Email Blacklisted?",- "SMS Blacklisted?": "SMS Blacklisted?",- "Lists": "Lists",- "Blocked Sender Addresses": "Blocked Sender Addresses",- "Identifier": "Identifier",- "Identifier Type": "Identifier Type",- "Contact Email": "Contact Email",+ "Add to Lists": "Add to Lists","Unsubscribe From Email": "Unsubscribe From Email","Unsubscribe From SMS": "Unsubscribe From SMS",+ "Blocked Sender Addresses": "Blocked Sender Addresses",+ "Look Up By": "Look Up By",+ "Value": "Value","Remove From Lists": "Remove From Lists","To": "To",+ "Cc": "Cc",+ "Bcc": "Bcc",+ "Reply To": "Reply To","Sender": "Sender","Sender Name": "Sender Name","Template": "Template",+ "Template Parameters": "Template Parameters","Subject": "Subject","HTML Content": "HTML Content","Text Content": "Text Content",- "Template Parameters": "Template Parameters",- "CC": "CC",- "BCC": "BCC",- "Reply To": "Reply To","Attachments": "Attachments","Tags": "Tags",- "Scheduled At": "Scheduled At",+ "Send At": "Send At","Sandbox Mode": "Sandbox Mode","Recipient": "Recipient","Content": "Content",- "Type": "Type",+ "Message Type": "Message Type","Tag": "Tag","Webhook URL": "Webhook URL",- "Unicode Enabled": "Unicode Enabled",- "Organisation Prefix": "Organisation Prefix",- "Event Name": "Event Name",- "Event Date": "Event Date",- "Event Properties": "Event Properties",- "Contact Properties": "Contact Properties",+ "Send as Unicode": "Send as Unicode",+ "Brand Name": "Brand Name",+ "Name": "Name",+ "Date": "Date",+ "Details": "Details","List IDs": "List IDs","Segment ID": "Segment ID","Created Since": "Created Since",@@ -125,10 +122,14 @@"Limit": "Limit","Offset": "Offset","Sort": "Sort",- "Add to Lists": "Add to Lists",+ "Identifier": "Identifier",+ "Identifier Type": "Identifier Type",+ "Email Blacklisted?": "Email Blacklisted?",+ "SMS Blacklisted?": "SMS Blacklisted?","Remove from Lists": "Remove from Lists","File URL": "File URL","Inline Contacts": "Inline Contacts",+ "Lists": "Lists","New List Name": "New List Name","New List Folder ID": "New List Folder ID","Notify URL": "Notify URL",@@ -139,7 +140,6 @@"Process ID": "Process ID","Start Date": "Start Date","End Date": "End Date",- "Name": "Name","Folder ID": "Folder ID","List ID": "List ID","Phone Country Code": "Phone Country Code",@@ -165,15 +165,19 @@"Sender ID": "Sender ID","Recipient Lists": "Recipient Lists","Exclude Lists": "Exclude Lists",+ "Scheduled At": "Scheduled At","Preview Text": "Preview Text","Footer": "Footer","Header": "Header","UTM Campaign": "UTM Campaign","Campaign ID": "Campaign ID","Statistics": "Statistics",+ "Type": "Type","Status": "Status","Exclude HTML Content": "Exclude HTML Content","Segment IDs": "Segment IDs",+ "Unicode Enabled": "Unicode Enabled",+ "Organisation Prefix": "Organisation Prefix","Unsubscribe Instruction": "Unsubscribe Instruction","Days": "Days","Event": "Event",@@ -187,39 +191,41 @@"Return Error as Output": "Return Error as Output","Timeout": "Timeout","Follow redirects": "Follow redirects",- "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 Brevo account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}. Only the attributes you list are changed; the rest are left as they are.": "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 Brevo account. For eg:\n {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}. Only the attributes you list are changed; the rest are left as they are.",- "Set this field to blacklist the contact for emails (emailBlacklisted = true). Leave untouched to keep the contact's current setting.": "Set this field to blacklist the contact for emails (emailBlacklisted = true). Leave untouched to keep the contact's current setting.",- "Set this field to blacklist the contact for SMS (smsBlacklisted = true). Leave untouched to keep the contact's current setting.": "Set this field to blacklist the contact for SMS (smsBlacklisted = true). Leave untouched to keep the contact's current setting.",- "Lists to add the contact to.": "Lists to add the contact to.",- "Sender email addresses this contact must not receive transactional email from. Leave empty to change nothing.": "Sender email addresses this contact must not receive transactional email from. Leave empty to change nothing.",- "The value to look the contact up by, for example an email address.": "The value to look the contact up by, for example an email address.",- "How the identifier above should be interpreted.": "How the identifier above should be interpreted.",- "Lists to remove the contact from as part of unsubscribing.": "Lists to remove the contact from as part of unsubscribing.",- "Recipients of the email.": "Recipients of the email.",+ "Empty fields keep their current value.": "Empty fields keep their current value.",+ "The contact is matched by this address.": "The contact is matched by this address.",+ "Your own ID for this contact.": "Your own ID for this contact.",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "Use attribute names from your Brevo account, such as FIRSTNAME.",+ "The contact stays on lists it is already in.": "The contact stays on lists it is already in.",+ "Unticked keeps the current setting.": "Unticked keeps the current setting.",+ "Senders whose transactional emails this contact will not get.": "Senders whose transactional emails this contact will not get.",+ "What kind of value you are searching with.": "What kind of value you are searching with.",+ "The email, number or ID to search for.": "The email, number or ID to search for.",+ "Lists to take the contact off.": "Lists to take the contact off.",+ "Where replies go. Empty: back to the sender.": "Where replies go. Empty: back to the sender.","The verified sender the email is sent from.": "The verified sender the email is sent from.",- "Overrides the display name of the selected sender.": "Overrides the display name of the selected sender.",+ "Replaces the display name of the selected sender.": "Replaces the display name of the selected sender.",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.","Send a saved Brevo template instead of supplying subject and content.": "Send a saved Brevo template instead of supplying subject and content.",- "Required unless a template is selected.": "Required unless a template is selected.",- "Plain text alternative shown when HTML cannot be rendered.": "Plain text alternative shown when HTML cannot be rendered.",- "Values substituted into the template placeholders.": "Values substituted into the template placeholders.",- "Files attached by public URL. Brevo downloads each URL when sending.": "Files attached by public URL. Brevo downloads each URL when sending.",+ "Values for the template placeholders, by name.": "Values for the template placeholders, by name.",+ "Required when no template is picked.": "Required when no template is picked.",+ "Plain text version for inboxes that cannot show HTML.": "Plain text version for inboxes that cannot show HTML.",+ "Files by public URL that Brevo downloads when sending.": "Files by public URL that Brevo downloads when sending.","Labels used to filter this message in Brevo reporting.": "Labels used to filter this message in Brevo reporting.",- "Send the email at this UTC time instead of immediately.": "Send the email at this UTC time instead of immediately.",- "Validate the request without delivering anything. Brevo checks the payload, sender and credentials, returns a message id, and drops the message: nothing reaches the recipient and no event is logged.": "Validate the request without delivering anything. Brevo checks the payload, sender and credentials, returns a message id, and drops the message: nothing reaches the recipient and no event is logged.",- "Name or number shown as the sender. Limited to 11 alphanumeric characters or 15 numeric characters.": "Name or number shown as the sender. Limited to 11 alphanumeric characters or 15 numeric characters.",- "Mobile number with the country code and no leading plus or zeros, for example 33680005003.": "Mobile number with the country code and no leading plus or zeros, for example 33680005003.",- "Message body. Longer than 160 characters is sent as multiple messages.": "Message body. Longer than 160 characters is sent as multiple messages.",+ "Leave empty to send right away.": "Leave empty to send right away.",+ "Brevo checks the request but delivers nothing.": "Brevo checks the request but delivers nothing.",+ "Up to 11 letters and digits, or 15 digits only.": "Up to 11 letters and digits, or 15 digits only.",+ "Country code first, no + or leading zeros.": "Country code first, no + or leading zeros.",+ "Over 160 characters is sent as several messages.": "Over 160 characters is sent as several messages.",+ "Transactional for order and account notices, Marketing for promotions.": "Transactional for order and account notices, Marketing for promotions.","Label used to filter this message in Brevo reporting.": "Label used to filter this message in Brevo reporting.",- "URL Brevo posts delivery reports for this message to.": "URL Brevo posts delivery reports for this message to.",- "Send the content as unicode. Unicode messages are limited to 70 characters per part.": "Send the content as unicode. Unicode messages are limited to 70 characters per part.",- "Brand name prepended to the message content.": "Brand name prepended to the message content.",- "How the event is identified in Brevo, for example order_completed.": "How the event is identified in Brevo, for example order_completed.",- "Email of the contact the event belongs to.": "Email of the contact the event belongs to.",- "When the event occurred. Defaults to now when left empty.": "When the event occurred. Defaults to now when left empty.",- "Details of the event, for example {\"order_id\": 42, \"total\": 99.5}.": "Details of the event, for example {\"order_id\": 42, \"total\": 99.5}.",- "Contact attributes to update alongside the event, for example {\"FIRSTNAME\": \"Elly\"}.": "Contact attributes to update alongside the event, for example {\"FIRSTNAME\": \"Elly\"}.",+ "Brevo posts delivery reports for this message here.": "Brevo posts delivery reports for this message here.",+ "Needed for emoji and non-Latin text; 70 characters per part.": "Needed for emoji and non-Latin text; 70 characters per part.",+ "Shown before the message so people know who sent it.": "Shown before the message so people know who sent it.",+ "How the event is named in Brevo.": "How the event is named in Brevo.",+ "Leave empty to use the current time.": "Leave empty to use the current time.",+ "Event data, such as an order ID and total.": "Event data, such as an order ID and total.",+ "The contact the event belongs to.": "The contact the event belongs to.",+ "Contact attributes to update, such as FIRSTNAME.": "Contact attributes to update, such as FIRSTNAME.","Only return contacts belonging to these list IDs. Mutually exclusive with Segment ID.": "Only return contacts belonging to these list IDs. Mutually exclusive with Segment ID.","Only return contacts belonging to this segment. Mutually exclusive with List IDs.": "Only return contacts belonging to this segment. Mutually exclusive with List IDs.","Only return contacts created on or after this date.": "Only return contacts created on or after this date.",@@ -227,9 +233,15 @@"Number of contacts to return. Maximum 1000.": "Number of contacts to return. Maximum 1000.","Number of contacts to skip, for pagination.": "Number of contacts to skip, for pagination.","Sort contacts on their creation date.": "Sort contacts on their creation date.",+ "The value to look the contact up by, for example an email address.": "The value to look the contact up by, for example an email address.",+ "How the identifier above should be interpreted.": "How the identifier above should be interpreted.","Pass the set of attributes and their values. Attribute names must already exist in your Brevo account and be passed in capital letters, for eg: {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}. Only the attributes you list are changed; the rest are left as they are.": "Pass the set of attributes and their values. Attribute names must already exist in your Brevo account and be passed in capital letters, for eg: {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}. Only the attributes you list are changed; the rest are left as they are.","Sets a new external id for the contact.": "Sets a new external id for the contact.",+ "Set this field to blacklist the contact for emails (emailBlacklisted = true). Leave untouched to keep the contact's current setting.": "Set this field to blacklist the contact for emails (emailBlacklisted = true). Leave untouched to keep the contact's current setting.",+ "Set this field to blacklist the contact for SMS (smsBlacklisted = true). Leave untouched to keep the contact's current setting.": "Set this field to blacklist the contact for SMS (smsBlacklisted = true). Leave untouched to keep the contact's current setting.",+ "Lists to add the contact to.": "Lists to add the contact to.","Lists to remove the contact from.": "Lists to remove the contact from.",+ "Sender email addresses this contact must not receive transactional email from. Leave empty to change nothing.": "Sender email addresses this contact must not receive transactional email from. Leave empty to change nothing.","Public URL of a .txt, .csv, or .json file containing the contacts to import. Mutually exclusive with Inline Contacts.": "Public URL of a .txt, .csv, or .json file containing the contacts to import. Mutually exclusive with Inline Contacts.","Contact rows to import directly, without a file. Mutually exclusive with File URL.": "Contact rows to import directly, without a file. Mutually exclusive with File URL.","Existing lists to import into.": "Existing lists to import into.",@@ -281,6 +293,7 @@"Sort order applied to the results, based on creation date.": "Sort order applied to the results, based on creation date.","The id of the template to delete.": "The id of the template to delete.","Internal campaign name shown only in the Brevo dashboard, not to recipients.": "Internal campaign name shown only in the Brevo dashboard, not to recipients.",+ "Overrides the display name of the selected sender.": "Overrides the display name of the selected sender.","Alternative to Sender Email/Sender Name: an existing Brevo sender id. Provide one or the other, not both.": "Alternative to Sender Email/Sender Name: an existing Brevo sender id. Provide one or the other, not both.","Subject line shown to recipients. Required unless Template is selected.": "Subject line shown to recipients. Required unless Template is selected.","ID of an existing Brevo transactional template whose content is copied into this campaign. Mutually exclusive with HTML Content and HTML URL.": "ID of an existing Brevo transactional template whose content is copied into this campaign. Mutually exclusive with HTML Content and HTML URL.",@@ -307,10 +320,12 @@"Leave the HTML content out of each campaign in the response.": "Leave the HTML content out of each campaign in the response.","Must currently be a draft campaign.": "Must currently be a draft campaign.","Internal campaign name.": "Internal campaign name.",+ "Name or number shown as the sender. Limited to 11 alphanumeric characters or 15 numeric characters.": "Name or number shown as the sender. Limited to 11 alphanumeric characters or 15 numeric characters.","Message body. Max 160 characters per SMS segment; longer content is split into multiple billed segments.": "Message body. Max 160 characters per SMS segment; longer content is split into multiple billed segments.","Contact lists to exclude from this campaign.": "Contact lists to exclude from this campaign.","Brevo segment IDs to target.": "Brevo segment IDs to target.","Omit to create an unsent draft.": "Omit to create an unsent draft.",+ "Brand name prepended to the message content.": "Brand name prepended to the message content.","Must include the word STOP; recommended by US carriers.": "Must include the word STOP; recommended by US carriers.","Only filters sent campaigns; both required together.": "Only filters sent campaigns; both required together.","Number of campaigns to return per page. Maximum 1000.": "Number of campaigns to return per page. Maximum 1000.",@@ -331,7 +346,7 @@"On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.","Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconds to wait for a response. Empty: up to the flow limit (10 min).","Follow 3xx redirects instead of returning them as the response.": "Follow 3xx redirects instead of returning them as the response.",- "Phone (SMS)": "Phone (SMS)",+ "Mobile Number": "Mobile Number","Contact ID": "Contact ID","WhatsApp": "WhatsApp","Landline Number": "Landline Number",@@ -339,6 +354,7 @@"Marketing": "Marketing","Ascending": "Ascending","Descending": "Descending",+ "Phone (SMS)": "Phone (SMS)","Companies": "Companies","Deals": "Deals","Contacts": "Contacts",@@ -391,5 +407,6 @@"Triggers when a transactional email is delivered to the recipient.": "Triggers when a transactional email is delivered to the recipient.","Triggers when a recipient opens a transactional email.": "Triggers when a recipient opens a transactional email.","Triggers when a recipient clicks a link in a transactional email.": "Triggers when a recipient clicks a link in a transactional email.",- "Triggers when a transactional email hard or soft bounces.": "Triggers when a transactional email hard or soft bounces."+ "Triggers when a transactional email hard or soft bounces.": "Triggers when a transactional email hard or soft bounces.",+ "Fires for every list. To act on one list only, check list_id in a later step.": "Fires for every list. To act on one list only, check list_id in a later step."}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/i18n/zh.json b/packages/pieces/community/sendinblue/src/i18n/zh.jsonindex 3af005641b5..bf7ede37576 100644--- a/packages/pieces/community/sendinblue/src/i18n/zh.json+++ b/packages/pieces/community/sendinblue/src/i18n/zh.json@@ -39,5 +39,74 @@"None": "无","JSON": "JSON","Form Data": "表单数据",- "Raw": "原始文件"+ "Raw": "原始文件",+ "Email, SMS and contact marketing platform, formerly Sendinblue.": "电子邮件、SMS 和联系人营销平台,前身为 Sendinblue。",+ "To get your API key:\n1. Log in to Brevo.\n2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.\n3. Click **Generate a new API key**, name it and copy the key.": "获取 API 密钥的方法:\n1. 登录 Brevo。\n2. 打开账户菜单,进入 **SMTP & API**,然后打开 **API Keys** 选项卡。\n3. 点击 **Generate a new API key**,为其命名并复制密钥。",+ "Create a contact, or update it if the email already exists.": "创建联系人;如果该电子邮件已存在,则更新该联系人。",+ "Send one email, written here or from a saved Brevo template.": "发送一封电子邮件,可在此撰写,也可使用已保存的 Brevo 模板。",+ "Add to Lists": "添加到列表",+ "Unsubscribe From Email": "退订电子邮件",+ "Unsubscribe From SMS": "退订 SMS",+ "Look Up By": "查找依据",+ "Value": "值",+ "To": "收件人",+ "Cc": "抄送",+ "Bcc": "密送",+ "Sender": "发件人",+ "Sender Name": "发件人姓名",+ "Template": "模板",+ "Template Parameters": "模板参数",+ "Subject": "主题",+ "HTML Content": "HTML 内容",+ "Text Content": "文本内容",+ "Attachments": "附件",+ "Tags": "标签",+ "Send At": "发送时间",+ "Recipient": "接收人",+ "Content": "内容",+ "Message Type": "消息类型",+ "Tag": "标签",+ "Send as Unicode": "以 Unicode 发送",+ "Brand Name": "品牌名称",+ "Name": "名称",+ "Date": "日期",+ "Details": "详细信息",+ "Lists": "列表",+ "Type": "类型",+ "Event": "事件",+ "Empty fields keep their current value.": "留空的字段保留当前值。",+ "The contact is matched by this address.": "按此地址匹配联系人。",+ "Your own ID for this contact.": "您为此联系人设置的 ID。",+ "Use attribute names from your Brevo account, such as FIRSTNAME.": "使用 Brevo 账户中的属性名称,例如 FIRSTNAME。",+ "The contact stays on lists it is already in.": "联系人会保留在其已加入的列表中。",+ "Unticked keeps the current setting.": "不勾选则保留当前设置。",+ "Senders whose transactional emails this contact will not get.": "此联系人将不会收到这些发件人的事务性邮件。",+ "What kind of value you are searching with.": "用于搜索的值的类型。",+ "The email, number or ID to search for.": "要搜索的电子邮件、号码或 ID。",+ "Lists to take the contact off.": "要将联系人移出的列表。",+ "Replaces the display name of the selected sender.": "替换所选发件人的显示名称。",+ "Where replies go. Empty: back to the sender.": "回复的接收地址。留空则回复给发件人。",+ "Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.": "选择一个模板,或留空并在下方撰写邮件。不使用模板时,还需要指定发件人。",+ "Values for the template placeholders, by name.": "模板占位符的值,按名称填写。",+ "Required when no template is picked.": "未选择模板时必填。",+ "Plain text version for inboxes that cannot show HTML.": "纯文本版本,用于无法显示 HTML 的收件箱。",+ "Files by public URL that Brevo downloads when sending.": "通过公开 URL 提供的文件,Brevo 会在发送时下载。",+ "Leave empty to send right away.": "留空则立即发送。",+ "Brevo checks the request but delivers nothing.": "Brevo 会检查请求,但不会投递任何内容。",+ "Up to 11 letters and digits, or 15 digits only.": "最多 11 个字母和数字,或仅 15 位数字。",+ "Country code first, no + or leading zeros.": "以国家代码开头,不带 + 或前导零。",+ "Over 160 characters is sent as several messages.": "超过 160 个字符将拆分为多条消息发送。",+ "Transactional for order and account notices, Marketing for promotions.": "事务性用于订单和账户通知,营销用于促销。",+ "Brevo posts delivery reports for this message here.": "Brevo 会将此消息的投递报告发送到这里。",+ "Needed for emoji and non-Latin text; 70 characters per part.": "表情符号和非拉丁文字需要此项;每段 70 个字符。",+ "Shown before the message so people know who sent it.": "显示在消息前面,让接收者知道发送方是谁。",+ "How the event is named in Brevo.": "该事件在 Brevo 中的名称。",+ "Leave empty to use the current time.": "留空则使用当前时间。",+ "Event data, such as an order ID and total.": "事件数据,例如订单 ID 和总额。",+ "The contact the event belongs to.": "该事件所属的联系人。",+ "Contact attributes to update, such as FIRSTNAME.": "要更新的联系人属性,例如 FIRSTNAME。",+ "Mobile Number": "手机号码",+ "Transactional": "事务性",+ "Marketing": "营销",+ "Fires for every list. To act on one list only, check list_id in a later step.": "对每个列表都会触发。如只需处理某一个列表,请在后续步骤中检查 list_id。"}\ No newline at end of filediff --git a/packages/pieces/community/sendinblue/src/index.ts b/packages/pieces/community/sendinblue/src/index.tsindex 85fb89986ce..6567f06d94d 100644--- a/packages/pieces/community/sendinblue/src/index.ts+++ b/packages/pieces/community/sendinblue/src/index.ts@@ -53,8 +53,8 @@ import { emailOpened } from './lib/triggers/email-opened';export const sendinblue = createPiece({displayName: 'Brevo',description:- 'Formerly Sendinblue, is a SaaS solution for relationship marketing',- minimumSupportedRelease: '0.87.0',+ 'Email, SMS and contact marketing platform, formerly Sendinblue.',+ minimumSupportedRelease: '0.88.2',logoUrl: 'https://cdn.activepieces.com/pieces/brevo.png',authors: ["kanarelo","BLaidzX","Salem-Alaa","kishanprmr","MoShizzle","khaledmashaly","abuaboud"],categories: [PieceCategory.MARKETING],diff --git a/packages/pieces/community/sendinblue/src/lib/actions/create-event.ts b/packages/pieces/community/sendinblue/src/lib/actions/create-event.tsindex f1a8aa618f9..f3c1295d9af 100644--- a/packages/pieces/community/sendinblue/src/lib/actions/create-event.ts+++ b/packages/pieces/community/sendinblue/src/lib/actions/create-event.ts@@ -15,31 +15,48 @@ export const createEvent = createAction({'Records a custom event against a Brevo contact so automations and segments can react to it. Identify the contact by email, contact id or external id, and attach arbitrary event properties. Brevo answers with an empty body, so this returns a success flag rather than the stored event. Not idempotent — each call records another occurrence.',idempotent: false,},+ propertyGroups: [+ {+ key: 'event',+ display: 'section',+ label: 'Event',+ icon: 'calendar',+ props: ['event_name', 'event_date', 'event_properties'],+ },+ {+ key: 'contact',+ display: 'section',+ label: 'Contact',+ icon: 'user',+ props: ['email', 'contact_properties'],+ },+ ],props: {event_name: Property.ShortText({- displayName: 'Event Name',- description: 'How the event is identified in Brevo, for example order_completed.',- required: true,- }),- email: Property.ShortText({- displayName: 'Contact Email',- description: 'Email of the contact the event belongs to.',+ displayName: 'Name',+ description: 'How the event is named in Brevo.',+ placeholder: 'order_completed',required: true,}),event_date: Property.DateTime({- displayName: 'Event Date',- description: 'When the event occurred. Defaults to now when left empty.',+ displayName: 'Date',+ description: 'Leave empty to use the current time.',required: false,}),event_properties: Property.Object({- displayName: 'Event Properties',- description: 'Details of the event, for example {"order_id": 42, "total": 99.5}.',+ displayName: 'Details',+ description: 'Event data, such as an order ID and total.',required: false,}),+ email: Property.ShortText({+ displayName: 'Email',+ description: 'The contact the event belongs to.',+ placeholder: '[email protected]',+ required: true,+ }),contact_properties: Property.Object({- displayName: 'Contact Properties',- description:- 'Contact attributes to update alongside the event, for example {"FIRSTNAME": "Elly"}.',+ displayName: 'Attributes',+ description: 'Contact attributes to update, such as FIRSTNAME.',required: false,}),},@@ -67,4 +84,3 @@ export const createEvent = createAction({return { success: true };},});-diff --git a/packages/pieces/community/sendinblue/src/lib/actions/create-or-update-contact.ts b/packages/pieces/community/sendinblue/src/lib/actions/create-or-update-contact.tsindex 9758c2a8e05..4617761c814 100644--- a/packages/pieces/community/sendinblue/src/lib/actions/create-or-update-contact.ts+++ b/packages/pieces/community/sendinblue/src/lib/actions/create-or-update-contact.ts@@ -1,7 +1,8 @@import { HttpMethod } from '@activepieces/pieces-common';-import { createAction, Property } from '@activepieces/pieces-framework';+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';import { sendinblueAuth } from '../auth';import { brevoCommon } from '../common';+import { contactFlags } from '../common/contact-flags';import { brevoProps } from '../common/props';import { createOrUpdateContactActionOutputSchema } from '../output-schemas';@@ -11,47 +12,70 @@ export const createOrUpdateContact = createAction({outputSchema: createOrUpdateContactActionOutputSchema,classification: 'WRITE',displayName: 'Create or Update Contact',- description: 'Create or update an existing contact',+ description: 'Create a contact, or update it if the email already exists.',audience: 'both',aiMetadata: {description:'Upserts a Brevo (formerly Sendinblue) contact keyed on its email address, setting attributes, list membership, and email/SMS blacklist flags. Use to add a new subscriber or sync changes to an existing one; because it is keyed on email with update enabled, re-running with the same input is idempotent and does not create duplicates. Email is required, and any attributes referenced must already exist in the Brevo account. Blacklist flags are only sent when explicitly set, so leaving them untouched preserves the contact current subscription state.',idempotent: true,},+ propertyGroups: [+ {+ key: 'contact',+ display: 'section',+ label: 'Contact',+ icon: 'user',+ props: ['changes_note', 'email', 'ext_id', 'attributes'],+ },+ {+ key: 'subscriptions',+ display: 'section',+ label: 'Subscriptions',+ icon: 'inbox',+ props: ['list_ids', 'email_blacklisted', 'sms_blacklisted', 'blocked_sender_addresses'],+ },+ ],props: {+ changes_note: Property.MarkDown({+ value: 'Empty fields keep their current value.',+ variant: MarkdownVariant.INFO,+ }),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"}`,+ description: 'The contact is matched by this address.',+ placeholder: '[email protected]',required: true,+ width: 'half',}),ext_id: Property.ShortText({displayName: 'External ID',- description: `Pass your own Id to create a contact.`,+ description: 'Your own ID for this contact.',+ placeholder: 'crm-1042',required: false,+ width: 'half',}),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 Brevo account. For eg:- {"FNAME":"Elly", "LNAME":"Roger"}. Only the attributes you list are changed; the rest are left as they are.`,+ description: 'Use attribute names from your Brevo account, such as FIRSTNAME.',required: false,}),+ list_ids: brevoProps.listIds({+ displayName: 'Add to Lists',+ description: 'The contact stays on lists it is already in.',+ }),email_blacklisted: Property.Checkbox({- displayName: 'Email Blacklisted?',- description: `Set this field to blacklist the contact for emails (emailBlacklisted = true). Leave untouched to keep the contact's current setting.`,+ displayName: 'Unsubscribe From Email',+ description: 'Unticked keeps the current setting.',required: false,}),sms_blacklisted: Property.Checkbox({- displayName: 'SMS Blacklisted?',- description: `Set this field to blacklist the contact for SMS (smsBlacklisted = true). Leave untouched to keep the contact's current setting.`,+ displayName: 'Unsubscribe From SMS',+ description: 'Unticked keeps the current setting.',required: false,}),- list_ids: brevoProps.listIds({- displayName: 'Lists',- description: 'Lists to add the contact to.',- }),blocked_sender_addresses: Property.Array({displayName: 'Blocked Sender Addresses',- description: `Sender email addresses this contact must not receive transactional email from. Leave empty to change nothing.`,+ description: 'Senders whose transactional emails this contact will not get.',required: false,}),},@@ -78,8 +102,8 @@ export const createOrUpdateContact = createAction({email,ext_id,attributes: brevoCommon.isEmptyObject(attributes) ? undefined : attributes,- emailBlacklisted: email_blacklisted,- smsBlacklisted: sms_blacklisted,+ emailBlacklisted: contactFlags.blacklistFlag(email_blacklisted),+ smsBlacklisted: contactFlags.blacklistFlag(sms_blacklisted),listIds: listIds.length > 0 ? listIds : undefined,smtpBlacklistSender: blockedSenders.length > 0 ? blockedSenders : undefined,updateEnabled: true,@@ -99,4 +123,3 @@ export const createOrUpdateContact = createAction({});},});-diff --git a/packages/pieces/community/sendinblue/src/lib/actions/find-contact.ts b/packages/pieces/community/sendinblue/src/lib/actions/find-contact.tsindex b10a16442a9..70ff0c20fda 100644--- a/packages/pieces/community/sendinblue/src/lib/actions/find-contact.ts+++ b/packages/pieces/community/sendinblue/src/lib/actions/find-contact.ts@@ -17,21 +17,26 @@ export const findContact = createAction({'Looks up a single Brevo contact by email, phone number, contact id, external id, WhatsApp id or landline number, and returns its attributes, list membership and blacklist flags. Returns found:false instead of failing when no contact matches, so it is safe to branch on. Read-only and idempotent.',idempotent: true,},+ propertyGroups: [+ {+ key: 'lookup',+ display: 'section',+ label: 'Contact',+ icon: 'user',+ props: ['identifier_type', 'identifier'],+ },+ ],props: {- identifier: Property.ShortText({- displayName: 'Identifier',- description: 'The value to look the contact up by, for example an email address.',- required: true,- }),identifier_type: Property.StaticDropdown({- displayName: 'Identifier Type',- description: 'How the identifier above should be interpreted.',+ displayName: 'Look Up By',+ description: 'What kind of value you are searching with.',required: false,defaultValue: 'email_id',+ width: 'half',options: {options: [{ label: 'Email', value: 'email_id' },- { label: 'Phone (SMS)', value: 'phone_id' },+ { label: 'Mobile Number', value: 'phone_id' },{ label: 'Contact ID', value: 'contact_id' },{ label: 'External ID', value: 'ext_id' },{ label: 'WhatsApp', value: 'whatsapp_id' },@@ -39,6 +44,13 @@ export const findContact = createAction({],},}),+ identifier: Property.ShortText({+ displayName: 'Value',+ description: 'The email, number or ID to search for.',+ placeholder: '[email protected]',+ required: true,+ width: 'half',+ }),},async run(context) {const { identifier, identifier_type } = context.propsValue;diff --git a/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-email.ts b/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-email.tsindex a47d56cd323..4170425c301 100644--- a/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-email.ts+++ b/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-email.ts@@ -1,5 +1,5 @@import { HttpMethod } from '@activepieces/pieces-common';-import { createAction, Property, isNil } from '@activepieces/pieces-framework';+import { createAction, MarkdownVariant, Property, isNil } from '@activepieces/pieces-framework';import { sendinblueAuth } from '../auth';import { brevoCommon } from '../common';import { brevoProps } from '../common/props';@@ -11,52 +11,33 @@ export const sendTransactionalEmail = createAction({outputSchema: sendTransactionalEmailActionOutputSchema,classification: 'WRITE',displayName: 'Send Transactional Email',- description: 'Send an email from your Brevo account with HTML or plain text content.',+ description: 'Send one email, written here or from a saved Brevo template.',audience: 'both',aiMetadata: {description:'Sends a one-off transactional email through Brevo, either by supplying subject and HTML content directly or by selecting a saved template and passing its variables. Use for receipts, password resets, notifications and other per-recipient mail; not for bulk marketing campaigns. Requires a verified sender unless a template with its own sender is used. Not idempotent — each call sends a new message.',idempotent: false,},+ propertyGroups: [+ {+ key: 'recipients',+ display: 'tabs',+ label: 'Recipients',+ description: 'Who receives this email, and where replies go.',+ props: ['to', 'cc', 'bcc', 'reply_to_email'],+ },+ ],props: {to: Property.Array({displayName: 'To',- description: 'Recipients of the email.',required: true,properties: {email: Property.ShortText({ displayName: 'Email', required: true }),name: Property.ShortText({ displayName: 'Name', required: false }),},}),- sender_email: brevoProps.senderEmail,- sender_name: Property.ShortText({- displayName: 'Sender Name',- description: 'Overrides the display name of the selected sender.',- required: false,- }),- template_id: brevoProps.emailTemplateId,- subject: Property.ShortText({- displayName: 'Subject',- description: 'Required unless a template is selected.',- required: false,- }),- html_content: Property.LongText({- displayName: 'HTML Content',- description: 'Required unless a template is selected.',- required: false,- }),- text_content: Property.LongText({- displayName: 'Text Content',- description: 'Plain text alternative shown when HTML cannot be rendered.',- required: false,- }),- params: Property.Object({- displayName: 'Template Parameters',- description: 'Values substituted into the template placeholders.',- required: false,- }),cc: Property.Array({- displayName: 'CC',+ displayName: 'Cc',required: false,properties: {email: Property.ShortText({ displayName: 'Email', required: true }),@@ -64,7 +45,7 @@ export const sendTransactionalEmail = createAction({},}),bcc: Property.Array({- displayName: 'BCC',+ displayName: 'Bcc',required: false,properties: {email: Property.ShortText({ displayName: 'Email', required: true }),@@ -73,11 +54,45 @@ export const sendTransactionalEmail = createAction({}),reply_to_email: Property.ShortText({displayName: 'Reply To',+ description: 'Where replies go. Empty: back to the sender.',+ placeholder: '[email protected]',+ required: false,+ }),+ sender_email: brevoProps.senderEmail,+ sender_name: Property.ShortText({+ displayName: 'Sender Name',+ description: 'Replaces the display name of the selected sender.',+ required: false,+ }),+ template_note: Property.MarkDown({+ value: 'Pick a template, or leave it empty and write the email below. Without a template, a sender is also required.',+ variant: MarkdownVariant.INFO,+ }),+ template_id: brevoProps.emailTemplateId,+ params: Property.Object({+ displayName: 'Template Parameters',+ description: 'Values for the template placeholders, by name.',+ required: false,+ }),+ subject: Property.ShortText({+ displayName: 'Subject',+ description: 'Required when no template is picked.',+ placeholder: 'Your order has shipped',+ required: false,+ }),+ html_content: Property.LongText({+ displayName: 'HTML Content',+ description: 'Required when no template is picked.',+ required: false,+ }),+ text_content: Property.LongText({+ displayName: 'Text Content',+ description: 'Plain text version for inboxes that cannot show HTML.',required: false,}),attachments: Property.Array({displayName: 'Attachments',- description: 'Files attached by public URL. Brevo downloads each URL when sending.',+ description: 'Files by public URL that Brevo downloads when sending.',required: false,properties: {url: Property.ShortText({ displayName: 'URL', required: true }),@@ -90,15 +105,16 @@ export const sendTransactionalEmail = createAction({required: false,}),scheduled_at: Property.DateTime({- displayName: 'Scheduled At',- description: 'Send the email at this UTC time instead of immediately.',+ displayName: 'Send At',+ description: 'Leave empty to send right away.',required: false,+ advanced: true,}),sandbox: Property.Checkbox({displayName: 'Sandbox Mode',- description:- 'Validate the request without delivering anything. Brevo checks the payload, sender and credentials, returns a message id, and drops the message: nothing reaches the recipient and no event is logged.',+ description: 'Brevo checks the request but delivers nothing.',required: false,+ advanced: true,}),},async run(context) {diff --git a/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-sms.ts b/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-sms.tsindex 91e2073ea45..0dacdd3a724 100644--- a/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-sms.ts+++ b/packages/pieces/community/sendinblue/src/lib/actions/send-transactional-sms.ts@@ -17,27 +17,32 @@ export const sendTransactionalSms = createAction({'Sends a one-off transactional SMS through Brevo to a single mobile number. The recipient must include the country code without a leading plus or zeros, and the sender is limited to 11 alphanumeric or 15 numeric characters. Content longer than 160 characters is split into multiple messages and billed accordingly. Not idempotent — each call sends a new message.',idempotent: false,},+ propertyGroups: [+ { key: 'message', display: 'section', label: 'Message', icon: 'send', props: ['sender', 'recipient', 'content', 'type'] },+ ],props: {sender: Property.ShortText({displayName: 'Sender',- description:- 'Name or number shown as the sender. Limited to 11 alphanumeric characters or 15 numeric characters.',+ description: 'Up to 11 letters and digits, or 15 digits only.',+ placeholder: 'MyShop',required: true,+ width: 'half',}),recipient: Property.ShortText({displayName: 'Recipient',- description:- 'Mobile number with the country code and no leading plus or zeros, for example 33680005003.',+ description: 'Country code first, no + or leading zeros.',+ placeholder: '33680005003',required: true,+ width: 'half',}),content: Property.LongText({displayName: 'Content',- description:- 'Message body. Longer than 160 characters is sent as multiple messages.',+ description: 'Over 160 characters is sent as several messages.',required: true,}),type: Property.StaticDropdown({- displayName: 'Type',+ displayName: 'Message Type',+ description: 'Transactional for order and account notices, Marketing for promotions.',required: false,defaultValue: 'transactional',options: {@@ -51,22 +56,26 @@ export const sendTransactionalSms = createAction({displayName: 'Tag',description: 'Label used to filter this message in Brevo reporting.',required: false,+ advanced: true,}),web_url: Property.ShortText({displayName: 'Webhook URL',- description: 'URL Brevo posts delivery reports for this message to.',+ description: 'Brevo posts delivery reports for this message here.',+ placeholder: 'https://example.com/sms-status',required: false,+ advanced: true,}),unicode_enabled: Property.Checkbox({- displayName: 'Unicode Enabled',- description:- 'Send the content as unicode. Unicode messages are limited to 70 characters per part.',+ displayName: 'Send as Unicode',+ description: 'Needed for emoji and non-Latin text; 70 characters per part.',required: false,+ advanced: true,}),organisation_prefix: Property.ShortText({- displayName: 'Organisation Prefix',- description: 'Brand name prepended to the message content.',+ displayName: 'Brand Name',+ description: 'Shown before the message so people know who sent it.',required: false,+ advanced: true,}),},async run(context) {diff --git a/packages/pieces/community/sendinblue/src/lib/actions/unsubscribe-contact.ts b/packages/pieces/community/sendinblue/src/lib/actions/unsubscribe-contact.tsindex c122fcafeae..40ff7334b46 100644--- a/packages/pieces/community/sendinblue/src/lib/actions/unsubscribe-contact.ts+++ b/packages/pieces/community/sendinblue/src/lib/actions/unsubscribe-contact.ts@@ -2,6 +2,7 @@ import { HttpMethod } from '@activepieces/pieces-common';import { createAction, Property } from '@activepieces/pieces-framework';import { sendinblueAuth } from '../auth';import { brevoCommon } from '../common';+import { contactFlags } from '../common/contact-flags';import { brevoProps } from '../common/props';export const unsubscribeContact = createAction({@@ -16,23 +17,43 @@ export const unsubscribeContact = createAction({'Opts a Brevo contact out by setting its email and optionally SMS blacklist flags, and can additionally remove it from specific lists. Use this to honour an unsubscribe request received elsewhere. Brevo answers with an empty body, so this returns a success flag. Idempotent — unsubscribing an already unsubscribed contact changes nothing.',idempotent: true,},+ propertyGroups: [+ {+ key: 'contact',+ display: 'section',+ label: 'Contact',+ icon: 'user',+ props: ['email'],+ },+ {+ key: 'opt_out',+ display: 'section',+ label: 'Opt Out',+ icon: 'inbox',+ props: ['unsubscribe_email', 'unsubscribe_sms', 'unlink_list_ids'],+ },+ ],props: {email: Property.ShortText({- displayName: 'Contact Email',+ displayName: 'Email',+ description: 'The contact is matched by this address.',+ placeholder: '[email protected]',required: true,}),unsubscribe_email: Property.Checkbox({displayName: 'Unsubscribe From Email',+ description: 'Unticked keeps the current setting.',required: false,defaultValue: true,}),unsubscribe_sms: Property.Checkbox({displayName: 'Unsubscribe From SMS',+ description: 'Unticked keeps the current setting.',required: false,}),unlink_list_ids: brevoProps.listIds({displayName: 'Remove From Lists',- description: 'Lists to remove the contact from as part of unsubscribing.',+ description: 'Lists to take the contact off.',}),},async run(context) {@@ -43,11 +64,11 @@ export const unsubscribeContact = createAction({.map((listId) => Number(listId)).filter((listId) => Number.isFinite(listId));- const body = {- emailBlacklisted: unsubscribe_email,- smsBlacklisted: unsubscribe_sms,- unlinkListIds: unlinkListIds.length > 0 ? unlinkListIds : undefined,- };+ const body = contactFlags.unsubscribeBody({+ unsubscribeEmail: unsubscribe_email,+ unsubscribeSms: unsubscribe_sms,+ unlinkListIds,+ });await brevoCommon.apiCall({apiKey: context.auth.secret_text,diff --git a/packages/pieces/community/sendinblue/src/lib/auth.ts b/packages/pieces/community/sendinblue/src/lib/auth.tsindex 0af85813e8b..130436304da 100644--- a/packages/pieces/community/sendinblue/src/lib/auth.ts+++ b/packages/pieces/community/sendinblue/src/lib/auth.ts@@ -1,7 +1,10 @@import { PieceAuth } from '@activepieces/pieces-framework';export const sendinblueAuth = PieceAuth.SecretText({- displayName: 'Project API key',- description: 'Your project API key',+ displayName: 'API Key',+ description: `To get your API key:+1. Log in to Brevo.+2. Open the account menu, go to **SMTP & API** and open the **API Keys** tab.+3. Click **Generate a new API key**, name it and copy the key.`,required: true,});diff --git a/packages/pieces/community/sendinblue/src/lib/common/contact-flags.test.ts b/packages/pieces/community/sendinblue/src/lib/common/contact-flags.test.tsnew file mode 100644index 00000000000..61031bac164--- /dev/null+++ b/packages/pieces/community/sendinblue/src/lib/common/contact-flags.test.ts@@ -0,0 +1,59 @@+import { describe, expect, it } from 'vitest';+import { contactFlags } from './contact-flags';++describe('contactFlags.blacklistFlag', () => {+ it('sends true when the toggle is ticked', () => {+ expect(contactFlags.blacklistFlag(true)).toBe(true);+ });++ it('omits the flag when the toggle is unticked, so the contact is not re-subscribed', () => {+ expect(contactFlags.blacklistFlag(false)).toBeUndefined();+ });++ it('omits the flag when the toggle was never set', () => {+ expect(contactFlags.blacklistFlag(undefined)).toBeUndefined();+ });+});++describe('contactFlags.unsubscribeBody', () => {+ it('blacklists only the ticked channels', () => {+ expect(+ contactFlags.unsubscribeBody({+ unsubscribeEmail: true,+ unsubscribeSms: false,+ unlinkListIds: [],+ }),+ ).toEqual({ emailBlacklisted: true, smsBlacklisted: undefined, unlinkListIds: undefined });+ });++ it('never sends false for an unticked channel', () => {+ const body = contactFlags.unsubscribeBody({+ unsubscribeEmail: false,+ unsubscribeSms: true,+ unlinkListIds: [],+ });++ expect(body.emailBlacklisted).toBeUndefined();+ expect(body.smsBlacklisted).toBe(true);+ });++ it('removes the contact from lists without touching either channel', () => {+ expect(+ contactFlags.unsubscribeBody({+ unsubscribeEmail: false,+ unsubscribeSms: undefined,+ unlinkListIds: [3, 42],+ }),+ ).toEqual({ emailBlacklisted: undefined, smsBlacklisted: undefined, unlinkListIds: [3, 42] });+ });++ it('refuses an unsubscribe that would change nothing', () => {+ expect(() =>+ contactFlags.unsubscribeBody({+ unsubscribeEmail: false,+ unsubscribeSms: undefined,+ unlinkListIds: [],+ }),+ ).toThrow('Tick Unsubscribe From Email or Unsubscribe From SMS, or pick a list to remove.');+ });+});diff --git a/packages/pieces/community/sendinblue/src/lib/common/contact-flags.ts b/packages/pieces/community/sendinblue/src/lib/common/contact-flags.tsnew file mode 100644index 00000000000..6562f181214--- /dev/null+++ b/packages/pieces/community/sendinblue/src/lib/common/contact-flags.ts@@ -0,0 +1,35 @@+function blacklistFlag(ticked: boolean | undefined): true | undefined {+ return ticked === true ? true : undefined;+}++function unsubscribeBody({+ unsubscribeEmail,+ unsubscribeSms,+ unlinkListIds,+}: UnsubscribeInput): UnsubscribeBody {+ if (unsubscribeEmail !== true && unsubscribeSms !== true && unlinkListIds.length === 0) {+ throw new Error(+ 'Tick Unsubscribe From Email or Unsubscribe From SMS, or pick a list to remove.',+ );+ }++ return {+ emailBlacklisted: blacklistFlag(unsubscribeEmail),+ smsBlacklisted: blacklistFlag(unsubscribeSms),+ unlinkListIds: unlinkListIds.length > 0 ? unlinkListIds : undefined,+ };+}++export const contactFlags = { blacklistFlag, unsubscribeBody };++export type UnsubscribeInput = {+ unsubscribeEmail: boolean | undefined;+ unsubscribeSms: boolean | undefined;+ unlinkListIds: number[];+};++export type UnsubscribeBody = {+ emailBlacklisted: true | undefined;+ smsBlacklisted: true | undefined;+ unlinkListIds: number[] | undefined;+};diff --git a/packages/pieces/community/sendinblue/src/lib/common/props.ts b/packages/pieces/community/sendinblue/src/lib/common/props.tsindex 720ffc235ce..71582a08373 100644--- a/packages/pieces/community/sendinblue/src/lib/common/props.ts+++ b/packages/pieces/community/sendinblue/src/lib/common/props.ts@@ -57,6 +57,22 @@ function connectFirst() {};}+function loadFailed(noun: string) {+ return {+ disabled: false,+ options: [],+ placeholder: `Could not load ${noun}. Check your connection.`,+ };+}++function noneFound(noun: string) {+ return {+ disabled: false,+ options: [],+ placeholder: `No ${noun} found. Create one in Brevo first.`,+ };+}+export const brevoProps = {listIds: ({ displayName, description }: ListIdsPropParams) =>Property.MultiSelectDropdown({@@ -70,15 +86,23 @@ export const brevoProps = {return connectFirst();}- const lists = await fetchAllLists(auth.secret_text);-- return {- disabled: false,- options: lists.map((list) => ({- label: list.name,- value: String(list.id),- })),- };+ try {+ const lists = await fetchAllLists(auth.secret_text);++ if (lists.length === 0) {+ return noneFound('lists');+ }++ return {+ disabled: false,+ options: lists.map((list) => ({+ label: list.name,+ value: String(list.id),+ })),+ };+ } catch {+ return loadFailed('lists');+ }},}),senderEmail: Property.Dropdown({@@ -92,19 +116,29 @@ export const brevoProps = {return connectFirst();}- const response = await brevoCommon.apiCall<BrevoSendersResponse>({- apiKey: auth.secret_text,- method: HttpMethod.GET,- resourceUri: '/senders',- });-- return {- disabled: false,- options: (response.senders ?? []).map((sender) => ({- label: sender.name ? `${sender.name} <${sender.email}>` : sender.email,- value: sender.email,- })),- };+ try {+ const response = await brevoCommon.apiCall<BrevoSendersResponse>({+ apiKey: auth.secret_text,+ method: HttpMethod.GET,+ resourceUri: '/senders',+ });++ const senders = response.senders ?? [];++ if (senders.length === 0) {+ return noneFound('senders');+ }++ return {+ disabled: false,+ options: senders.map((sender) => ({+ label: sender.name ? `${sender.name} <${sender.email}>` : sender.email,+ value: sender.email,+ })),+ };+ } catch {+ return loadFailed('senders');+ }},}),emailTemplateId: Property.Dropdown({@@ -119,15 +153,23 @@ export const brevoProps = {return connectFirst();}- const templates = await fetchAllTemplates(auth.secret_text);+ try {+ const templates = await fetchAllTemplates(auth.secret_text);++ if (templates.length === 0) {+ return noneFound('templates');+ }- return {- disabled: false,- options: templates.map((template) => ({- label: template.name,- value: template.id,- })),- };+ return {+ disabled: false,+ options: templates.map((template) => ({+ label: template.name,+ value: template.id,+ })),+ };+ } catch {+ return loadFailed('templates');+ }},}),};diff --git a/packages/pieces/community/sendinblue/src/lib/triggers/contact-added-to-list.ts b/packages/pieces/community/sendinblue/src/lib/triggers/contact-added-to-list.tsindex 8cfdf007987..699598bbc0d 100644--- a/packages/pieces/community/sendinblue/src/lib/triggers/contact-added-to-list.ts+++ b/packages/pieces/community/sendinblue/src/lib/triggers/contact-added-to-list.ts@@ -6,6 +6,7 @@ export const contactAddedToList = brevoRegisterTrigger({name: 'contact_added_to_list',displayName: 'Contact Added to List',description: 'Triggers when a contact is added to one of your lists.',+ note: 'Fires for every list. To act on one list only, check list_id in a later step.',aiDescription:`Fires when a contact is added to any Brevo list. The payload carries the contact email and a list_id array of the lists it was added to. Brevo subscribes at account level, so this fires for every list; filter on list_id downstream when only one list matters. ${WEBHOOK_ID_NOTE}`,type: 'marketing',diff --git a/packages/pieces/community/sendinblue/src/lib/triggers/register-webhook.ts b/packages/pieces/community/sendinblue/src/lib/triggers/register-webhook.tsindex cca32e27a5e..feb0482c59c 100644--- a/packages/pieces/community/sendinblue/src/lib/triggers/register-webhook.ts+++ b/packages/pieces/community/sendinblue/src/lib/triggers/register-webhook.ts@@ -1,6 +1,9 @@import { HttpMethod } from '@activepieces/pieces-common';import {+ InputPropertyMap,+ MarkdownVariant,OutputSchema,+ Property,TriggerStrategy,createTrigger,isNil,@@ -17,6 +20,7 @@ export const brevoRegisterTrigger = ({events,sampleData,outputSchema,+ note,}: BrevoTriggerParams) =>createTrigger({auth: sendinblueAuth,@@ -26,7 +30,7 @@ export const brevoRegisterTrigger = ({classification: 'READ',aiMetadata: { description: aiDescription },type: TriggerStrategy.WEBHOOK,- props: {},+ props: triggerProps(note),sampleData,outputSchema,async onEnable(context) {@@ -68,6 +72,16 @@ export const brevoRegisterTrigger = ({},});+function triggerProps(note: string | undefined): InputPropertyMap {+ if (isNil(note)) {+ return {};+ }++ return {+ note: Property.MarkDown({ value: note, variant: MarkdownVariant.INFO }),+ };+}+function storeKey(name: string): string {return `brevo_webhook_${name}`;}@@ -83,6 +97,7 @@ export type BrevoTriggerParams = {events: string[];sampleData: unknown;outputSchema: OutputSchema;+ note?: string;};export type BrevoWebhookResponse = {diff --git a/packages/pieces/community/sendinblue/vitest.config.ts b/packages/pieces/community/sendinblue/vitest.config.tsnew file mode 100644index 00000000000..ba8ade4a178--- /dev/null+++ b/packages/pieces/community/sendinblue/vitest.config.ts@@ -0,0 +1,17 @@+import path from 'path'+import { defineConfig } from 'vitest/config'++const repoRoot = path.resolve(__dirname, '../../../..')++export default defineConfig({+ test: {+ globals: true,+ environment: 'node',+ },+ resolve: {+ alias: {+ '@activepieces/pieces-framework': path.resolve(repoRoot, 'packages/pieces/framework/src/index.ts'),+ '@activepieces/pieces-common': path.resolve(repoRoot, 'packages/pieces/common/src/index.ts'),+ },+ },+})