Skip to content

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

feat(supabase): ui improvement (#16103)

Talal Jaber3e9a5c0013a8
diff --git a/bun.lock b/bun.lock
index 66e9d34135c..869dfd07534 100644
--- a/bun.lock
+++ b/bun.lock
@@ -8795,7 +8795,7 @@
},
"packages/pieces/community/supabase": {
"name": "@activepieces/piece-supabase",
- "version": "0.3.0",
+ "version": "0.4.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/supabase/package.json b/packages/pieces/community/supabase/package.json
index 147fa91cee4..c8e8ddf0a29 100644
--- a/packages/pieces/community/supabase/package.json
+++ b/packages/pieces/community/supabase/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-supabase",
- "version": "0.3.0",
+ "version": "0.4.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
diff --git a/packages/pieces/community/supabase/src/i18n/de.json b/packages/pieces/community/supabase/src/i18n/de.json
index aa90abd8b8e..5e17ecbf17d 100644
--- a/packages/pieces/community/supabase/src/i18n/de.json
+++ b/packages/pieces/community/supabase/src/i18n/de.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "Schema",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Datenbankschema (Standard: öffentlich)"
+ "Database schema (default: public)": "Datenbankschema (Standard: öffentlich)",
+ "Delete Files": "Dateien löschen",
+ "Uploads a file to a Storage bucket.": "Lädt eine Datei in einen Storage-Bucket hoch.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Erstellt einen Benutzer in Supabase Auth. Erfordert den Service Role Key.",
+ "Condition": "Bedingung",
+ "New Values": "Neue Werte",
+ "Match Column": "Abgleichsspalte",
+ "Rows Per Page": "Zeilen pro Seite",
+ "Total Count": "Gesamtanzahl",
+ "Max File Size": "Maximale Dateigröße",
+ "The bucket's name, as shown in Storage.": "Der Name des Buckets, wie in Storage angezeigt.",
+ "Where to save it in the bucket, including the file name.": "Speicherort im Bucket, einschließlich Dateiname.",
+ "A file from an earlier step, or a URL to download.": "Eine Datei aus einem vorherigen Schritt oder eine URL zum Herunterladen.",
+ "Only tables exposed through the Supabase Data API are listed.": "Es werden nur Tabellen aufgelistet, die über die Supabase Data API freigegeben sind.",
+ "Pick a table to load one field per column.": "Wählen Sie eine Tabelle, um ein Feld pro Spalte zu laden.",
+ "When off, the step outputs nothing.": "Wenn deaktiviert, gibt der Schritt nichts aus.",
+ "Rows are matched on this column.": "Zeilen werden anhand dieser Spalte abgeglichen.",
+ "How the column is compared with the value.": "Wie die Spalte mit dem Wert verglichen wird.",
+ "Used by every condition except Is one of.": "Wird von jeder Bedingung außer „Ist einer von“ verwendet.",
+ "Used only by Is one of.": "Wird nur von „Ist einer von“ verwendet.",
+ "Empty text, number and date fields keep their current value.": "Leere Text-, Zahlen- und Datumsfelder behalten ihren aktuellen Wert.",
+ "Adds the number of updated rows to the output.": "Fügt der Ausgabe die Anzahl der aktualisierten Zeilen hinzu.",
+ "Adds the updated rows to the output.": "Fügt der Ausgabe die aktualisierten Zeilen hinzu.",
+ "A unique column. Rows with the same value here are updated.": "Eine eindeutige Spalte. Zeilen mit demselben Wert in dieser Spalte werden aktualisiert.",
+ "Rows with an existing match column value are updated; others are added.": "Zeilen mit einem vorhandenen Wert in der Abgleichsspalte werden aktualisiert, alle anderen werden hinzugefügt.",
+ "Adds the number of written rows to the output.": "Fügt der Ausgabe die Anzahl der geschriebenen Zeilen hinzu.",
+ "Adds the written rows to the output.": "Fügt der Ausgabe die geschriebenen Zeilen hinzu.",
+ "Every row that matches is deleted. This cannot be undone.": "Jede übereinstimmende Zeile wird gelöscht. Dies kann nicht rückgängig gemacht werden.",
+ "Not used by Is one of, Is null or Is not null.": "Wird von „Ist einer von“, „Ist null“ und „Ist nicht null“ nicht verwendet.",
+ "Adds the number of deleted rows to the output.": "Fügt der Ausgabe die Anzahl der gelöschten Zeilen hinzu.",
+ "Adds the deleted rows to the output.": "Fügt der Ausgabe die gelöschten Zeilen hinzu.",
+ "Comma-separated. Leave empty to return every column.": "Kommagetrennt. Leer lassen, um alle Spalten zurückzugeben.",
+ "A row is returned only if it matches every filter.": "Eine Zeile wird nur zurückgegeben, wenn sie allen Filtern entspricht.",
+ "Starts at 1.": "Beginnt bei 1.",
+ "Between 1 and 1000.": "Zwischen 1 und 1000.",
+ "Leave empty to skip counting; count is then 0.": "Leer lassen, um nicht zu zählen; die Anzahl ist dann 0.",
+ "Must be unique in the project.": "Muss im Projekt eindeutig sein.",
+ "In bytes. Empty uses the project's upload limit.": "In Bytes. Leer: Upload-Limit des Projekts.",
+ "The file's path in the bucket, including its name.": "Der Pfad der Datei im Bucket, einschließlich ihres Namens.",
+ "One path per entry, like folder/report.pdf.": "Ein Pfad pro Eintrag, z. B. folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Sekunden, die der Link gültig bleibt. Standard ist eine Stunde.",
+ "How many users each page returns.": "Wie viele Benutzer jede Seite zurückgibt.",
+ "Find it under Authentication, Users in Supabase.": "Zu finden unter Authentication, Users in Supabase.",
+ "Enter an email, a phone number, or both.": "Geben Sie eine E-Mail-Adresse, eine Telefonnummer oder beides ein.",
+ "Include the country code.": "Mit Ländervorwahl.",
+ "Leave empty for passwordless sign-in.": "Leer lassen für die Anmeldung ohne Passwort.",
+ "Lets the user sign in without confirming by email.": "Ermöglicht dem Benutzer die Anmeldung ohne Bestätigung per E-Mail.",
+ "Custom data saved on the user, as JSON.": "Benutzerdefinierte Daten, die beim Benutzer gespeichert werden, als JSON.",
+ "Empty email, phone and password keep their current value.": "Leere Felder für E-Mail, Telefon und Passwort behalten ihren aktuellen Wert.",
+ "Leave empty to keep the current password.": "Leer lassen, um das aktuelle Passwort beizubehalten.",
+ "Page the user lands on after accepting.": "Seite, auf der der Benutzer nach dem Annehmen landet.",
+ "Is one of": "Ist einer von",
+ "Greater than": "Größer als",
+ "Does not equal": "Ist ungleich",
+ "Greater than or equal to": "Größer als oder gleich",
+ "Less than": "Kleiner als",
+ "Less than or equal to": "Kleiner als oder gleich",
+ "Is null": "Ist null",
+ "Is not null": "Ist nicht null",
+ "Matches pattern": "Entspricht Muster",
+ "Matches pattern, any case": "Entspricht Muster, ohne Groß-/Kleinschreibung",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. Öffnen Sie in Supabase **Database → Webhooks** und klicken Sie auf **Create a new hook**.\n2. Wählen Sie die Tabelle, aktivieren Sie **Insert** und wählen Sie **HTTP Request** mit der Methode **POST**.\n3. Fügen Sie diese URL ein und klicken Sie dann auf **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase-Dokumentation zu Webhooks](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Nur ändern, wenn die Tabelle nicht im Schema public liegt."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/es.json b/packages/pieces/community/supabase/src/i18n/es.json
index 2021bb1a2f8..093cdc50d38 100644
--- a/packages/pieces/community/supabase/src/i18n/es.json
+++ b/packages/pieces/community/supabase/src/i18n/es.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "Esquema",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Configurar Instrucciones\n\n1. **Ve a tu Tablero de Suaba** → Base de datos → Webhooks\n\n. **Haz clic en \"Crear un nuevo hook\"**\n3. **Configura el webhook:**\n - **Nombre**: Dale un nombre descriptivo (p.e. \"Activepieces New Row\")\n - **Tabla**: Selecciona la tabla que quieres monitorizar\n - **Eventos**: Comprueba \"Insertar\" \n - **Tipo**: HTTP Request\n - **Método**: POST\n - **URL**: Copia y pega la URL del webhook debajo de\n4. **Haz clic en \"Crear webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}` \n\n ## Notas Importantes\n- El webhook enviará una carga JSON con los nuevos datos de fila\n- Asegúrate de que tu tabla tiene los permisos necesarios\n- Puedes probar el webhook insertando una nueva fila en tu tabla\n\nPara más detalles, vea [Suabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Esquema de base de datos (por defecto: público)"
+ "Database schema (default: public)": "Esquema de base de datos (por defecto: público)",
+ "Delete Files": "Eliminar archivos",
+ "Uploads a file to a Storage bucket.": "Sube un archivo a un bucket de Storage.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Crea un usuario en Supabase Auth. Requiere la Service Role Key.",
+ "Condition": "Condición",
+ "New Values": "Valores nuevos",
+ "Match Column": "Columna de coincidencia",
+ "Rows Per Page": "Filas por página",
+ "Total Count": "Recuento total",
+ "Max File Size": "Tamaño máximo de archivo",
+ "The bucket's name, as shown in Storage.": "El nombre del bucket, tal como aparece en Storage.",
+ "Where to save it in the bucket, including the file name.": "Dónde guardarlo en el bucket, incluido el nombre del archivo.",
+ "A file from an earlier step, or a URL to download.": "Un archivo de un paso anterior o una URL para descargar.",
+ "Only tables exposed through the Supabase Data API are listed.": "Solo se muestran las tablas expuestas a través de la Data API de Supabase.",
+ "Pick a table to load one field per column.": "Elige una tabla para cargar un campo por columna.",
+ "When off, the step outputs nothing.": "Si está desactivado, el paso no devuelve nada.",
+ "Rows are matched on this column.": "Las filas se comparan por esta columna.",
+ "How the column is compared with the value.": "Cómo se compara la columna con el valor.",
+ "Used by every condition except Is one of.": "Lo usan todas las condiciones excepto “Es uno de”.",
+ "Used only by Is one of.": "Solo lo usa “Es uno de”.",
+ "Empty text, number and date fields keep their current value.": "Los campos vacíos de texto, número y fecha conservan su valor actual.",
+ "Adds the number of updated rows to the output.": "Añade a la salida el número de filas actualizadas.",
+ "Adds the updated rows to the output.": "Añade a la salida las filas actualizadas.",
+ "A unique column. Rows with the same value here are updated.": "Una columna única. Se actualizan las filas con el mismo valor en ella.",
+ "Rows with an existing match column value are updated; others are added.": "Las filas cuyo valor en la columna de coincidencia ya existe se actualizan; las demás se añaden.",
+ "Adds the number of written rows to the output.": "Añade a la salida el número de filas escritas.",
+ "Adds the written rows to the output.": "Añade a la salida las filas escritas.",
+ "Every row that matches is deleted. This cannot be undone.": "Se eliminan todas las filas que coincidan. Esto no se puede deshacer.",
+ "Not used by Is one of, Is null or Is not null.": "No lo usan “Es uno de”, “Es nulo” ni “No es nulo”.",
+ "Adds the number of deleted rows to the output.": "Añade a la salida el número de filas eliminadas.",
+ "Adds the deleted rows to the output.": "Añade a la salida las filas eliminadas.",
+ "Comma-separated. Leave empty to return every column.": "Separadas por comas. Déjalo vacío para devolver todas las columnas.",
+ "A row is returned only if it matches every filter.": "Solo se devuelve una fila si cumple todos los filtros.",
+ "Starts at 1.": "Empieza en 1.",
+ "Between 1 and 1000.": "Entre 1 y 1000.",
+ "Leave empty to skip counting; count is then 0.": "Déjalo vacío para no contar; el recuento será 0.",
+ "Must be unique in the project.": "Debe ser único en el proyecto.",
+ "In bytes. Empty uses the project's upload limit.": "En bytes. Si está vacío, se usa el límite de subida del proyecto.",
+ "The file's path in the bucket, including its name.": "La ruta del archivo en el bucket, incluido su nombre.",
+ "One path per entry, like folder/report.pdf.": "Una ruta por entrada, como folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Segundos que el enlace sigue siendo válido. Por defecto, una hora.",
+ "How many users each page returns.": "Cuántos usuarios devuelve cada página.",
+ "Find it under Authentication, Users in Supabase.": "Lo encontrarás en Authentication, Users en Supabase.",
+ "Enter an email, a phone number, or both.": "Introduce un correo electrónico, un número de teléfono o ambos.",
+ "Include the country code.": "Incluye el código de país.",
+ "Leave empty for passwordless sign-in.": "Déjalo vacío para iniciar sesión sin contraseña.",
+ "Lets the user sign in without confirming by email.": "Permite al usuario iniciar sesión sin confirmar por correo electrónico.",
+ "Custom data saved on the user, as JSON.": "Datos personalizados guardados en el usuario, en formato JSON.",
+ "Empty email, phone and password keep their current value.": "Los campos vacíos de correo, teléfono y contraseña conservan su valor actual.",
+ "Leave empty to keep the current password.": "Déjalo vacío para conservar la contraseña actual.",
+ "Page the user lands on after accepting.": "Página a la que llega el usuario tras aceptar.",
+ "Is one of": "Es uno de",
+ "Greater than": "Mayor que",
+ "Does not equal": "No es igual a",
+ "Greater than or equal to": "Mayor o igual que",
+ "Less than": "Menor que",
+ "Less than or equal to": "Menor o igual que",
+ "Is null": "Es nulo",
+ "Is not null": "No es nulo",
+ "Matches pattern": "Coincide con el patrón",
+ "Matches pattern, any case": "Coincide con el patrón, sin distinguir mayúsculas",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. En Supabase, abre **Database → Webhooks** y haz clic en **Create a new hook**.\n2. Elige la tabla, marca **Insert** y selecciona **HTTP Request** con el método **POST**.\n3. Pega esta URL y luego haz clic en **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Documentación de webhooks de Supabase](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Cámbialo solo si la tabla no está en el esquema public."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/fr.json b/packages/pieces/community/supabase/src/i18n/fr.json
index d1f7da3f44e..5dc944d7349 100644
--- a/packages/pieces/community/supabase/src/i18n/fr.json
+++ b/packages/pieces/community/supabase/src/i18n/fr.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "Schéma",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Schéma de la base de données (par défaut: public)"
+ "Database schema (default: public)": "Schéma de la base de données (par défaut: public)",
+ "Delete Files": "Supprimer des fichiers",
+ "Uploads a file to a Storage bucket.": "Téléverse un fichier dans un bucket Storage.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Crée un utilisateur dans Supabase Auth. Nécessite la Service Role Key.",
+ "Condition": "Condition",
+ "New Values": "Nouvelles valeurs",
+ "Match Column": "Colonne de correspondance",
+ "Rows Per Page": "Lignes par page",
+ "Total Count": "Nombre total",
+ "Max File Size": "Taille maximale du fichier",
+ "The bucket's name, as shown in Storage.": "Le nom du bucket, tel qu'il apparaît dans Storage.",
+ "Where to save it in the bucket, including the file name.": "Où l'enregistrer dans le bucket, nom du fichier compris.",
+ "A file from an earlier step, or a URL to download.": "Un fichier d'une étape précédente, ou une URL à télécharger.",
+ "Only tables exposed through the Supabase Data API are listed.": "Seules les tables exposées via la Data API de Supabase sont listées.",
+ "Pick a table to load one field per column.": "Choisissez une table pour charger un champ par colonne.",
+ "When off, the step outputs nothing.": "Si désactivé, l'étape ne renvoie rien.",
+ "Rows are matched on this column.": "Les lignes sont mises en correspondance sur cette colonne.",
+ "How the column is compared with the value.": "Comment la colonne est comparée à la valeur.",
+ "Used by every condition except Is one of.": "Utilisé par toutes les conditions sauf « Est l'un de ».",
+ "Used only by Is one of.": "Utilisé uniquement par « Est l'un de ».",
+ "Empty text, number and date fields keep their current value.": "Les champs texte, nombre et date vides conservent leur valeur actuelle.",
+ "Adds the number of updated rows to the output.": "Ajoute le nombre de lignes mises à jour à la sortie.",
+ "Adds the updated rows to the output.": "Ajoute les lignes mises à jour à la sortie.",
+ "A unique column. Rows with the same value here are updated.": "Une colonne unique. Les lignes ayant la même valeur dans cette colonne sont mises à jour.",
+ "Rows with an existing match column value are updated; others are added.": "Les lignes dont la valeur de la colonne de correspondance existe déjà sont mises à jour ; les autres sont ajoutées.",
+ "Adds the number of written rows to the output.": "Ajoute le nombre de lignes écrites à la sortie.",
+ "Adds the written rows to the output.": "Ajoute les lignes écrites à la sortie.",
+ "Every row that matches is deleted. This cannot be undone.": "Toutes les lignes correspondantes sont supprimées. Cette action est irréversible.",
+ "Not used by Is one of, Is null or Is not null.": "Non utilisé par « Est l'un de », « Est nul » ou « N'est pas nul ».",
+ "Adds the number of deleted rows to the output.": "Ajoute le nombre de lignes supprimées à la sortie.",
+ "Adds the deleted rows to the output.": "Ajoute les lignes supprimées à la sortie.",
+ "Comma-separated. Leave empty to return every column.": "Séparées par des virgules. Laissez vide pour renvoyer toutes les colonnes.",
+ "A row is returned only if it matches every filter.": "Une ligne n'est renvoyée que si elle correspond à tous les filtres.",
+ "Starts at 1.": "Commence à 1.",
+ "Between 1 and 1000.": "Entre 1 et 1000.",
+ "Leave empty to skip counting; count is then 0.": "Laissez vide pour ne pas compter ; le nombre est alors 0.",
+ "Must be unique in the project.": "Doit être unique dans le projet.",
+ "In bytes. Empty uses the project's upload limit.": "En octets. Vide : limite d'envoi du projet.",
+ "The file's path in the bucket, including its name.": "Le chemin du fichier dans le bucket, nom compris.",
+ "One path per entry, like folder/report.pdf.": "Un chemin par entrée, par exemple folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Durée de validité du lien, en secondes. Par défaut, une heure.",
+ "How many users each page returns.": "Nombre d'utilisateurs renvoyés par page.",
+ "Find it under Authentication, Users in Supabase.": "Disponible sous Authentication, Users dans Supabase.",
+ "Enter an email, a phone number, or both.": "Saisissez une adresse e-mail, un numéro de téléphone, ou les deux.",
+ "Include the country code.": "Incluez l'indicatif du pays.",
+ "Leave empty for passwordless sign-in.": "Laissez vide pour une connexion sans mot de passe.",
+ "Lets the user sign in without confirming by email.": "Permet à l'utilisateur de se connecter sans confirmation par e-mail.",
+ "Custom data saved on the user, as JSON.": "Données personnalisées enregistrées sur l'utilisateur, au format JSON.",
+ "Empty email, phone and password keep their current value.": "Les champs e-mail, téléphone et mot de passe vides conservent leur valeur actuelle.",
+ "Leave empty to keep the current password.": "Laissez vide pour conserver le mot de passe actuel.",
+ "Page the user lands on after accepting.": "Page sur laquelle l'utilisateur arrive après avoir accepté.",
+ "Is one of": "Est l'un de",
+ "Greater than": "Supérieur à",
+ "Does not equal": "N'est pas égal à",
+ "Greater than or equal to": "Supérieur ou égal à",
+ "Less than": "Inférieur à",
+ "Less than or equal to": "Inférieur ou égal à",
+ "Is null": "Est nul",
+ "Is not null": "N'est pas nul",
+ "Matches pattern": "Correspond au motif",
+ "Matches pattern, any case": "Correspond au motif, sans tenir compte de la casse",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. Dans Supabase, ouvrez **Database → Webhooks** et cliquez sur **Create a new hook**.\n2. Choisissez la table, cochez **Insert** et sélectionnez **HTTP Request** avec la méthode **POST**.\n3. Collez cette URL, puis cliquez sur **Create webhook** :\n\n```text\n{{webhookUrl}}\n```\n\n[Documentation des webhooks Supabase](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "À modifier uniquement si la table n'est pas dans le schéma public."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/ja.json b/packages/pieces/community/supabase/src/i18n/ja.json
index 8f96c90ba06..a55c4bc9513 100644
--- a/packages/pieces/community/supabase/src/i18n/ja.json
+++ b/packages/pieces/community/supabase/src/i18n/ja.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "スキーマ",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "データベース スキーマ(デフォルト: public)"
+ "Database schema (default: public)": "データベース スキーマ(デフォルト: public)",
+ "Delete Files": "ファイルを削除",
+ "Uploads a file to a Storage bucket.": "Storage のバケットにファイルをアップロードします。",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Supabase Auth にユーザーを作成します。Service Role Key が必要です。",
+ "Condition": "条件",
+ "New Values": "新しい値",
+ "Match Column": "照合列",
+ "Rows Per Page": "1ページあたりの行数",
+ "Total Count": "合計件数",
+ "Max File Size": "最大ファイルサイズ",
+ "The bucket's name, as shown in Storage.": "Storage に表示されるバケット名。",
+ "Where to save it in the bucket, including the file name.": "バケット内の保存先(ファイル名を含む)。",
+ "A file from an earlier step, or a URL to download.": "前のステップのファイル、またはダウンロードする URL。",
+ "Only tables exposed through the Supabase Data API are listed.": "Supabase Data API で公開されているテーブルのみが表示されます。",
+ "Pick a table to load one field per column.": "テーブルを選ぶと、列ごとに1つのフィールドが読み込まれます。",
+ "When off, the step outputs nothing.": "オフの場合、ステップは何も出力しません。",
+ "Rows are matched on this column.": "この列で行を照合します。",
+ "How the column is compared with the value.": "列と値を比較する方法。",
+ "Used by every condition except Is one of.": "「いずれかに一致」以外のすべての条件で使用されます。",
+ "Used only by Is one of.": "「いずれかに一致」でのみ使用されます。",
+ "Empty text, number and date fields keep their current value.": "空のテキスト・数値・日付フィールドは現在の値が保持されます。",
+ "Adds the number of updated rows to the output.": "更新された行数を出力に追加します。",
+ "Adds the updated rows to the output.": "更新された行を出力に追加します。",
+ "A unique column. Rows with the same value here are updated.": "一意の列。この列の値が同じ行が更新されます。",
+ "Rows with an existing match column value are updated; others are added.": "照合列の値がすでに存在する行は更新され、それ以外は追加されます。",
+ "Adds the number of written rows to the output.": "書き込まれた行数を出力に追加します。",
+ "Adds the written rows to the output.": "書き込まれた行を出力に追加します。",
+ "Every row that matches is deleted. This cannot be undone.": "一致するすべての行が削除されます。この操作は元に戻せません。",
+ "Not used by Is one of, Is null or Is not null.": "「いずれかに一致」「null である」「null でない」では使用されません。",
+ "Adds the number of deleted rows to the output.": "削除された行数を出力に追加します。",
+ "Adds the deleted rows to the output.": "削除された行を出力に追加します。",
+ "Comma-separated. Leave empty to return every column.": "カンマ区切り。空欄にするとすべての列を返します。",
+ "A row is returned only if it matches every filter.": "すべてのフィルターに一致する行のみが返されます。",
+ "Starts at 1.": "1 から始まります。",
+ "Between 1 and 1000.": "1 から 1000 の範囲。",
+ "Leave empty to skip counting; count is then 0.": "空欄にするとカウントしません。その場合、件数は 0 になります。",
+ "Must be unique in the project.": "プロジェクト内で一意である必要があります。",
+ "In bytes. Empty uses the project's upload limit.": "バイト単位。空欄の場合はプロジェクトのアップロード上限が使われます。",
+ "The file's path in the bucket, including its name.": "バケット内のファイルのパス(ファイル名を含む)。",
+ "One path per entry, like folder/report.pdf.": "1 エントリにつき 1 つのパス(例: folder/report.pdf)。",
+ "Seconds the link stays valid. Default is one hour.": "リンクが有効な秒数。デフォルトは 1 時間です。",
+ "How many users each page returns.": "各ページで返すユーザー数。",
+ "Find it under Authentication, Users in Supabase.": "Supabase の Authentication, Users で確認できます。",
+ "Enter an email, a phone number, or both.": "メールアドレス、電話番号、またはその両方を入力してください。",
+ "Include the country code.": "国番号を含めてください。",
+ "Leave empty for passwordless sign-in.": "パスワードなしでサインインする場合は空欄にします。",
+ "Lets the user sign in without confirming by email.": "メールでの確認なしでユーザーがサインインできるようにします。",
+ "Custom data saved on the user, as JSON.": "ユーザーに保存するカスタムデータ(JSON 形式)。",
+ "Empty email, phone and password keep their current value.": "空のメール・電話番号・パスワードは現在の値が保持されます。",
+ "Leave empty to keep the current password.": "現在のパスワードを維持する場合は空欄にします。",
+ "Page the user lands on after accepting.": "承諾後にユーザーが移動するページ。",
+ "Is one of": "いずれかに一致",
+ "Greater than": "より大きい",
+ "Does not equal": "等しくない",
+ "Greater than or equal to": "以上",
+ "Less than": "より小さい",
+ "Less than or equal to": "以下",
+ "Is null": "null である",
+ "Is not null": "null でない",
+ "Matches pattern": "パターンに一致",
+ "Matches pattern, any case": "パターンに一致(大文字と小文字を区別しない)",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. Supabase で **Database → Webhooks** を開き、**Create a new hook** をクリックします。\n2. テーブルを選び、**Insert** にチェックを入れて、メソッド **POST** の **HTTP Request** を選択します。\n3. この URL を貼り付けて、**Create webhook** をクリックします:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase の Webhook ドキュメント](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "テーブルが public スキーマにない場合のみ変更してください。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/nl.json b/packages/pieces/community/supabase/src/i18n/nl.json
index 4a26bd09fda..1be3e03a174 100644
--- a/packages/pieces/community/supabase/src/i18n/nl.json
+++ b/packages/pieces/community/supabase/src/i18n/nl.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "Schema",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Instructies instellen\n\n1. **Ga naar je Supabase Dashboard** → Database → Webhooks\n\n. **Klik op \"Maak een nieuwe hook\"**\n3. **Configureer de webhook:**\n - **Naam**: Geef het een beschrijvende naam (bijv. \"Activepieces New Row\")\n - **Tabel**: Selecteer de tabel die u wilt monitoren\n - **Gebeurtenissen**: Controleer \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Kopieer en plak de webhook URL onder\n4. **Klik op \"Maak webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}` \n\n ## Belangrijke notities\n- De webhook stuurt een JSON payload met de nieuwe rij gegevens\n- Zorg ervoor dat de tabel de benodigde rechten heeft\n- Je kunt de webhook testen door een nieuwe rij in te voegen in je tabel\n\nvoor meer informatie. zie [Supabase Database Webhooks documentatie](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Databaseschema (standaard: openbaar)"
+ "Database schema (default: public)": "Databaseschema (standaard: openbaar)",
+ "Delete Files": "Bestanden verwijderen",
+ "Uploads a file to a Storage bucket.": "Uploadt een bestand naar een Storage-bucket.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Maakt een gebruiker aan in Supabase Auth. Vereist de Service Role Key.",
+ "Condition": "Voorwaarde",
+ "New Values": "Nieuwe waarden",
+ "Match Column": "Vergelijkingskolom",
+ "Rows Per Page": "Rijen per pagina",
+ "Total Count": "Totaal aantal",
+ "Max File Size": "Maximale bestandsgrootte",
+ "The bucket's name, as shown in Storage.": "De naam van de bucket, zoals weergegeven in Storage.",
+ "Where to save it in the bucket, including the file name.": "Waar het in de bucket wordt opgeslagen, inclusief de bestandsnaam.",
+ "A file from an earlier step, or a URL to download.": "Een bestand uit een eerdere stap, of een URL om te downloaden.",
+ "Only tables exposed through the Supabase Data API are listed.": "Alleen tabellen die via de Supabase Data API beschikbaar zijn, worden weergegeven.",
+ "Pick a table to load one field per column.": "Kies een tabel om één veld per kolom te laden.",
+ "When off, the step outputs nothing.": "Indien uit, geeft de stap niets terug.",
+ "Rows are matched on this column.": "Rijen worden op deze kolom vergeleken.",
+ "How the column is compared with the value.": "Hoe de kolom met de waarde wordt vergeleken.",
+ "Used by every condition except Is one of.": "Gebruikt door elke voorwaarde behalve “Is een van”.",
+ "Used only by Is one of.": "Alleen gebruikt door “Is een van”.",
+ "Empty text, number and date fields keep their current value.": "Lege tekst-, getal- en datumvelden behouden hun huidige waarde.",
+ "Adds the number of updated rows to the output.": "Voegt het aantal bijgewerkte rijen toe aan de uitvoer.",
+ "Adds the updated rows to the output.": "Voegt de bijgewerkte rijen toe aan de uitvoer.",
+ "A unique column. Rows with the same value here are updated.": "Een unieke kolom. Rijen met dezelfde waarde in deze kolom worden bijgewerkt.",
+ "Rows with an existing match column value are updated; others are added.": "Rijen met een bestaande waarde in de vergelijkingskolom worden bijgewerkt; andere worden toegevoegd.",
+ "Adds the number of written rows to the output.": "Voegt het aantal geschreven rijen toe aan de uitvoer.",
+ "Adds the written rows to the output.": "Voegt de geschreven rijen toe aan de uitvoer.",
+ "Every row that matches is deleted. This cannot be undone.": "Elke overeenkomende rij wordt verwijderd. Dit kan niet ongedaan worden gemaakt.",
+ "Not used by Is one of, Is null or Is not null.": "Niet gebruikt door “Is een van”, “Is null” of “Is niet null”.",
+ "Adds the number of deleted rows to the output.": "Voegt het aantal verwijderde rijen toe aan de uitvoer.",
+ "Adds the deleted rows to the output.": "Voegt de verwijderde rijen toe aan de uitvoer.",
+ "Comma-separated. Leave empty to return every column.": "Kommagescheiden. Laat leeg om alle kolommen terug te geven.",
+ "A row is returned only if it matches every filter.": "Een rij wordt alleen teruggegeven als deze aan elk filter voldoet.",
+ "Starts at 1.": "Begint bij 1.",
+ "Between 1 and 1000.": "Tussen 1 en 1000.",
+ "Leave empty to skip counting; count is then 0.": "Laat leeg om niet te tellen; het aantal is dan 0.",
+ "Must be unique in the project.": "Moet uniek zijn binnen het project.",
+ "In bytes. Empty uses the project's upload limit.": "In bytes. Leeg: de uploadlimiet van het project.",
+ "The file's path in the bucket, including its name.": "Het pad van het bestand in de bucket, inclusief de naam.",
+ "One path per entry, like folder/report.pdf.": "Eén pad per item, zoals folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Aantal seconden dat de link geldig blijft. Standaard is één uur.",
+ "How many users each page returns.": "Hoeveel gebruikers elke pagina teruggeeft.",
+ "Find it under Authentication, Users in Supabase.": "Te vinden onder Authentication, Users in Supabase.",
+ "Enter an email, a phone number, or both.": "Voer een e-mailadres, een telefoonnummer of beide in.",
+ "Include the country code.": "Inclusief de landcode.",
+ "Leave empty for passwordless sign-in.": "Laat leeg om zonder wachtwoord in te loggen.",
+ "Lets the user sign in without confirming by email.": "Laat de gebruiker inloggen zonder bevestiging per e-mail.",
+ "Custom data saved on the user, as JSON.": "Aangepaste gegevens die bij de gebruiker worden opgeslagen, als JSON.",
+ "Empty email, phone and password keep their current value.": "Lege velden voor e-mail, telefoon en wachtwoord behouden hun huidige waarde.",
+ "Leave empty to keep the current password.": "Laat leeg om het huidige wachtwoord te behouden.",
+ "Page the user lands on after accepting.": "Pagina waarop de gebruiker terechtkomt na het accepteren.",
+ "Is one of": "Is een van",
+ "Greater than": "Groter dan",
+ "Does not equal": "Is niet gelijk aan",
+ "Greater than or equal to": "Groter dan of gelijk aan",
+ "Less than": "Kleiner dan",
+ "Less than or equal to": "Kleiner dan of gelijk aan",
+ "Is null": "Is null",
+ "Is not null": "Is niet null",
+ "Matches pattern": "Komt overeen met patroon",
+ "Matches pattern, any case": "Komt overeen met patroon, hoofdletterongevoelig",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. Open in Supabase **Database → Webhooks** en klik op **Create a new hook**.\n2. Kies de tabel, vink **Insert** aan en kies **HTTP Request** met methode **POST**.\n3. Plak deze URL en klik daarna op **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase-documentatie over webhooks](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Alleen wijzigen als de tabel niet in het schema public staat."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/pt.json b/packages/pieces/community/supabase/src/i18n/pt.json
index ef8a3c5f7f5..ed18ec0289e 100644
--- a/packages/pieces/community/supabase/src/i18n/pt.json
+++ b/packages/pieces/community/supabase/src/i18n/pt.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "Esquema",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Instruções de configuração\n\n1. **Vá para seu painel de suporte** → Banco de dados → Webhooks\n\n. **Clique em \"Create a new hook\"**\n3. **Configure o webhook:**\n - **Nome**: Dê um nome descritivo (por exemplo, \"Activepieces New Row\")\n - **Tabela**: Selecione a tabela que você quer monitorar\n - **Eventos**: Verifique \"Insert\" \n - **Tipo**: HTTP Request\n - **Método**: POST\n - **URL**: copie e cole o URL do webhook abaixo\n4. **Clique em \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}` \n\n ## Notas Importantes\n- O webhook vai enviar uma carga JSON com os novos dados de linha\n- Certifique-se de que sua tabela tem as permissões necessárias\n- Você pode testar o webhook inserindo uma nova linha na sua tabela\n\nPara mais detalhes veja [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Esquema do banco de dados (padrão: público)"
+ "Database schema (default: public)": "Esquema do banco de dados (padrão: público)",
+ "Delete Files": "Excluir arquivos",
+ "Uploads a file to a Storage bucket.": "Envia um arquivo para um bucket do Storage.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Cria um usuário no Supabase Auth. Requer a Service Role Key.",
+ "Condition": "Condição",
+ "New Values": "Novos valores",
+ "Match Column": "Coluna de correspondência",
+ "Rows Per Page": "Linhas por página",
+ "Total Count": "Contagem total",
+ "Max File Size": "Tamanho máximo do arquivo",
+ "The bucket's name, as shown in Storage.": "O nome do bucket, como aparece no Storage.",
+ "Where to save it in the bucket, including the file name.": "Onde salvá-lo no bucket, incluindo o nome do arquivo.",
+ "A file from an earlier step, or a URL to download.": "Um arquivo de uma etapa anterior ou uma URL para download.",
+ "Only tables exposed through the Supabase Data API are listed.": "Somente tabelas expostas pela Data API do Supabase são listadas.",
+ "Pick a table to load one field per column.": "Escolha uma tabela para carregar um campo por coluna.",
+ "When off, the step outputs nothing.": "Quando desativado, a etapa não retorna nada.",
+ "Rows are matched on this column.": "As linhas são correspondidas por esta coluna.",
+ "How the column is compared with the value.": "Como a coluna é comparada com o valor.",
+ "Used by every condition except Is one of.": "Usado por todas as condições, exceto “É um de”.",
+ "Used only by Is one of.": "Usado apenas por “É um de”.",
+ "Empty text, number and date fields keep their current value.": "Campos de texto, número e data vazios mantêm o valor atual.",
+ "Adds the number of updated rows to the output.": "Adiciona o número de linhas atualizadas à saída.",
+ "Adds the updated rows to the output.": "Adiciona as linhas atualizadas à saída.",
+ "A unique column. Rows with the same value here are updated.": "Uma coluna única. Linhas com o mesmo valor nesta coluna são atualizadas.",
+ "Rows with an existing match column value are updated; others are added.": "Linhas com um valor já existente na coluna de correspondência são atualizadas; as demais são adicionadas.",
+ "Adds the number of written rows to the output.": "Adiciona o número de linhas gravadas à saída.",
+ "Adds the written rows to the output.": "Adiciona as linhas gravadas à saída.",
+ "Every row that matches is deleted. This cannot be undone.": "Todas as linhas correspondentes são excluídas. Isso não pode ser desfeito.",
+ "Not used by Is one of, Is null or Is not null.": "Não usado por “É um de”, “É nulo” ou “Não é nulo”.",
+ "Adds the number of deleted rows to the output.": "Adiciona o número de linhas excluídas à saída.",
+ "Adds the deleted rows to the output.": "Adiciona as linhas excluídas à saída.",
+ "Comma-separated. Leave empty to return every column.": "Separadas por vírgula. Deixe em branco para retornar todas as colunas.",
+ "A row is returned only if it matches every filter.": "Uma linha só é retornada se corresponder a todos os filtros.",
+ "Starts at 1.": "Começa em 1.",
+ "Between 1 and 1000.": "Entre 1 e 1000.",
+ "Leave empty to skip counting; count is then 0.": "Deixe em branco para não contar; a contagem será 0.",
+ "Must be unique in the project.": "Deve ser único no projeto.",
+ "In bytes. Empty uses the project's upload limit.": "Em bytes. Em branco usa o limite de upload do projeto.",
+ "The file's path in the bucket, including its name.": "O caminho do arquivo no bucket, incluindo o nome.",
+ "One path per entry, like folder/report.pdf.": "Um caminho por item, como folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Segundos em que o link permanece válido. O padrão é uma hora.",
+ "How many users each page returns.": "Quantos usuários cada página retorna.",
+ "Find it under Authentication, Users in Supabase.": "Encontre em Authentication, Users no Supabase.",
+ "Enter an email, a phone number, or both.": "Informe um e-mail, um número de telefone ou ambos.",
+ "Include the country code.": "Inclua o código do país.",
+ "Leave empty for passwordless sign-in.": "Deixe em branco para login sem senha.",
+ "Lets the user sign in without confirming by email.": "Permite que o usuário faça login sem confirmar por e-mail.",
+ "Custom data saved on the user, as JSON.": "Dados personalizados salvos no usuário, em JSON.",
+ "Empty email, phone and password keep their current value.": "Campos de e-mail, telefone e senha vazios mantêm o valor atual.",
+ "Leave empty to keep the current password.": "Deixe em branco para manter a senha atual.",
+ "Page the user lands on after accepting.": "Página para onde o usuário vai após aceitar.",
+ "Is one of": "É um de",
+ "Greater than": "Maior que",
+ "Does not equal": "Diferente de",
+ "Greater than or equal to": "Maior ou igual a",
+ "Less than": "Menor que",
+ "Less than or equal to": "Menor ou igual a",
+ "Is null": "É nulo",
+ "Is not null": "Não é nulo",
+ "Matches pattern": "Corresponde ao padrão",
+ "Matches pattern, any case": "Corresponde ao padrão, sem diferenciar maiúsculas",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. No Supabase, abra **Database → Webhooks** e clique em **Create a new hook**.\n2. Escolha a tabela, marque **Insert** e selecione **HTTP Request** com o método **POST**.\n3. Cole esta URL e clique em **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Documentação de webhooks do Supabase](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Altere apenas se a tabela não estiver no esquema public."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/ru.json b/packages/pieces/community/supabase/src/i18n/ru.json
index 3650b2d2f15..a821baf3336 100644
--- a/packages/pieces/community/supabase/src/i18n/ru.json
+++ b/packages/pieces/community/supabase/src/i18n/ru.json
@@ -101,5 +101,67 @@
"Markdown": "Markdown",
"Schema": "Схема",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Database schema (default: public)"
+ "Database schema (default: public)": "Database schema (default: public)",
+ "Delete Files": "Удалить файлы",
+ "Uploads a file to a Storage bucket.": "Загружает файл в бакет Storage.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Создаёт пользователя в Supabase Auth. Требуется Service Role Key.",
+ "Condition": "Условие",
+ "New Values": "Новые значения",
+ "Match Column": "Столбец для сопоставления",
+ "Rows Per Page": "Строк на странице",
+ "Total Count": "Общее количество",
+ "Max File Size": "Максимальный размер файла",
+ "The bucket's name, as shown in Storage.": "Имя бакета, как оно указано в Storage.",
+ "Where to save it in the bucket, including the file name.": "Куда сохранить файл в бакете, включая имя файла.",
+ "A file from an earlier step, or a URL to download.": "Файл из предыдущего шага или URL для скачивания.",
+ "Only tables exposed through the Supabase Data API are listed.": "В списке только таблицы, доступные через Supabase Data API.",
+ "Pick a table to load one field per column.": "Выберите таблицу, чтобы загрузить по одному полю на каждый столбец.",
+ "When off, the step outputs nothing.": "Если выключено, шаг ничего не возвращает.",
+ "Rows are matched on this column.": "Строки сопоставляются по этому столбцу.",
+ "How the column is compared with the value.": "Как столбец сравнивается со значением.",
+ "Used by every condition except Is one of.": "Используется всеми условиями, кроме «Входит в список».",
+ "Used only by Is one of.": "Используется только условием «Входит в список».",
+ "Empty text, number and date fields keep their current value.": "Пустые текстовые, числовые поля и поля дат сохраняют текущее значение.",
+ "Adds the number of updated rows to the output.": "Добавляет в результат количество обновлённых строк.",
+ "Adds the updated rows to the output.": "Добавляет в результат обновлённые строки.",
+ "A unique column. Rows with the same value here are updated.": "Уникальный столбец. Строки с тем же значением в нём обновляются.",
+ "Rows with an existing match column value are updated; others are added.": "Строки с уже существующим значением в столбце для сопоставления обновляются, остальные добавляются.",
+ "Adds the number of written rows to the output.": "Добавляет в результат количество записанных строк.",
+ "Adds the written rows to the output.": "Добавляет в результат записанные строки.",
+ "Every row that matches is deleted. This cannot be undone.": "Удаляются все подходящие строки. Это действие нельзя отменить.",
+ "Not used by Is one of, Is null or Is not null.": "Не используется условиями «Входит в список», «Равно null» и «Не равно null».",
+ "Adds the number of deleted rows to the output.": "Добавляет в результат количество удалённых строк.",
+ "Adds the deleted rows to the output.": "Добавляет в результат удалённые строки.",
+ "Comma-separated. Leave empty to return every column.": "Через запятую. Оставьте пустым, чтобы вернуть все столбцы.",
+ "A row is returned only if it matches every filter.": "Строка возвращается, только если она соответствует всем фильтрам.",
+ "Starts at 1.": "Начинается с 1.",
+ "Between 1 and 1000.": "От 1 до 1000.",
+ "Leave empty to skip counting; count is then 0.": "Оставьте пустым, чтобы не подсчитывать; тогда количество равно 0.",
+ "Must be unique in the project.": "Должно быть уникальным в проекте.",
+ "In bytes. Empty uses the project's upload limit.": "В байтах. Если пусто, используется лимит загрузки проекта.",
+ "The file's path in the bucket, including its name.": "Путь к файлу в бакете, включая его имя.",
+ "One path per entry, like folder/report.pdf.": "Один путь на запись, например folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Сколько секунд ссылка остаётся действительной. По умолчанию один час.",
+ "How many users each page returns.": "Сколько пользователей возвращает каждая страница.",
+ "Find it under Authentication, Users in Supabase.": "Находится в разделе Authentication, Users в Supabase.",
+ "Enter an email, a phone number, or both.": "Введите email, номер телефона или и то и другое.",
+ "Include the country code.": "Укажите код страны.",
+ "Leave empty for passwordless sign-in.": "Оставьте пустым для входа без пароля.",
+ "Lets the user sign in without confirming by email.": "Позволяет пользователю входить без подтверждения по email.",
+ "Custom data saved on the user, as JSON.": "Пользовательские данные, сохраняемые у пользователя, в формате JSON.",
+ "Empty email, phone and password keep their current value.": "Пустые поля email, телефона и пароля сохраняют текущее значение.",
+ "Leave empty to keep the current password.": "Оставьте пустым, чтобы сохранить текущий пароль.",
+ "Page the user lands on after accepting.": "Страница, на которую попадает пользователь после принятия приглашения.",
+ "Is one of": "Входит в список",
+ "Greater than": "Больше",
+ "Does not equal": "Не равно",
+ "Greater than or equal to": "Больше или равно",
+ "Less than": "Меньше",
+ "Less than or equal to": "Меньше или равно",
+ "Is null": "Равно null",
+ "Is not null": "Не равно null",
+ "Matches pattern": "Соответствует шаблону",
+ "Matches pattern, any case": "Соответствует шаблону, без учёта регистра",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. В Supabase откройте **Database → Webhooks** и нажмите **Create a new hook**.\n2. Выберите таблицу, отметьте **Insert** и выберите **HTTP Request** с методом **POST**.\n3. Вставьте этот URL и нажмите **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Документация Supabase по вебхукам](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Меняйте, только если таблица не в схеме public."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/translation.json b/packages/pieces/community/supabase/src/i18n/translation.json
index d2d2fb1d278..98419d809e0 100644
--- a/packages/pieces/community/supabase/src/i18n/translation.json
+++ b/packages/pieces/community/supabase/src/i18n/translation.json
@@ -13,8 +13,21 @@
"Search Rows": "Search Rows",
"List Tables": "List Tables",
"Get Table Schema": "Get Table Schema",
+ "Create Storage Bucket": "Create Storage Bucket",
+ "Delete Storage Bucket": "Delete Storage Bucket",
+ "List Storage Buckets": "List Storage Buckets",
+ "List Files in Bucket": "List Files in Bucket",
+ "Download File": "Download File",
+ "Delete Files": "Delete Files",
+ "Create Temporary File Link": "Create Temporary File Link",
+ "List Users": "List Users",
+ "Get User": "Get User",
+ "Create User": "Create User",
+ "Update User": "Update User",
+ "Delete User": "Delete User",
+ "Invite User by Email": "Invite User by Email",
"Custom API Call": "Custom API Call",
- "Upload a file to Supabase Storage": "Upload a file to Supabase Storage",
+ "Uploads a file to a Storage bucket.": "Uploads a file to a Storage bucket.",
"Create a new row in a table": "Create a new row in a table",
"Update rows in a table based on filter criteria": "Update rows in a table based on filter criteria",
"Insert or update a row in a table": "Insert or update a row in a table",
@@ -22,21 +35,35 @@
"Search for rows in a table with filters and pagination": "Search for rows in a table with filters and pagination",
"Returns a list of all public tables and views in the database": "Returns a list of all public tables and views in the database",
"Returns the column definitions for a specific table": "Returns the column definitions for a specific table",
+ "Creates a new Storage bucket, public or private.": "Creates a new Storage bucket, public or private.",
+ "Permanently deletes a Storage bucket. The bucket must be empty first.": "Permanently deletes a Storage bucket. The bucket must be empty first.",
+ "Lists all Storage buckets in the project.": "Lists all Storage buckets in the project.",
+ "Lists files and folders inside a Storage bucket, optionally under a specific folder path.": "Lists files and folders inside a Storage bucket, optionally under a specific folder path.",
+ "Downloads a file from a Storage bucket and returns its content as base64.": "Downloads a file from a Storage bucket and returns its content as base64.",
+ "Permanently deletes one or more files from a Storage bucket.": "Permanently deletes one or more files from a Storage bucket.",
+ "Generates a time-limited URL that grants temporary access to a file in a private Storage bucket.": "Generates a time-limited URL that grants temporary access to a file in a private Storage bucket.",
+ "Lists the users registered in the project's Auth system. Requires the Service Role Key.": "Lists the users registered in the project's Auth system. Requires the Service Role Key.",
+ "Gets a single user's Auth record by ID. Requires the Service Role Key.": "Gets a single user's Auth record by ID. Requires the Service Role Key.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Creates a user in Supabase Auth. Requires the Service Role Key.",
+ "Updates a user's email, phone, password, or metadata. Requires the Service Role Key.": "Updates a user's email, phone, password, or metadata. Requires the Service Role Key.",
+ "Permanently deletes a user from the project's Auth system. Requires the Service Role Key.": "Permanently deletes a user from the project's Auth system. Requires the Service Role Key.",
+ "Sends an invite email to a new user, who sets their own password when accepting. Requires the Service Role Key.": "Sends an invite email to a new user, who sets their own password when accepting. Requires the Service Role Key.",
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
- "File path": "File path",
"Bucket": "Bucket",
- "Base64 or URL": "Base64 or URL",
- "Table Name": "Table Name",
+ "File Path": "File Path",
+ "File": "File",
+ "Table": "Table",
"Row Data": "Row Data",
"Return Created Row": "Return Created Row",
- "Filter Type": "Filter Type",
- "Filter Column": "Filter Column",
- "Filter Value": "Filter Value",
- "Filter Values": "Filter Values",
- "Update Data": "Update Data",
+ "Column": "Column",
+ "Condition": "Condition",
+ "Value": "Value",
+ "Values": "Values",
+ "Markdown": "Markdown",
+ "New Values": "New Values",
"Count Updated Rows": "Count Updated Rows",
"Return Updated Rows": "Return Updated Rows",
- "Conflict Column": "Conflict Column",
+ "Match Column": "Match Column",
"Count Upserted Rows": "Count Upserted Rows",
"Return Upserted Rows": "Return Upserted Rows",
"Count Deleted Rows": "Count Deleted Rows",
@@ -44,56 +71,91 @@
"Columns": "Columns",
"Filters": "Filters",
"Page": "Page",
- "Page Size": "Page Size",
- "Count Algorithm": "Count Algorithm",
+ "Rows Per Page": "Rows Per Page",
+ "Total Count": "Total Count",
+ "Bucket Name": "Bucket Name",
+ "Public": "Public",
+ "Max File Size": "Max File Size",
+ "Folder Path": "Folder Path",
+ "File Paths": "File Paths",
+ "Expires In": "Expires In",
+ "Users Per Page": "Users Per Page",
+ "User ID": "User ID",
+ "Email": "Email",
+ "Phone": "Phone",
+ "Password": "Password",
+ "Mark Email as Confirmed": "Mark Email as Confirmed",
+ "User Metadata": "User Metadata",
+ "Redirect URL": "Redirect URL",
"Method": "Method",
"Headers": "Headers",
"Query Parameters": "Query Parameters",
"Body Type": "Body Type",
"Body": "Body",
- "Response is Binary ?": "Response is Binary ?",
- "No Error on Failure": "No Error on Failure",
- "Timeout (in seconds)": "Timeout (in seconds)",
+ "Response is Binary": "Response is Binary",
+ "Return Error as Output": "Return Error as Output",
+ "Timeout": "Timeout",
"Follow redirects": "Follow redirects",
- "Select a table from your database": "Select a table from your database",
- "Enter the data for each column": "Enter the data for each column",
- "Whether to return the created row": "Whether to return the created row",
- "How to identify rows to update": "How to identify rows to update",
- "Select the column to filter on": "Select the column to filter on",
- "The value to match against (not used for \"in list\" filter)": "The value to match against (not used for \"in list\" filter)",
- "List of values for \"in list\" filter type": "List of values for \"in list\" filter type",
- "Select which columns to update (auto-generated fields excluded)": "Select which columns to update (auto-generated fields excluded)",
- "Whether to count the number of updated rows": "Whether to count the number of updated rows",
- "Whether to return the updated rows data": "Whether to return the updated rows data",
- "Select the unique column to determine duplicates (required for upsert to work)": "Select the unique column to determine duplicates (required for upsert to work)",
- "Enter data for the row (conflict detection handled separately)": "Enter data for the row (conflict detection handled separately)",
- "Whether to count the number of upserted rows": "Whether to count the number of upserted rows",
- "Whether to return the upserted rows data": "Whether to return the upserted rows data",
- "How to filter rows for deletion": "How to filter rows for deletion",
- "The value to match against (not used for null checks)": "The value to match against (not used for null checks)",
- "List of values for \"in\" filter type": "List of values for \"in\" filter type",
- "Whether to count the number of deleted rows": "Whether to count the number of deleted rows",
- "Whether to return the deleted rows data": "Whether to return the deleted rows data",
- "Columns to return (comma-separated). Leave empty to return all columns.": "Columns to return (comma-separated). Leave empty to return all columns.",
- "List of filters to apply": "List of filters to apply",
- "Page number for pagination (starts from 1)": "Page number for pagination (starts from 1)",
- "Number of records per page (max 1000)": "Number of records per page (max 1000)",
- "Algorithm to use for counting rows": "Algorithm to use for counting rows",
+ "The bucket's name, as shown in Storage.": "The bucket's name, as shown in Storage.",
+ "Where to save it in the bucket, including the file name.": "Where to save it in the bucket, including the file name.",
+ "A file from an earlier step, or a URL to download.": "A file from an earlier step, or a URL to download.",
+ "Only tables exposed through the Supabase Data API are listed.": "Only tables exposed through the Supabase Data API are listed.",
+ "Pick a table to load one field per column.": "Pick a table to load one field per column.",
+ "When off, the step outputs nothing.": "When off, the step outputs nothing.",
+ "Rows are matched on this column.": "Rows are matched on this column.",
+ "How the column is compared with the value.": "How the column is compared with the value.",
+ "Used by every condition except Is one of.": "Used by every condition except Is one of.",
+ "Used only by Is one of.": "Used only by Is one of.",
+ "Empty text, number and date fields keep their current value.": "Empty text, number and date fields keep their current value.",
+ "Adds the number of updated rows to the output.": "Adds the number of updated rows to the output.",
+ "Adds the updated rows to the output.": "Adds the updated rows to the output.",
+ "A unique column. Rows with the same value here are updated.": "A unique column. Rows with the same value here are updated.",
+ "Rows with an existing match column value are updated; others are added.": "Rows with an existing match column value are updated; others are added.",
+ "Adds the number of written rows to the output.": "Adds the number of written rows to the output.",
+ "Adds the written rows to the output.": "Adds the written rows to the output.",
+ "Every row that matches is deleted. This cannot be undone.": "Every row that matches is deleted. This cannot be undone.",
+ "Not used by Is one of, Is null or Is not null.": "Not used by Is one of, Is null or Is not null.",
+ "Adds the number of deleted rows to the output.": "Adds the number of deleted rows to the output.",
+ "Adds the deleted rows to the output.": "Adds the deleted rows to the output.",
+ "Comma-separated. Leave empty to return every column.": "Comma-separated. Leave empty to return every column.",
+ "A row is returned only if it matches every filter.": "A row is returned only if it matches every filter.",
+ "Starts at 1.": "Starts at 1.",
+ "Between 1 and 1000.": "Between 1 and 1000.",
+ "Leave empty to skip counting; count is then 0.": "Leave empty to skip counting; count is then 0.",
+ "Must be unique in the project.": "Must be unique in the project.",
+ "Whether files in this bucket are publicly readable by URL.": "Whether files in this bucket are publicly readable by URL.",
+ "In bytes. Empty uses the project's upload limit.": "In bytes. Empty uses the project's upload limit.",
+ "Leave empty to list the bucket root.": "Leave empty to list the bucket root.",
+ "The file's path in the bucket, including its name.": "The file's path in the bucket, including its name.",
+ "One path per entry, like folder/report.pdf.": "One path per entry, like folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Seconds the link stays valid. Default is one hour.",
+ "How many users each page returns.": "How many users each page returns.",
+ "Find it under Authentication, Users in Supabase.": "Find it under Authentication, Users in Supabase.",
+ "Enter an email, a phone number, or both.": "Enter an email, a phone number, or both.",
+ "Include the country code.": "Include the country code.",
+ "Leave empty for passwordless sign-in.": "Leave empty for passwordless sign-in.",
+ "Lets the user sign in without confirming by email.": "Lets the user sign in without confirming by email.",
+ "Custom data saved on the user, as JSON.": "Custom data saved on the user, as JSON.",
+ "Empty email, phone and password keep their current value.": "Empty email, phone and password keep their current value.",
+ "Leave empty to keep the current password.": "Leave empty to keep the current password.",
+ "Page the user lands on after accepting.": "Page the user lands on after accepting.",
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
+ "Appended to the URL as ?key=value.": "Appended to the URL as ?key=value.",
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
- "Column equals value": "Column equals value",
- "Column is in list of values": "Column is in list of values",
- "Column is greater than value": "Column is greater than value",
- "Column not equals value": "Column not equals value",
- "Column is in list": "Column is in list",
- "Column is greater than": "Column is greater than",
- "Column is greater than or equal": "Column is greater than or equal",
- "Column is less than": "Column is less than",
- "Column is less than or equal": "Column is less than or equal",
- "Column is null": "Column is null",
- "Column is not null": "Column is not null",
- "Column matches pattern (LIKE)": "Column matches pattern (LIKE)",
- "Column matches pattern (case-insensitive)": "Column matches pattern (case-insensitive)",
+ "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.",
+ "Equals": "Equals",
+ "Is one of": "Is one of",
+ "Greater than": "Greater than",
+ "Does not equal": "Does not equal",
+ "Greater than or equal to": "Greater than or equal to",
+ "Less than": "Less than",
+ "Less than or equal to": "Less than or equal to",
+ "Is null": "Is null",
+ "Is not null": "Is not null",
+ "Matches pattern": "Matches pattern",
+ "Matches pattern, any case": "Matches pattern, any case",
"Exact": "Exact",
"Planned": "Planned",
"Estimated": "Estimated",
@@ -103,14 +165,9 @@
"PUT": "PUT",
"DELETE": "DELETE",
"HEAD": "HEAD",
- "None": "None",
- "JSON": "JSON",
- "Form Data": "Form Data",
- "Raw": "Raw",
"New Row": "New Row",
"Fires when a new row is created in a table": "Fires when a new row is created in a table",
- "Markdown": "Markdown",
"Schema": "Schema",
- "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Database schema (default: public)"
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Change only if the table is not in the public schema."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/vi.json b/packages/pieces/community/supabase/src/i18n/vi.json
index f377b6fd310..c1fea77f13d 100644
--- a/packages/pieces/community/supabase/src/i18n/vi.json
+++ b/packages/pieces/community/supabase/src/i18n/vi.json
@@ -101,5 +101,67 @@
"Markdown": "Markdown",
"Schema": "Schema",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Database schema (default: public)"
+ "Database schema (default: public)": "Database schema (default: public)",
+ "Delete Files": "Xóa tệp",
+ "Uploads a file to a Storage bucket.": "Tải tệp lên một bucket Storage.",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "Tạo người dùng trong Supabase Auth. Cần Service Role Key.",
+ "Condition": "Điều kiện",
+ "New Values": "Giá trị mới",
+ "Match Column": "Cột đối chiếu",
+ "Rows Per Page": "Số hàng mỗi trang",
+ "Total Count": "Tổng số",
+ "Max File Size": "Kích thước tệp tối đa",
+ "The bucket's name, as shown in Storage.": "Tên bucket, như hiển thị trong Storage.",
+ "Where to save it in the bucket, including the file name.": "Vị trí lưu trong bucket, bao gồm tên tệp.",
+ "A file from an earlier step, or a URL to download.": "Một tệp từ bước trước, hoặc URL để tải xuống.",
+ "Only tables exposed through the Supabase Data API are listed.": "Chỉ liệt kê các bảng được công khai qua Supabase Data API.",
+ "Pick a table to load one field per column.": "Chọn một bảng để tải một trường cho mỗi cột.",
+ "When off, the step outputs nothing.": "Khi tắt, bước này không xuất gì.",
+ "Rows are matched on this column.": "Các hàng được đối chiếu theo cột này.",
+ "How the column is compared with the value.": "Cách so sánh cột với giá trị.",
+ "Used by every condition except Is one of.": "Dùng cho mọi điều kiện, trừ “Là một trong”.",
+ "Used only by Is one of.": "Chỉ dùng cho “Là một trong”.",
+ "Empty text, number and date fields keep their current value.": "Các trường văn bản, số và ngày để trống sẽ giữ giá trị hiện tại.",
+ "Adds the number of updated rows to the output.": "Thêm số hàng đã cập nhật vào đầu ra.",
+ "Adds the updated rows to the output.": "Thêm các hàng đã cập nhật vào đầu ra.",
+ "A unique column. Rows with the same value here are updated.": "Một cột duy nhất. Các hàng có cùng giá trị ở cột này sẽ được cập nhật.",
+ "Rows with an existing match column value are updated; others are added.": "Hàng có giá trị cột đối chiếu đã tồn tại sẽ được cập nhật; các hàng khác được thêm mới.",
+ "Adds the number of written rows to the output.": "Thêm số hàng đã ghi vào đầu ra.",
+ "Adds the written rows to the output.": "Thêm các hàng đã ghi vào đầu ra.",
+ "Every row that matches is deleted. This cannot be undone.": "Mọi hàng khớp sẽ bị xóa. Không thể hoàn tác thao tác này.",
+ "Not used by Is one of, Is null or Is not null.": "Không dùng cho “Là một trong”, “Là null” hoặc “Không phải null”.",
+ "Adds the number of deleted rows to the output.": "Thêm số hàng đã xóa vào đầu ra.",
+ "Adds the deleted rows to the output.": "Thêm các hàng đã xóa vào đầu ra.",
+ "Comma-separated. Leave empty to return every column.": "Phân tách bằng dấu phẩy. Để trống để trả về mọi cột.",
+ "A row is returned only if it matches every filter.": "Chỉ trả về hàng khớp với mọi bộ lọc.",
+ "Starts at 1.": "Bắt đầu từ 1.",
+ "Between 1 and 1000.": "Từ 1 đến 1000.",
+ "Leave empty to skip counting; count is then 0.": "Để trống để bỏ qua việc đếm; khi đó số đếm là 0.",
+ "Must be unique in the project.": "Phải là duy nhất trong dự án.",
+ "In bytes. Empty uses the project's upload limit.": "Tính bằng byte. Để trống sẽ dùng giới hạn tải lên của dự án.",
+ "The file's path in the bucket, including its name.": "Đường dẫn của tệp trong bucket, bao gồm tên tệp.",
+ "One path per entry, like folder/report.pdf.": "Mỗi mục một đường dẫn, ví dụ folder/report.pdf.",
+ "Seconds the link stays valid. Default is one hour.": "Số giây liên kết còn hiệu lực. Mặc định là một giờ.",
+ "How many users each page returns.": "Số người dùng mỗi trang trả về.",
+ "Find it under Authentication, Users in Supabase.": "Tìm trong Authentication, Users trên Supabase.",
+ "Enter an email, a phone number, or both.": "Nhập email, số điện thoại hoặc cả hai.",
+ "Include the country code.": "Bao gồm mã quốc gia.",
+ "Leave empty for passwordless sign-in.": "Để trống để đăng nhập không cần mật khẩu.",
+ "Lets the user sign in without confirming by email.": "Cho phép người dùng đăng nhập mà không cần xác nhận qua email.",
+ "Custom data saved on the user, as JSON.": "Dữ liệu tùy chỉnh lưu trên người dùng, dạng JSON.",
+ "Empty email, phone and password keep their current value.": "Email, số điện thoại và mật khẩu để trống sẽ giữ giá trị hiện tại.",
+ "Leave empty to keep the current password.": "Để trống để giữ mật khẩu hiện tại.",
+ "Page the user lands on after accepting.": "Trang người dùng được chuyển đến sau khi chấp nhận.",
+ "Is one of": "Là một trong",
+ "Greater than": "Lớn hơn",
+ "Does not equal": "Không bằng",
+ "Greater than or equal to": "Lớn hơn hoặc bằng",
+ "Less than": "Nhỏ hơn",
+ "Less than or equal to": "Nhỏ hơn hoặc bằng",
+ "Is null": "Là null",
+ "Is not null": "Không phải null",
+ "Matches pattern": "Khớp mẫu",
+ "Matches pattern, any case": "Khớp mẫu, không phân biệt hoa thường",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. Trong Supabase, mở **Database → Webhooks** và nhấp **Create a new hook**.\n2. Chọn bảng, đánh dấu **Insert** và chọn **HTTP Request** với phương thức **POST**.\n3. Dán URL này, rồi nhấp **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Tài liệu webhook của Supabase](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "Chỉ thay đổi nếu bảng không nằm trong schema public."
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/i18n/zh.json b/packages/pieces/community/supabase/src/i18n/zh.json
index 8fdcd2076d9..08f09bc44b3 100644
--- a/packages/pieces/community/supabase/src/i18n/zh.json
+++ b/packages/pieces/community/supabase/src/i18n/zh.json
@@ -112,5 +112,67 @@
"Markdown": "Markdown",
"Schema": "Schema",
"## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will sen": "## Setup Instructions\n\n1. **Go to your Supabase Dashboard** → Database → Webhooks\n2. **Click \"Create a new hook\"**\n3. **Configure the webhook:**\n - **Name**: Give it a descriptive name (e.g., \"Activepieces New Row\")\n - **Table**: Select the table you want to monitor\n - **Events**: Check \"Insert\" \n - **Type**: HTTP Request\n - **Method**: POST\n - **URL**: Copy and paste the webhook URL below\n4. **Click \"Create webhook\"**\n\n**Webhook URL:** `{{webhookUrl}}`\n\n## Important Notes\n- The webhook will send a JSON payload with the new row data\n- Make sure your table has the necessary permissions\n- You can test the webhook by inserting a new row into your table\n\nFor more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).",
- "Database schema (default: public)": "Database schema (default: public)"
+ "Database schema (default: public)": "Database schema (default: public)",
+ "Delete Files": "删除文件",
+ "Uploads a file to a Storage bucket.": "将文件上传到 Storage 存储桶。",
+ "Creates a user in Supabase Auth. Requires the Service Role Key.": "在 Supabase Auth 中创建用户。需要 Service Role Key。",
+ "Condition": "条件",
+ "New Values": "新值",
+ "Match Column": "匹配列",
+ "Rows Per Page": "每页行数",
+ "Total Count": "总数",
+ "Max File Size": "最大文件大小",
+ "The bucket's name, as shown in Storage.": "存储桶名称,与 Storage 中显示的一致。",
+ "Where to save it in the bucket, including the file name.": "在存储桶中的保存位置,包括文件名。",
+ "A file from an earlier step, or a URL to download.": "来自前面步骤的文件,或要下载的 URL。",
+ "Only tables exposed through the Supabase Data API are listed.": "仅列出通过 Supabase Data API 公开的表。",
+ "Pick a table to load one field per column.": "选择一个表,为每列加载一个字段。",
+ "When off, the step outputs nothing.": "关闭时,该步骤不输出任何内容。",
+ "Rows are matched on this column.": "按此列匹配行。",
+ "How the column is compared with the value.": "列与值的比较方式。",
+ "Used by every condition except Is one of.": "除“属于其中之一”外的所有条件都会使用。",
+ "Used only by Is one of.": "仅供“属于其中之一”使用。",
+ "Empty text, number and date fields keep their current value.": "空的文本、数字和日期字段保留当前值。",
+ "Adds the number of updated rows to the output.": "将更新的行数添加到输出中。",
+ "Adds the updated rows to the output.": "将更新的行添加到输出中。",
+ "A unique column. Rows with the same value here are updated.": "唯一列。此列值相同的行将被更新。",
+ "Rows with an existing match column value are updated; others are added.": "匹配列值已存在的行将被更新,其余行将被添加。",
+ "Adds the number of written rows to the output.": "将写入的行数添加到输出中。",
+ "Adds the written rows to the output.": "将写入的行添加到输出中。",
+ "Every row that matches is deleted. This cannot be undone.": "所有匹配的行都会被删除。此操作无法撤销。",
+ "Not used by Is one of, Is null or Is not null.": "“属于其中之一”“为 null”和“不为 null”不使用此项。",
+ "Adds the number of deleted rows to the output.": "将删除的行数添加到输出中。",
+ "Adds the deleted rows to the output.": "将删除的行添加到输出中。",
+ "Comma-separated. Leave empty to return every column.": "以逗号分隔。留空则返回所有列。",
+ "A row is returned only if it matches every filter.": "仅返回匹配所有筛选条件的行。",
+ "Starts at 1.": "从 1 开始。",
+ "Between 1 and 1000.": "介于 1 到 1000 之间。",
+ "Leave empty to skip counting; count is then 0.": "留空则不计数,此时计数为 0。",
+ "Must be unique in the project.": "在项目中必须唯一。",
+ "In bytes. Empty uses the project's upload limit.": "以字节为单位。留空则使用项目的上传限制。",
+ "The file's path in the bucket, including its name.": "文件在存储桶中的路径,包括文件名。",
+ "One path per entry, like folder/report.pdf.": "每项一个路径,例如 folder/report.pdf。",
+ "Seconds the link stays valid. Default is one hour.": "链接保持有效的秒数。默认为一小时。",
+ "How many users each page returns.": "每页返回的用户数。",
+ "Find it under Authentication, Users in Supabase.": "可在 Supabase 的 Authentication, Users 中找到。",
+ "Enter an email, a phone number, or both.": "输入邮箱、电话号码,或两者都填。",
+ "Include the country code.": "请包含国家/地区代码。",
+ "Leave empty for passwordless sign-in.": "留空则使用无密码登录。",
+ "Lets the user sign in without confirming by email.": "允许用户无需邮件确认即可登录。",
+ "Custom data saved on the user, as JSON.": "保存在用户上的自定义数据,格式为 JSON。",
+ "Empty email, phone and password keep their current value.": "空的邮箱、电话和密码保留当前值。",
+ "Leave empty to keep the current password.": "留空则保留当前密码。",
+ "Page the user lands on after accepting.": "用户接受后跳转到的页面。",
+ "Is one of": "属于其中之一",
+ "Greater than": "大于",
+ "Does not equal": "不等于",
+ "Greater than or equal to": "大于或等于",
+ "Less than": "小于",
+ "Less than or equal to": "小于或等于",
+ "Is null": "为 null",
+ "Is not null": "不为 null",
+ "Matches pattern": "匹配模式",
+ "Matches pattern, any case": "匹配模式(不区分大小写)",
+ "1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.\n2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.\n3. Paste this URL, then click **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)": "1. 在 Supabase 中,打开 **Database → Webhooks** 并点击 **Create a new hook**。\n2. 选择表,勾选 **Insert**,并选择方法为 **POST** 的 **HTTP Request**。\n3. 粘贴此 URL,然后点击 **Create webhook**:\n\n```text\n{{webhookUrl}}\n```\n\n[Supabase webhook 文档](https://supabase.com/docs/guides/database/webhooks)",
+ "Change only if the table is not in the public schema.": "仅当表不在 public 架构中时才更改。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/index.ts b/packages/pieces/community/supabase/src/index.ts
index 9a41f55db0d..46f975a2212 100644
--- a/packages/pieces/community/supabase/src/index.ts
+++ b/packages/pieces/community/supabase/src/index.ts
@@ -31,7 +31,7 @@ export const supabase = createPiece({
displayName: 'Supabase',
description: 'The open-source Firebase alternative',
auth: supabaseAuth,
- minimumSupportedRelease: '0.87.0',
+ minimumSupportedRelease: '0.88.2',
logoUrl: 'https://cdn.activepieces.com/pieces/supabase.png',
categories: [PieceCategory.DEVELOPER_TOOLS],
authors: ["kishanprmr","MoShizzle","abuaboud","fortunamide"],
diff --git a/packages/pieces/community/supabase/src/lib/actions/create-bucket.ts b/packages/pieces/community/supabase/src/lib/actions/create-bucket.ts
index 0a4204e6b94..6941e303013 100644
--- a/packages/pieces/community/supabase/src/lib/actions/create-bucket.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/create-bucket.ts
@@ -17,6 +17,8 @@ export const createBucket = createAction({
props: {
name: Property.ShortText({
displayName: 'Bucket Name',
+ description: 'Must be unique in the project.',
+ placeholder: 'avatars',
required: true,
}),
public: Property.Checkbox({
@@ -26,8 +28,10 @@ export const createBucket = createAction({
defaultValue: false,
}),
fileSizeLimit: Property.Number({
- displayName: 'File Size Limit (bytes)',
+ displayName: 'Max File Size',
+ description: "In bytes. Empty uses the project's upload limit.",
required: false,
+ advanced: true,
}),
},
outputSchema: createBucketActionOutputSchema,
diff --git a/packages/pieces/community/supabase/src/lib/actions/create-row.ts b/packages/pieces/community/supabase/src/lib/actions/create-row.ts
index 9ac2c36c9c8..25c9fbf09aa 100644
--- a/packages/pieces/community/supabase/src/lib/actions/create-row.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/create-row.ts
@@ -17,7 +17,7 @@ export const createRow = createAction({
row_data: supabaseCommon.table_columns,
return_row: Property.Checkbox({
displayName: 'Return Created Row',
- description: 'Whether to return the created row',
+ description: 'When off, the step outputs nothing.',
required: false,
defaultValue: true,
}),
diff --git a/packages/pieces/community/supabase/src/lib/actions/create-signed-url.ts b/packages/pieces/community/supabase/src/lib/actions/create-signed-url.ts
index a84f7cef000..e2ecc00fc7e 100644
--- a/packages/pieces/community/supabase/src/lib/actions/create-signed-url.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/create-signed-url.ts
@@ -17,19 +17,22 @@ export const createSignedUrl = createAction({
props: {
bucket: Property.ShortText({
displayName: 'Bucket',
- description: 'The name of the Storage bucket.',
+ description: "The bucket's name, as shown in Storage.",
+ placeholder: 'avatars',
required: true,
}),
path: Property.ShortText({
displayName: 'File Path',
- description: 'The path of the file within the bucket.',
+ description: "The file's path in the bucket, including its name.",
+ placeholder: 'folder/report.pdf',
required: true,
}),
expiresIn: Property.Number({
- displayName: 'Expires In (seconds)',
- description: 'How long the link stays valid, in seconds.',
+ displayName: 'Expires In',
+ description: 'Seconds the link stays valid. Default is one hour.',
required: false,
defaultValue: 3600,
+ advanced: true,
}),
},
outputSchema: createSignedUrlActionOutputSchema,
diff --git a/packages/pieces/community/supabase/src/lib/actions/create-user.ts b/packages/pieces/community/supabase/src/lib/actions/create-user.ts
index 6546b883827..e05f39b8b55 100644
--- a/packages/pieces/community/supabase/src/lib/actions/create-user.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/create-user.ts
@@ -1,4 +1,4 @@
-import { createAction, Property } from '@activepieces/pieces-framework';
+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';
import { createClient } from '@supabase/supabase-js';
import { supabaseAuth } from '../auth';
import { createUserActionOutputSchema } from '../output-schemas';
@@ -7,7 +7,7 @@ export const createUser = createAction({
name: 'create_user',
classification: 'WRITE',
displayName: 'Create User',
- description: 'Creates a new user directly in the project\'s Auth system, with an immediately usable password. Requires the Service Role Key.',
+ description: 'Creates a user in Supabase Auth. Requires the Service Role Key.',
audience: 'both',
aiMetadata: {
description: 'Creates a new user in Auth with an email/phone and password that can sign in immediately, skipping the invite/confirmation email flow. Requires the Service Role Key. Use for programmatic account provisioning; use Invite User by Email instead if the user should set their own password via an email link. Not idempotent: calling twice with the same email creates a conflict error, not a second identical user.',
@@ -15,29 +15,56 @@ export const createUser = createAction({
},
auth: supabaseAuth,
props: {
+ contact_info: Property.MarkDown({
+ value: 'Enter an email, a phone number, or both.',
+ variant: MarkdownVariant.INFO,
+ }),
email: Property.ShortText({
displayName: 'Email',
+ placeholder: '[email protected]',
required: false,
+ width: 'half',
}),
phone: Property.ShortText({
displayName: 'Phone',
+ description: 'Include the country code.',
+ placeholder: '+15551234567',
required: false,
+ width: 'half',
}),
password: Property.ShortText({
displayName: 'Password',
+ description: 'Leave empty for passwordless sign-in.',
required: false,
}),
emailConfirm: Property.Checkbox({
displayName: 'Mark Email as Confirmed',
+ description: 'Lets the user sign in without confirming by email.',
required: false,
defaultValue: false,
}),
userMetadata: Property.Json({
displayName: 'User Metadata',
- description: 'Custom data to attach to the user, as a JSON object.',
+ description: 'Custom data saved on the user, as JSON.',
required: false,
}),
},
+ propertyGroups: [
+ {
+ key: 'signin',
+ display: 'section',
+ label: 'Sign-in Details',
+ icon: 'user',
+ props: ['contact_info', 'email', 'phone', 'password'],
+ },
+ {
+ key: 'options',
+ display: 'section',
+ label: 'Options',
+ icon: 'sliders',
+ props: ['emailConfirm', 'userMetadata'],
+ },
+ ],
outputSchema: createUserActionOutputSchema,
async run(context) {
const { email, phone, password, emailConfirm, userMetadata } = context.propsValue;
diff --git a/packages/pieces/community/supabase/src/lib/actions/delete-bucket.ts b/packages/pieces/community/supabase/src/lib/actions/delete-bucket.ts
index 1663b5ff87f..397ce598952 100644
--- a/packages/pieces/community/supabase/src/lib/actions/delete-bucket.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/delete-bucket.ts
@@ -16,7 +16,9 @@ export const deleteBucket = createAction({
auth: supabaseAuth,
props: {
name: Property.ShortText({
- displayName: 'Bucket Name',
+ displayName: 'Bucket',
+ description: "The bucket's name, as shown in Storage.",
+ placeholder: 'avatars',
required: true,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/delete-file.ts b/packages/pieces/community/supabase/src/lib/actions/delete-file.ts
index 2b1f3ae259d..4f40fe1920f 100644
--- a/packages/pieces/community/supabase/src/lib/actions/delete-file.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/delete-file.ts
@@ -6,7 +6,7 @@ import { deleteFileActionOutputSchema } from '../output-schemas';
export const deleteFile = createAction({
name: 'delete_file',
classification: 'DESTRUCTIVE',
- displayName: 'Delete File',
+ displayName: 'Delete Files',
description: 'Permanently deletes one or more files from a Storage bucket.',
audience: 'both',
aiMetadata: {
@@ -17,12 +17,13 @@ export const deleteFile = createAction({
props: {
bucket: Property.ShortText({
displayName: 'Bucket',
- description: 'The name of the Storage bucket.',
+ description: "The bucket's name, as shown in Storage.",
+ placeholder: 'avatars',
required: true,
}),
paths: Property.Array({
displayName: 'File Paths',
- description: 'Paths of the files to delete within the bucket.',
+ description: 'One path per entry, like folder/report.pdf.',
required: true,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/delete-rows.ts b/packages/pieces/community/supabase/src/lib/actions/delete-rows.ts
index 5d58b053f30..773391424db 100644
--- a/packages/pieces/community/supabase/src/lib/actions/delete-rows.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/delete-rows.ts
@@ -1,4 +1,4 @@
-import { createAction, Property } from "@activepieces/pieces-framework";
+import { createAction, MarkdownVariant, Property } from "@activepieces/pieces-framework";
import { supabaseAuth } from '../auth';
import { createClient } from "@supabase/supabase-js";
import { supabaseCommon } from "../common/props";
@@ -12,33 +12,32 @@ export const deleteRows = createAction({
audience: 'both',
aiMetadata: { description: 'Deletes rows from a Supabase table that match a single filter condition (equals, not-equals, in-list, range comparisons, null checks, or LIKE pattern on a chosen column). Use to remove records you can identify by one filter; a filter is required so it will not blindly clear a table. Idempotent: re-running deletes nothing further once the matching rows are gone.', idempotent: true },
auth: supabaseAuth,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Rows to Delete',
+ icon: 'trash',
+ props: ['table_name', 'delete_warning', 'filter_column', 'filter_type', 'filter_value', 'filter_values'],
+ },
+ {
+ key: 'output',
+ display: 'section',
+ label: 'Output',
+ icon: 'sliders',
+ props: ['count_deleted', 'return_deleted'],
+ },
+ ],
props: {
table_name: supabaseCommon.table_name,
- filter_type: Property.StaticDropdown({
- displayName: 'Filter Type',
- description: 'How to filter rows for deletion',
- required: true,
- defaultValue: 'in',
- options: {
- options: [
- { label: 'Column equals value', value: 'eq' },
- { label: 'Column not equals value', value: 'neq' },
- { label: 'Column is in list', value: 'in' },
- { label: 'Column is greater than', value: 'gt' },
- { label: 'Column is greater than or equal', value: 'gte' },
- { label: 'Column is less than', value: 'lt' },
- { label: 'Column is less than or equal', value: 'lte' },
- { label: 'Column is null', value: 'is_null' },
- { label: 'Column is not null', value: 'is_not_null' },
- { label: 'Column matches pattern (LIKE)', value: 'like' },
- { label: 'Column matches pattern (case-insensitive)', value: 'ilike' }
- ]
- }
+ delete_warning: Property.MarkDown({
+ value: 'Every row that matches is deleted. This cannot be undone.',
+ variant: MarkdownVariant.WARNING,
}),
filter_column: Property.Dropdown({
auth: supabaseAuth,
- displayName: 'Filter Column',
- description: 'Select the column to filter on',
+ displayName: 'Column',
+ description: 'Rows are matched on this column.',
required: true,
refreshers: ['table_name'],
options: async ({ auth, table_name }) => {
@@ -116,25 +115,46 @@ export const deleteRows = createAction({
}
}
}),
+ filter_type: Property.StaticDropdown({
+ displayName: 'Condition',
+ description: 'How the column is compared with the value.',
+ required: true,
+ defaultValue: 'in',
+ options: {
+ options: [
+ { label: 'Equals', value: 'eq' },
+ { label: 'Does not equal', value: 'neq' },
+ { label: 'Is one of', value: 'in' },
+ { label: 'Greater than', value: 'gt' },
+ { label: 'Greater than or equal to', value: 'gte' },
+ { label: 'Less than', value: 'lt' },
+ { label: 'Less than or equal to', value: 'lte' },
+ { label: 'Is null', value: 'is_null' },
+ { label: 'Is not null', value: 'is_not_null' },
+ { label: 'Matches pattern', value: 'like' },
+ { label: 'Matches pattern, any case', value: 'ilike' }
+ ]
+ }
+ }),
filter_value: Property.ShortText({
- displayName: 'Filter Value',
- description: 'The value to match against (not used for null checks)',
+ displayName: 'Value',
+ description: 'Not used by Is one of, Is null or Is not null.',
required: false,
}),
filter_values: Property.Array({
- displayName: 'Filter Values',
- description: 'List of values for "in" filter type',
+ displayName: 'Values',
+ description: 'Used only by Is one of.',
required: false,
}),
count_deleted: Property.Checkbox({
displayName: 'Count Deleted Rows',
- description: 'Whether to count the number of deleted rows',
+ description: 'Adds the number of deleted rows to the output.',
required: false,
defaultValue: false,
}),
return_deleted: Property.Checkbox({
displayName: 'Return Deleted Rows',
- description: 'Whether to return the deleted rows data',
+ description: 'Adds the deleted rows to the output.',
required: false,
defaultValue: false,
})
@@ -215,7 +235,7 @@ export const deleteRows = createAction({
: await deleteQuery;
if (error) {
- throw error;
+ throw new Error(`Failed to delete rows: ${error.message}`);
}
const result: any = {
diff --git a/packages/pieces/community/supabase/src/lib/actions/delete-user.ts b/packages/pieces/community/supabase/src/lib/actions/delete-user.ts
index 998175c2e6e..4dd3455700a 100644
--- a/packages/pieces/community/supabase/src/lib/actions/delete-user.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/delete-user.ts
@@ -17,6 +17,8 @@ export const deleteUser = createAction({
props: {
userId: Property.ShortText({
displayName: 'User ID',
+ description: 'Find it under Authentication, Users in Supabase.',
+ placeholder: '00000000-0000-0000-0000-000000000000',
required: true,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/download-file.ts b/packages/pieces/community/supabase/src/lib/actions/download-file.ts
index 443fd91143c..a627e244c93 100644
--- a/packages/pieces/community/supabase/src/lib/actions/download-file.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/download-file.ts
@@ -17,12 +17,14 @@ export const downloadFile = createAction({
props: {
bucket: Property.ShortText({
displayName: 'Bucket',
- description: 'The name of the Storage bucket.',
+ description: "The bucket's name, as shown in Storage.",
+ placeholder: 'avatars',
required: true,
}),
path: Property.ShortText({
displayName: 'File Path',
- description: 'The path of the file within the bucket.',
+ description: "The file's path in the bucket, including its name.",
+ placeholder: 'folder/report.pdf',
required: true,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/get-user.ts b/packages/pieces/community/supabase/src/lib/actions/get-user.ts
index d825d4b9aff..a25f42ed023 100644
--- a/packages/pieces/community/supabase/src/lib/actions/get-user.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/get-user.ts
@@ -17,6 +17,8 @@ export const getUser = createAction({
props: {
userId: Property.ShortText({
displayName: 'User ID',
+ description: 'Find it under Authentication, Users in Supabase.',
+ placeholder: '00000000-0000-0000-0000-000000000000',
required: true,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/invite-user.ts b/packages/pieces/community/supabase/src/lib/actions/invite-user.ts
index ccfb9d0733b..bb4bb65a7aa 100644
--- a/packages/pieces/community/supabase/src/lib/actions/invite-user.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/invite-user.ts
@@ -17,16 +17,18 @@ export const inviteUser = createAction({
props: {
email: Property.ShortText({
displayName: 'Email',
+ placeholder: '[email protected]',
required: true,
}),
userMetadata: Property.Json({
displayName: 'User Metadata',
- description: 'Custom data to attach to the user, as a JSON object.',
+ description: 'Custom data saved on the user, as JSON.',
required: false,
}),
redirectTo: Property.ShortText({
displayName: 'Redirect URL',
- description: 'Where to redirect the user after they accept the invite.',
+ description: 'Page the user lands on after accepting.',
+ placeholder: 'https://example.com/welcome',
required: false,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/list-files.ts b/packages/pieces/community/supabase/src/lib/actions/list-files.ts
index 3da0f3dd4d0..550c71143ad 100644
--- a/packages/pieces/community/supabase/src/lib/actions/list-files.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/list-files.ts
@@ -1,5 +1,5 @@
import { createAction, Property } from '@activepieces/pieces-framework';
-import { createClient } from '@supabase/supabase-js';
+import { createClient, type SupabaseClient } from '@supabase/supabase-js';
import { supabaseAuth } from '../auth';
import { listFilesActionOutputSchema } from '../output-schemas';
@@ -17,12 +17,14 @@ export const listFiles = createAction({
props: {
bucket: Property.ShortText({
displayName: 'Bucket',
- description: 'The name of the Storage bucket.',
+ description: "The bucket's name, as shown in Storage.",
+ placeholder: 'avatars',
required: true,
}),
path: Property.ShortText({
displayName: 'Folder Path',
- description: 'Folder path to list within the bucket. Leave empty to list the bucket root.',
+ description: 'Leave empty to list the bucket root.',
+ placeholder: 'folder/subfolder',
required: false,
}),
},
@@ -32,14 +34,13 @@ export const listFiles = createAction({
const { url, apiKey } = context.auth.props;
const supabase = createClient(url, apiKey);
- const { data, error } = await supabase.storage.from(bucket).list(path || undefined);
-
- if (error) {
- throw new Error(`Failed to list files: ${error.message}`);
- }
+ const files = await listAllFiles({
+ bucketApi: supabase.storage.from(bucket),
+ path: path || undefined,
+ });
return {
- files: (data ?? []).map((file) => ({
+ files: files.map((file) => ({
name: file.name,
id: file.id,
updated_at: file.updated_at,
@@ -51,3 +52,45 @@ export const listFiles = createAction({
};
},
});
+
+async function listAllFiles({ bucketApi, path }: ListAllFilesParams): Promise<StorageFileEntry[]> {
+ const filesByName = new Map<string, StorageFileEntry>();
+ let offset = 0;
+ let pageLength = LIST_PAGE_SIZE;
+
+ while (pageLength === LIST_PAGE_SIZE) {
+ const { data, error } = await bucketApi.list(path, {
+ limit: LIST_PAGE_SIZE,
+ offset,
+ sortBy: { column: 'name', order: 'asc' },
+ });
+
+ if (error) {
+ throw new Error(`Failed to list files: ${error.message}`);
+ }
+
+ const page = data ?? [];
+ for (const file of page) {
+ if (!filesByName.has(file.name)) {
+ filesByName.set(file.name, file);
+ }
+ }
+ pageLength = page.length;
+ offset += LIST_PAGE_SIZE - PAGE_OVERLAP;
+ }
+
+ return [...filesByName.values()];
+}
+
+const LIST_PAGE_SIZE = 100;
+
+const PAGE_OVERLAP = 10;
+
+type StorageBucketApi = ReturnType<SupabaseClient['storage']['from']>;
+
+type StorageFileEntry = NonNullable<Awaited<ReturnType<StorageBucketApi['list']>>['data']>[number];
+
+type ListAllFilesParams = {
+ bucketApi: StorageBucketApi;
+ path: string | undefined;
+};
diff --git a/packages/pieces/community/supabase/src/lib/actions/list-users.ts b/packages/pieces/community/supabase/src/lib/actions/list-users.ts
index 9c2e98ec792..5ed5e889a18 100644
--- a/packages/pieces/community/supabase/src/lib/actions/list-users.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/list-users.ts
@@ -17,12 +17,13 @@ export const listUsers = createAction({
props: {
page: Property.Number({
displayName: 'Page',
- description: 'Page number for pagination (starts from 1).',
+ description: 'Starts at 1.',
required: false,
defaultValue: 1,
}),
perPage: Property.Number({
displayName: 'Users Per Page',
+ description: 'How many users each page returns.',
required: false,
defaultValue: 50,
}),
diff --git a/packages/pieces/community/supabase/src/lib/actions/search-rows.ts b/packages/pieces/community/supabase/src/lib/actions/search-rows.ts
index 28fb5663dca..a64694f7107 100644
--- a/packages/pieces/community/supabase/src/lib/actions/search-rows.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/search-rows.ts
@@ -20,66 +20,89 @@ export const searchRows = createAction({
audience: 'both',
aiMetadata: { description: 'Queries rows from a Supabase table, applying an optional list of column filters (equality, comparison, LIKE, in-list, JSON containment) with column selection and page-based pagination. Use to look up or list records before acting on them, or to fetch a specific subset. Read-only and idempotent.', idempotent: true },
auth: supabaseAuth,
+ propertyGroups: [
+ {
+ key: 'query',
+ display: 'section',
+ label: 'Query',
+ icon: 'filter',
+ props: ['table_name', 'columns', 'filters'],
+ },
+ {
+ key: 'paging',
+ display: 'section',
+ label: 'Pagination',
+ icon: 'sliders',
+ props: ['page', 'pageSize', 'countOption'],
+ },
+ ],
props: {
table_name: supabaseCommon.table_name,
columns: Property.ShortText({
displayName: 'Columns',
- description: 'Columns to return (comma-separated). Leave empty to return all columns.',
+ description: 'Comma-separated. Leave empty to return every column.',
+ placeholder: 'id, name, email',
required: false,
}),
filters: Property.Array({
displayName: 'Filters',
- description: 'List of filters to apply',
+ description: 'A row is returned only if it matches every filter.',
required: false,
properties: {
field: Property.ShortText({
- displayName: 'Field',
- description: 'Field name to filter on (use -> for JSON fields, e.g. address->postcode)',
+ displayName: 'Column',
+ description: 'Use -> for a JSON key.',
+ placeholder: 'address->city',
required: true,
}),
operator: Property.StaticDropdown({
- displayName: 'Operator',
- description: 'Comparison operator',
+ displayName: 'Condition',
+ description: 'How the column is compared with the value.',
required: true,
options: {
options: [
{ label: 'Equals', value: 'eq' },
- { label: 'Not Equals', value: 'neq' },
- { label: 'Greater Than', value: 'gt' },
- { label: 'Greater Than or Equal', value: 'gte' },
- { label: 'Less Than', value: 'lt' },
- { label: 'Less Than or Equal', value: 'lte' },
- { label: 'Like', value: 'like' },
- { label: 'ILike (Case Insensitive)', value: 'ilike' },
+ { label: 'Does not equal', value: 'neq' },
+ { label: 'Greater than', value: 'gt' },
+ { label: 'Greater than or equal to', value: 'gte' },
+ { label: 'Less than', value: 'lt' },
+ { label: 'Less than or equal to', value: 'lte' },
+ { label: 'Matches pattern', value: 'like' },
+ { label: 'Matches pattern, any case', value: 'ilike' },
{ label: 'Is', value: 'is' },
- { label: 'In', value: 'in' },
+ { label: 'Is one of', value: 'in' },
{ label: 'Contains', value: 'contains' },
- { label: 'Contained By', value: 'containedBy' },
+ { label: 'Is contained by', value: 'containedBy' },
]
}
}),
value: Property.ShortText({
displayName: 'Value',
- description: 'Value to compare against',
+ description: 'For Is one of, separate values with commas.',
+ placeholder: 'active',
required: true,
}),
}
}),
page: Property.Number({
displayName: 'Page',
- description: 'Page number for pagination (starts from 1)',
+ description: 'Starts at 1.',
required: false,
defaultValue: 1,
}),
pageSize: Property.Number({
- displayName: 'Page Size',
- description: 'Number of records per page (max 1000)',
+ displayName: 'Rows Per Page',
+ description: 'Between 1 and 1000.',
required: false,
defaultValue: 20,
+ display: 'stepper',
+ min: 1,
+ max: 1000,
+ step: 1,
}),
countOption: Property.StaticDropdown({
- displayName: 'Count Algorithm',
- description: 'Algorithm to use for counting rows',
+ displayName: 'Total Count',
+ description: 'Leave empty to skip counting; count is then 0.',
required: false,
options: {
options: [
diff --git a/packages/pieces/community/supabase/src/lib/actions/update-row.ts b/packages/pieces/community/supabase/src/lib/actions/update-row.ts
index 07e408b8f6f..3705f147e2b 100644
--- a/packages/pieces/community/supabase/src/lib/actions/update-row.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/update-row.ts
@@ -1,4 +1,4 @@
-import { createAction, Property } from "@activepieces/pieces-framework";
+import { createAction, MarkdownVariant, Property } from "@activepieces/pieces-framework";
import { supabaseAuth } from '../auth';
import { createClient } from "@supabase/supabase-js";
import { supabaseCommon } from "../common/props";
@@ -12,25 +12,35 @@ export const updateRow = createAction({
audience: 'both',
aiMetadata: { description: 'Updates existing rows in a Supabase table by applying the same field values to every row matching a filter (equals, in-list, or greater-than on a chosen column). Use to modify records you can identify by a filter; it does not create rows that do not exist. Idempotent: re-running with the same filter and values leaves the matched rows in the same state.', idempotent: true },
auth: supabaseAuth,
+ propertyGroups: [
+ {
+ key: 'target',
+ display: 'section',
+ label: 'Rows to Update',
+ icon: 'filter',
+ props: ['table_name', 'filter_column', 'filter_type', 'filter_value', 'filter_values'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changes_info', 'update_data'],
+ },
+ {
+ key: 'output',
+ display: 'section',
+ label: 'Output',
+ icon: 'sliders',
+ props: ['count_updated', 'return_updated'],
+ },
+ ],
props: {
table_name: supabaseCommon.table_name,
- filter_type: Property.StaticDropdown({
- displayName: 'Filter Type',
- description: 'How to identify rows to update',
- required: true,
- defaultValue: 'eq',
- options: {
- options: [
- { label: 'Column equals value', value: 'eq' },
- { label: 'Column is in list of values', value: 'in' },
- { label: 'Column is greater than value', value: 'gt' }
- ]
- }
- }),
filter_column: Property.Dropdown({
auth: supabaseAuth,
- displayName: 'Filter Column',
- description: 'Select the column to filter on',
+ displayName: 'Column',
+ description: 'Rows are matched on this column.',
required: true,
refreshers: ['table_name'],
options: async ({ auth, table_name }) => {
@@ -108,26 +118,43 @@ export const updateRow = createAction({
}
}
}),
+ filter_type: Property.StaticDropdown({
+ displayName: 'Condition',
+ description: 'How the column is compared with the value.',
+ required: true,
+ defaultValue: 'eq',
+ options: {
+ options: [
+ { label: 'Equals', value: 'eq' },
+ { label: 'Is one of', value: 'in' },
+ { label: 'Greater than', value: 'gt' }
+ ]
+ }
+ }),
filter_value: Property.ShortText({
- displayName: 'Filter Value',
- description: 'The value to match against (not used for "in list" filter)',
+ displayName: 'Value',
+ description: 'Used by every condition except Is one of.',
required: false,
}),
filter_values: Property.Array({
- displayName: 'Filter Values',
- description: 'List of values for "in list" filter type',
+ displayName: 'Values',
+ description: 'Used only by Is one of.',
required: false,
}),
+ changes_info: Property.MarkDown({
+ value: 'Empty text, number and date fields keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
update_data: supabaseCommon.update_fields,
count_updated: Property.Checkbox({
displayName: 'Count Updated Rows',
- description: 'Whether to count the number of updated rows',
+ description: 'Adds the number of updated rows to the output.',
required: false,
defaultValue: false,
}),
return_updated: Property.Checkbox({
displayName: 'Return Updated Rows',
- description: 'Whether to return the updated rows data',
+ description: 'Adds the updated rows to the output.',
required: false,
defaultValue: false,
})
diff --git a/packages/pieces/community/supabase/src/lib/actions/update-user.ts b/packages/pieces/community/supabase/src/lib/actions/update-user.ts
index 78d5539a00a..b8eb2b46d81 100644
--- a/packages/pieces/community/supabase/src/lib/actions/update-user.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/update-user.ts
@@ -1,4 +1,4 @@
-import { createAction, Property } from '@activepieces/pieces-framework';
+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';
import { createClient } from '@supabase/supabase-js';
import { supabaseAuth } from '../auth';
import { updateUserActionOutputSchema } from '../output-schemas';
@@ -17,26 +17,54 @@ export const updateUser = createAction({
props: {
userId: Property.ShortText({
displayName: 'User ID',
+ description: 'Find it under Authentication, Users in Supabase.',
+ placeholder: '00000000-0000-0000-0000-000000000000',
required: true,
}),
+ changes_info: Property.MarkDown({
+ value: 'Empty email, phone and password keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
email: Property.ShortText({
- displayName: 'New Email',
+ displayName: 'Email',
+ placeholder: '[email protected]',
required: false,
+ width: 'half',
}),
phone: Property.ShortText({
- displayName: 'New Phone',
+ displayName: 'Phone',
+ description: 'Include the country code.',
+ placeholder: '+15551234567',
required: false,
+ width: 'half',
}),
password: Property.ShortText({
- displayName: 'New Password',
+ displayName: 'Password',
+ description: 'Leave empty to keep the current password.',
required: false,
}),
userMetadata: Property.Json({
displayName: 'User Metadata',
- description: 'Replaces the user\'s custom metadata, as a JSON object.',
+ description: 'Custom data saved on the user, as JSON.',
required: false,
}),
},
+ propertyGroups: [
+ {
+ key: 'user',
+ display: 'section',
+ label: 'User to Update',
+ icon: 'user',
+ props: ['userId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['changes_info', 'email', 'phone', 'password', 'userMetadata'],
+ },
+ ],
outputSchema: updateUserActionOutputSchema,
async run(context) {
const { userId, email, phone, password, userMetadata } = context.propsValue;
diff --git a/packages/pieces/community/supabase/src/lib/actions/upload-file.ts b/packages/pieces/community/supabase/src/lib/actions/upload-file.ts
index 303f72bbd13..e435e0f216f 100644
--- a/packages/pieces/community/supabase/src/lib/actions/upload-file.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/upload-file.ts
@@ -8,20 +8,25 @@ export const uploadFile = createAction({
name: 'upload-file',
classification: 'WRITE',
displayName: 'Upload File',
- description: 'Upload a file to Supabase Storage',
+ description: 'Uploads a file to a Storage bucket.',
audience: 'both',
aiMetadata: { description: 'Uploads a file (provided as base64 or a URL) to a Supabase Storage bucket at a given path, then returns its public URL. Use to persist binary content (images, documents, exports) in object storage rather than a database table. Not idempotent: each call writes the object and will error if the path already exists in the bucket.', idempotent: false },
props: {
- filePath: Property.ShortText({
- displayName: 'File path',
- required: true,
- }),
bucket: Property.ShortText({
displayName: 'Bucket',
+ description: "The bucket's name, as shown in Storage.",
+ placeholder: 'avatars',
+ required: true,
+ }),
+ filePath: Property.ShortText({
+ displayName: 'File Path',
+ description: 'Where to save it in the bucket, including the file name.',
+ placeholder: 'folder/report.pdf',
required: true,
}),
file: Property.File({
- displayName: 'Base64 or URL',
+ displayName: 'File',
+ description: 'A file from an earlier step, or a URL to download.',
required: true,
}),
},
diff --git a/packages/pieces/community/supabase/src/lib/actions/upsert-row.ts b/packages/pieces/community/supabase/src/lib/actions/upsert-row.ts
index d94ad2e04c3..9b89ffbb4c0 100644
--- a/packages/pieces/community/supabase/src/lib/actions/upsert-row.ts
+++ b/packages/pieces/community/supabase/src/lib/actions/upsert-row.ts
@@ -1,4 +1,4 @@
-import { createAction, Property } from "@activepieces/pieces-framework";
+import { createAction, MarkdownVariant, Property } from "@activepieces/pieces-framework";
import { supabaseAuth } from '../auth';
import { createClient } from "@supabase/supabase-js";
import { supabaseCommon } from "../common/props";
@@ -12,12 +12,35 @@ export const upsertRow = createAction({
audience: 'both',
aiMetadata: { description: 'Inserts a row into a Supabase table, or updates the existing row when it collides on the specified unique conflict column. Use when you want to write a record without first checking whether it exists. Idempotent: requires a unique conflict column, and re-running with the same data converges to the same single row.', idempotent: true },
auth: supabaseAuth,
+ propertyGroups: [
+ {
+ key: 'match',
+ display: 'section',
+ label: 'Match Existing Rows',
+ icon: 'filter',
+ props: ['table_name', 'on_conflict'],
+ },
+ {
+ key: 'values',
+ display: 'section',
+ label: 'Values',
+ icon: 'text',
+ props: ['match_info', 'row_data'],
+ },
+ {
+ key: 'output',
+ display: 'section',
+ label: 'Output',
+ icon: 'sliders',
+ props: ['count_upserted', 'return_upserted'],
+ },
+ ],
props: {
table_name: supabaseCommon.table_name,
on_conflict: Property.Dropdown({
auth: supabaseAuth,
- displayName: 'Conflict Column',
- description: 'Select the unique column to determine duplicates (required for upsert to work)',
+ displayName: 'Match Column',
+ description: 'A unique column. Rows with the same value here are updated.',
required: true,
refreshers: ['table_name'],
options: async ({ auth, table_name }) => {
@@ -117,16 +140,20 @@ export const upsertRow = createAction({
}
}
}),
+ match_info: Property.MarkDown({
+ value: 'Rows with an existing match column value are updated; others are added.',
+ variant: MarkdownVariant.INFO,
+ }),
row_data: supabaseCommon.upsert_fields,
count_upserted: Property.Checkbox({
displayName: 'Count Upserted Rows',
- description: 'Whether to count the number of upserted rows',
+ description: 'Adds the number of written rows to the output.',
required: false,
defaultValue: false,
}),
return_upserted: Property.Checkbox({
displayName: 'Return Upserted Rows',
- description: 'Whether to return the upserted rows data',
+ description: 'Adds the written rows to the output.',
required: false,
defaultValue: false,
})
diff --git a/packages/pieces/community/supabase/src/lib/common/props.ts b/packages/pieces/community/supabase/src/lib/common/props.ts
index b1ebcc0daca..9ec5cafbcfe 100644
--- a/packages/pieces/community/supabase/src/lib/common/props.ts
+++ b/packages/pieces/community/supabase/src/lib/common/props.ts
@@ -1,4 +1,4 @@
-import { Property, DynamicPropsValue } from "@activepieces/pieces-framework";
+import { Property, DynamicPropsValue, MarkdownVariant } from "@activepieces/pieces-framework";
import { createClient } from "@supabase/supabase-js";
import { supabaseAuth } from '../auth';
@@ -57,8 +57,8 @@ export const supabaseCommon = {
table_name: Property.Dropdown({
auth: supabaseAuth,
- displayName: 'Table Name',
- description: 'Select a table from your database',
+ displayName: 'Table',
+ description: 'Only tables exposed through the Supabase Data API are listed.',
required: true,
refreshers: [],
options: async ({ auth }) => {
@@ -66,7 +66,7 @@ export const supabaseCommon = {
return {
disabled: true,
options: [],
- placeholder: 'Please connect your Supabase account first.'
+ placeholder: 'Connect your account first.'
};
}
@@ -156,7 +156,7 @@ export const supabaseCommon = {
table_columns: Property.DynamicProperties({
auth: supabaseAuth,
displayName: 'Row Data',
- description: 'Enter the data for each column',
+ description: 'Pick a table to load one field per column.',
required: true,
refreshers: ['table_name'],
props: async (propsValue) => {
@@ -201,23 +201,26 @@ export const supabaseCommon = {
if (!response.ok) {
properties['error'] = Property.MarkDown({
- value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`
+ value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`,
+ variant: MarkdownVariant.WARNING
});
return properties;
}
openApiSpec = await response.json();
} catch (fetchError) {
properties['error'] = Property.MarkDown({
- value: `Network error loading columns for table "${table_name}". Please check your connection.`
+ value: `Network error loading columns for table "${table_name}". Please check your connection.`,
+ variant: MarkdownVariant.WARNING
});
return properties;
}
const definitions = openApiSpec.definitions || openApiSpec.components?.schemas || {};
-
+
const tableDefinition = definitions[table_name as unknown as string];
if (!tableDefinition || !tableDefinition.properties) {
properties['info'] = Property.MarkDown({
- value: `No columns found for table "${table_name}". Please check if the table exists.`
+ value: `No columns found for table "${table_name}". Please check if the table exists.`,
+ variant: MarkdownVariant.INFO
});
return properties;
}
@@ -248,7 +251,7 @@ export const supabaseCommon = {
column_name: columnName,
data_type: dataType,
is_nullable: !tableDefinition.required?.includes(columnName) ? 'YES' : 'NO',
- column_default: columnDef.default || null
+ column_default: columnDef.default ?? null
};
});
}
@@ -258,8 +261,10 @@ export const supabaseCommon = {
continue;
}
- const isRequired = column.is_nullable === 'NO' && column.column_default === null;
- const description = `Type: ${column.data_type}${isRequired ? ' (required)' : ''}`;
+ const hasDefault = hasColumnDefault(column.column_default);
+ const isRequired = column.is_nullable === 'NO' && !hasDefault;
+ const description = `Column type: ${column.data_type}.${isRequired ? ' Required.' : ''}`;
+ const textDescription = `${description}${hasDefault ? ' Leave empty to use the column default.' : ''}`;
switch (column.data_type.toLowerCase()) {
case 'integer':
@@ -271,11 +276,11 @@ export const supabaseCommon = {
case 'double precision':
properties[column.column_name] = Property.Number({
displayName: column.column_name,
- description,
+ description: textDescription,
required: false
});
break;
-
+
case 'boolean':
properties[column.column_name] = Property.Checkbox({
displayName: column.column_name,
@@ -283,27 +288,26 @@ export const supabaseCommon = {
required: false
});
break;
-
+
case 'date':
case 'timestamp':
case 'timestamp with time zone':
case 'timestamp without time zone':
- // Handle auto-timestamps (created_at, updated_at) differently
if (column.column_name.includes('created_at') || column.column_name.includes('updated_at')) {
properties[column.column_name] = Property.ShortText({
- displayName: `${column.column_name} (auto-generated)`,
- description: `${description} - Leave empty for auto-generation`,
+ displayName: column.column_name,
+ description: textDescription,
required: false
});
} else {
properties[column.column_name] = Property.DateTime({
displayName: column.column_name,
- description,
+ description: textDescription,
required: false
});
}
break;
-
+
case 'json':
case 'jsonb':
case 'object':
@@ -313,34 +317,25 @@ export const supabaseCommon = {
required: false
});
break;
-
+
case 'array':
case '_text':
case 'text[]':
properties[column.column_name] = Property.Array({
displayName: column.column_name,
- description: `${description} - Enter each item separately`,
+ description,
required: false
});
break;
-
+
case 'uuid':
- // UUID fields - offer auto-generation option
- if (column.column_name === 'id' || column.column_name.endsWith('_id')) {
- properties[column.column_name] = Property.ShortText({
- displayName: `${column.column_name} (auto-generated)`,
- description: `${description} - Leave empty for auto-generation`,
- required: false
- });
- } else {
- properties[column.column_name] = Property.ShortText({
- displayName: column.column_name,
- description,
- required: false
- });
- }
+ properties[column.column_name] = Property.ShortText({
+ displayName: column.column_name,
+ description: textDescription,
+ required: false
+ });
break;
-
+
case 'string':
case 'text':
case 'varchar':
@@ -348,22 +343,16 @@ export const supabaseCommon = {
case 'char':
case 'character':
default:
- if (column.column_name.toLowerCase().includes('email')) {
+ if (column.column_name.toLowerCase().includes('email') || column.column_name.toLowerCase().includes('id')) {
properties[column.column_name] = Property.ShortText({
displayName: column.column_name,
- description: `${description} - Enter email address`,
- required: false
- });
- } else if (column.column_name.toLowerCase().includes('id')) {
- properties[column.column_name] = Property.ShortText({
- displayName: `${column.column_name} (auto-generated)`,
- description: `${description} - Leave empty for auto-generation`,
+ description: textDescription,
required: false
});
} else {
properties[column.column_name] = Property.LongText({
displayName: column.column_name,
- description,
+ description: textDescription,
required: false
});
}
@@ -374,7 +363,8 @@ export const supabaseCommon = {
return properties;
} catch (error) {
properties['error'] = Property.MarkDown({
- value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`
+ value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`,
+ variant: MarkdownVariant.WARNING
});
return properties;
}
@@ -383,8 +373,8 @@ export const supabaseCommon = {
update_fields: Property.DynamicProperties({
auth: supabaseAuth,
- displayName: 'Update Data',
- description: 'Select which columns to update (auto-generated fields excluded)',
+ displayName: 'New Values',
+ description: 'Pick a table to load one field per column.',
required: true,
refreshers: ['table_name'],
props: async (propsValue) => {
@@ -427,23 +417,26 @@ export const supabaseCommon = {
if (!response.ok) {
properties['error'] = Property.MarkDown({
- value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`
+ value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`,
+ variant: MarkdownVariant.WARNING
});
return properties;
}
openApiSpec = await response.json();
} catch (fetchError) {
properties['error'] = Property.MarkDown({
- value: `Network error loading columns for table "${table_name}". Please check your connection.`
+ value: `Network error loading columns for table "${table_name}". Please check your connection.`,
+ variant: MarkdownVariant.WARNING
});
return properties;
}
const definitions = openApiSpec.definitions || openApiSpec.components?.schemas || {};
-
+
const tableDefinition = definitions[table_name as unknown as string];
if (!tableDefinition || !tableDefinition.properties) {
properties['info'] = Property.MarkDown({
- value: `No columns found for table "${table_name}". Please check if the table exists.`
+ value: `No columns found for table "${table_name}". Please check if the table exists.`,
+ variant: MarkdownVariant.INFO
});
return properties;
}
@@ -471,7 +464,7 @@ export const supabaseCommon = {
column_name: columnName,
data_type: dataType,
is_nullable: !tableDefinition.required?.includes(columnName) ? 'YES' : 'NO',
- column_default: columnDef.default || null
+ column_default: columnDef.default ?? null
};
});
}
@@ -482,13 +475,12 @@ export const supabaseCommon = {
if (
column.column_name === 'id' ||
column.column_name.includes('created_at') ||
- column.column_name.includes('updated_at') ||
- (column.data_type === 'uuid' && column.column_name.endsWith('_id'))
+ column.column_name.includes('updated_at')
) {
continue;
}
-
- const description = `Type: ${column.data_type} - Update this field`;
+
+ const description = `Column type: ${column.data_type}.`;
switch (column.data_type.toLowerCase()) {
case 'integer':
@@ -508,11 +500,11 @@ export const supabaseCommon = {
case 'boolean':
properties[column.column_name] = Property.Checkbox({
displayName: column.column_name,
- description,
+ description: `${description} Saved as off unless you switch it on.`,
required: false
});
break;
-
+
case 'date':
case 'timestamp':
case 'timestamp with time zone':
@@ -523,32 +515,32 @@ export const supabaseCommon = {
required: false
});
break;
-
+
case 'json':
case 'jsonb':
case 'object':
properties[column.column_name] = Property.Json({
displayName: column.column_name,
- description,
+ description: `${description} Left empty, it is saved as {}.`,
required: false
});
break;
-
+
case 'array':
case '_text':
case 'text[]':
properties[column.column_name] = Property.Array({
displayName: column.column_name,
- description: `${description} - Enter each item separately`,
+ description: `${description} Left empty, it is saved as an empty list.`,
required: false
});
break;
-
+
default:
if (column.column_name.toLowerCase().includes('email')) {
properties[column.column_name] = Property.ShortText({
displayName: column.column_name,
- description: `${description} - Enter email address`,
+ description,
required: false
});
} else {
@@ -565,7 +557,8 @@ export const supabaseCommon = {
return properties;
} catch (error) {
properties['error'] = Property.MarkDown({
- value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`
+ value: `Error loading columns for table "${table_name}". Please check your connection and permissions.`,
+ variant: MarkdownVariant.WARNING
});
return properties;
}
@@ -575,11 +568,11 @@ export const supabaseCommon = {
upsert_fields: Property.DynamicProperties({
auth: supabaseAuth,
displayName: 'Row Data',
- description: 'Enter data for the row (conflict detection handled separately)',
+ description: 'Pick a table to load one field per column.',
required: true,
refreshers: ['table_name', 'on_conflict'],
props: async (propsValue) => {
- const { auth, table_name, on_conflict } = propsValue;
+ const { auth, table_name } = propsValue;
const properties: DynamicPropsValue = {};
if (!auth || !table_name) {
@@ -623,35 +616,34 @@ export const supabaseCommon = {
column_name: columnName,
data_type: columnDef.type || 'text',
is_nullable: !tableDefinition.required?.includes(columnName) ? 'YES' : 'NO',
- column_default: columnDef.default || null
+ column_default: columnDef.default ?? null
}));
}
}
}
for (const column of columns) {
- if (!column.data_type || column.column_name === on_conflict) continue;
-
- const description = `Type: ${column.data_type}`;
+ if (!column.data_type) continue;
+
+ const isRequired = column.is_nullable === 'NO' && !hasColumnDefault(column.column_default);
properties[column.column_name] = Property.LongText({
displayName: column.column_name,
- description,
+ description: `Column type: ${column.data_type}.${isRequired ? ' Required.' : ''}`,
required: false
});
}
} catch (error) {
properties['error'] = Property.MarkDown({
- value: `Error loading columns for table "${table_name}".`
- });
- }
-
- if (on_conflict) {
- properties['_info'] = Property.MarkDown({
- value: `💡 **Note**: The "${on_conflict}" field is used for conflict detection and should not be included in the row data unless you want to update it.`
+ value: `Error loading columns for table "${table_name}".`,
+ variant: MarkdownVariant.WARNING
});
}
return properties;
}
})
-};
\ No newline at end of file
+};
+
+function hasColumnDefault(columnDefault: unknown): boolean {
+ return columnDefault !== null && columnDefault !== undefined;
+}
\ No newline at end of file
diff --git a/packages/pieces/community/supabase/src/lib/triggers/new-row.ts b/packages/pieces/community/supabase/src/lib/triggers/new-row.ts
index 47e61a66600..1d80fe0e502 100644
--- a/packages/pieces/community/supabase/src/lib/triggers/new-row.ts
+++ b/packages/pieces/community/supabase/src/lib/triggers/new-row.ts
@@ -1,4 +1,4 @@
-import { createTrigger, Property, TriggerStrategy } from '@activepieces/pieces-framework';
+import { createTrigger, MarkdownVariant, Property, TriggerStrategy } from '@activepieces/pieces-framework';
import { supabaseAuth } from '../auth';
import { supabaseCommon } from '../common/props';
import { newRowTriggerOutputSchema } from '../output-schemas';
@@ -27,34 +27,24 @@ export const newRow = createTrigger({
},
props: {
instructions: Property.MarkDown({
- value: `## Setup Instructions
+ value: `1. In Supabase, open **Database → Webhooks** and click **Create a new hook**.
+2. Pick the table, tick **Insert**, and choose **HTTP Request** with method **POST**.
+3. Paste this URL, then click **Create webhook**:
-1. **Go to your Supabase Dashboard** → Database → Webhooks
-2. **Click "Create a new hook"**
-3. **Configure the webhook:**
- - **Name**: Give it a descriptive name (e.g., "Activepieces New Row")
- - **Table**: Select the table you want to monitor
- - **Events**: Check "Insert"
- - **Type**: HTTP Request
- - **Method**: POST
- - **URL**: Copy and paste the webhook URL below
-4. **Click "Create webhook"**
+\`\`\`text
+{{webhookUrl}}
+\`\`\`
-**Webhook URL:** \`{{webhookUrl}}\`
-
-## Important Notes
-- The webhook will send a JSON payload with the new row data
-- Make sure your table has the necessary permissions
-- You can test the webhook by inserting a new row into your table
-
-For more details, see [Supabase Database Webhooks documentation](https://supabase.com/docs/guides/database/webhooks).`
+[Supabase webhook docs](https://supabase.com/docs/guides/database/webhooks)`,
+ variant: MarkdownVariant.INFO,
}),
table_name: supabaseCommon.table_name,
schema: Property.ShortText({
displayName: 'Schema',
- description: 'Database schema (default: public)',
+ description: 'Change only if the table is not in the public schema.',
required: false,
- defaultValue: 'public'
+ defaultValue: 'public',
+ advanced: true
})
},
outputSchema: newRowTriggerOutputSchema,