AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(apitable): ui improvement (#16756)
Talal Jaber3e28058d3856
diff --git a/bun.lock b/bun.lockindex 14b0e13579c..fb6b377433f 100644--- a/bun.lock+++ b/bun.lock@@ -745,7 +745,7 @@},"packages/pieces/community/apitable": {"name": "@activepieces/piece-apitable",- "version": "0.4.2",+ "version": "0.5.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/apitable/package.json b/packages/pieces/community/apitable/package.jsonindex a83abdd71f5..aa982d7c0df 100644--- a/packages/pieces/community/apitable/package.json+++ b/packages/pieces/community/apitable/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-apitable",- "version": "0.4.2",+ "version": "0.5.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","scripts": {diff --git a/packages/pieces/community/apitable/src/i18n/de.json b/packages/pieces/community/apitable/src/i18n/de.jsonindex 30437fd9d27..73abf5c5b83 100644--- a/packages/pieces/community/apitable/src/i18n/de.json+++ b/packages/pieces/community/apitable/src/i18n/de.json@@ -85,5 +85,8 @@"DELETE": "LÖSCHEN","HEAD": "HEAD","New Record": "Neuer Datensatz",- "Triggers when a new record is added to a datasheet.": "Wird ausgelöst, wenn ein neuer Datensatz zu einem Datenblatt hinzugefügt wird."+ "Triggers when a new record is added to a datasheet.": "Wird ausgelöst, wenn ein neuer Datensatz zu einem Datenblatt hinzugefügt wird.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Leere Felder bleiben leer. Einige Spaltentypen, etwa Anhänge und Formeln, werden nicht aufgeführt.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Leere Felder behalten ihren aktuellen Wert; nicht angehakte Kontrollkästchen werden geleert. Einige Spaltentypen, etwa Anhänge und Formeln, werden nicht aufgeführt."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/es.json b/packages/pieces/community/apitable/src/i18n/es.jsonindex 4af5c9f6d9e..3f0e6d5a448 100644--- a/packages/pieces/community/apitable/src/i18n/es.json+++ b/packages/pieces/community/apitable/src/i18n/es.json@@ -85,5 +85,8 @@"DELETE": "BORRAR","HEAD": "LIMPIO","New Record": "Nuevo registro",- "Triggers when a new record is added to a datasheet.": "Se activa cuando se añade un nuevo registro a una hoja de datos."+ "Triggers when a new record is added to a datasheet.": "Se activa cuando se añade un nuevo registro a una hoja de datos.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Los campos en blanco quedan vacíos. Algunos tipos de columna, como los adjuntos y las fórmulas, no aparecen.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Los campos en blanco conservan su valor actual; las casillas sin marcar se borran. Algunos tipos de columna, como los adjuntos y las fórmulas, no aparecen."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/fr.json b/packages/pieces/community/apitable/src/i18n/fr.jsonindex d98206e5b68..6db35df9193 100644--- a/packages/pieces/community/apitable/src/i18n/fr.json+++ b/packages/pieces/community/apitable/src/i18n/fr.json@@ -85,5 +85,8 @@"DELETE": "DELETE","HEAD": "HEAD","New Record": "Nouvel enregistrement",- "Triggers when a new record is added to a datasheet.": "Déclenche lorsqu'un nouvel enregistrement est ajouté à une fiche de données."+ "Triggers when a new record is added to a datasheet.": "Déclenche lorsqu'un nouvel enregistrement est ajouté à une fiche de données.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Les champs vides restent vides. Certains types de colonnes, comme les pièces jointes et les formules, ne sont pas listés.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Les champs vides gardent leur valeur actuelle ; les cases non cochées sont effacées. Certains types de colonnes, comme les pièces jointes et les formules, ne sont pas listés."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/id.json b/packages/pieces/community/apitable/src/i18n/id.jsonindex b15facdb5e2..5c2cead0046 100644--- a/packages/pieces/community/apitable/src/i18n/id.json+++ b/packages/pieces/community/apitable/src/i18n/id.json@@ -67,5 +67,8 @@"Field names to include. Empty: every field.": "Nama kolom yang disertakan. Kosong: semua kolom.","Records returned per page.": "Catatan yang dikembalikan per halaman.","Caps matching records before paging. Empty: no cap.": "Membatasi hasil yang cocok sebelum dibagi per halaman. Kosong: tanpa batas.",- "Which page to return, starting at 1.": "Halaman yang dikembalikan, mulai dari 1."+ "Which page to return, starting at 1.": "Halaman yang dikembalikan, mulai dari 1.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Kolom kosong dibiarkan kosong. Beberapa jenis kolom, seperti lampiran dan rumus, tidak dicantumkan.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Kolom kosong mempertahankan nilainya saat ini; kotak centang yang tidak dicentang dikosongkan. Beberapa jenis kolom, seperti lampiran dan rumus, tidak dicantumkan."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/ja.json b/packages/pieces/community/apitable/src/i18n/ja.jsonindex 18b3beaec47..b33f657bb6c 100644--- a/packages/pieces/community/apitable/src/i18n/ja.json+++ b/packages/pieces/community/apitable/src/i18n/ja.json@@ -85,5 +85,8 @@"DELETE": "削除","HEAD": "頭","New Record": "新しいレコード",- "Triggers when a new record is added to a datasheet.": "新しいレコードがデータシートに追加されたときにトリガーされます。"+ "Triggers when a new record is added to a datasheet.": "新しいレコードがデータシートに追加されたときにトリガーされます。",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "空欄のフィールドは空のままです。添付ファイルや数式など、一部の列の種類は表示されません。",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "空欄のフィールドは現在の値を保持し、チェックのないチェックボックスはクリアされます。添付ファイルや数式など、一部の列の種類は表示されません。"}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/nl.json b/packages/pieces/community/apitable/src/i18n/nl.jsonindex 0f9f82688c3..f679665686c 100644--- a/packages/pieces/community/apitable/src/i18n/nl.json+++ b/packages/pieces/community/apitable/src/i18n/nl.json@@ -85,5 +85,8 @@"DELETE": "VERWIJDEREN","HEAD": "HOOFD","New Record": "Nieuwe Record",- "Triggers when a new record is added to a datasheet.": "Triggert wanneer een nieuw record wordt toegevoegd aan een datasheet."+ "Triggers when a new record is added to a datasheet.": "Triggert wanneer een nieuw record wordt toegevoegd aan een datasheet.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Lege velden blijven leeg. Sommige kolomtypen, zoals bijlagen en formules, worden niet getoond.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Lege velden houden hun huidige waarde; niet-aangevinkte selectievakjes worden gewist. Sommige kolomtypen, zoals bijlagen en formules, worden niet getoond."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/pt.json b/packages/pieces/community/apitable/src/i18n/pt.jsonindex 997b5bc3640..a0a2abbc3ca 100644--- a/packages/pieces/community/apitable/src/i18n/pt.json+++ b/packages/pieces/community/apitable/src/i18n/pt.json@@ -85,5 +85,8 @@"DELETE": "EXCLUIR","HEAD": "CABEÇA","New Record": "Novo Registro",- "Triggers when a new record is added to a datasheet.": "Aciona quando um novo registro é adicionado a uma ficha técnica."+ "Triggers when a new record is added to a datasheet.": "Aciona quando um novo registro é adicionado a uma ficha técnica.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Campos em branco ficam vazios. Alguns tipos de coluna, como anexos e fórmulas, não são listados.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Campos em branco mantêm o valor atual; caixas de seleção desmarcadas são limpas. Alguns tipos de coluna, como anexos e fórmulas, não são listados."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/ru.json b/packages/pieces/community/apitable/src/i18n/ru.jsonindex 6fd7eb98df2..c95e220ec0f 100644--- a/packages/pieces/community/apitable/src/i18n/ru.json+++ b/packages/pieces/community/apitable/src/i18n/ru.json@@ -67,5 +67,8 @@"Field names to include. Empty: every field.": "Названия полей для включения. Пусто: все поля.","Records returned per page.": "Записей на странице.","Caps matching records before paging. Empty: no cap.": "Ограничивает число совпадений до разбивки на страницы. Пусто: без ограничения.",- "Which page to return, starting at 1.": "Какую страницу вернуть, начиная с 1."+ "Which page to return, starting at 1.": "Какую страницу вернуть, начиная с 1.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Пустые поля остаются пустыми. Некоторые типы столбцов, например вложения и формулы, не отображаются.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Пустые поля сохраняют текущее значение; неотмеченные флажки сбрасываются. Некоторые типы столбцов, например вложения и формулы, не отображаются."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/translation.json b/packages/pieces/community/apitable/src/i18n/translation.jsonindex 9d5bb419a79..ebe8eef2041 100644--- a/packages/pieces/community/apitable/src/i18n/translation.json+++ b/packages/pieces/community/apitable/src/i18n/translation.json@@ -87,5 +87,8 @@"Request": "Request","Data to send": "Data to send","New Record": "New Record",- "Triggers when a new record is added to a datasheet.": "Triggers when a new record is added to a datasheet."+ "Triggers when a new record is added to a datasheet.": "Triggers when a new record is added to a datasheet.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/vi.json b/packages/pieces/community/apitable/src/i18n/vi.jsonindex d6439c532c9..f36bf7e79f3 100644--- a/packages/pieces/community/apitable/src/i18n/vi.json+++ b/packages/pieces/community/apitable/src/i18n/vi.json@@ -67,5 +67,8 @@"Field names to include. Empty: every field.": "Tên trường cần bao gồm. Để trống: mọi trường.","Records returned per page.": "Số bản ghi trả về mỗi trang.","Caps matching records before paging. Empty: no cap.": "Giới hạn số kết quả khớp trước khi phân trang. Để trống: không giới hạn.",- "Which page to return, starting at 1.": "Trang cần trả về, bắt đầu từ 1."+ "Which page to return, starting at 1.": "Trang cần trả về, bắt đầu từ 1.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "Trường để trống sẽ để trống. Một số loại cột, như tệp đính kèm và công thức, không được liệt kê.",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "Trường để trống giữ nguyên giá trị hiện tại; ô không được đánh dấu sẽ bị xóa. Một số loại cột, như tệp đính kèm và công thức, không được liệt kê."}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/i18n/zh.json b/packages/pieces/community/apitable/src/i18n/zh.jsonindex f1ff848b030..4f2bce067e1 100644--- a/packages/pieces/community/apitable/src/i18n/zh.json+++ b/packages/pieces/community/apitable/src/i18n/zh.json@@ -85,5 +85,8 @@"DELETE": "删除","HEAD": "黑色","New Record": "New Record",- "Triggers when a new record is added to a datasheet.": "Triggers when a new record is added to a datasheet."+ "Triggers when a new record is added to a datasheet.": "Triggers when a new record is added to a datasheet.",+ "Markdown": "Markdown",+ "Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.": "留空的字段保持为空。附件和公式等部分列类型不会列出。",+ "Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.": "留空的字段保留当前值;未勾选的复选框会被清除。附件和公式等部分列类型不会列出。"}\ No newline at end of filediff --git a/packages/pieces/community/apitable/src/index.ts b/packages/pieces/community/apitable/src/index.tsindex 9e837d9aab8..f94e6404dd2 100644--- a/packages/pieces/community/apitable/src/index.ts+++ b/packages/pieces/community/apitable/src/index.ts@@ -49,6 +49,12 @@ export const apitable = createPiece({authMapping: async (auth) => ({Authorization: `Bearer ${(auth?.props.token ?? '')}`,}),+ props: {+ url: {+ description: 'Full URL, or a path relative to your AITable instance URL.',+ placeholder: '/fusion/v1/spaces',+ },+ },}),],triggers: [newRecordTrigger],diff --git a/packages/pieces/community/apitable/src/lib/actions/create-record.ts b/packages/pieces/community/apitable/src/lib/actions/create-record.tsindex d51e12b4183..a82c055d462 100644--- a/packages/pieces/community/apitable/src/lib/actions/create-record.ts+++ b/packages/pieces/community/apitable/src/lib/actions/create-record.ts@@ -1,5 +1,7 @@import {DynamicPropsValue,+ MarkdownVariant,+ Property,createAction,} from '@activepieces/pieces-framework';import { APITableCommon, createNewFields, makeClient } from '../common';@@ -18,9 +20,30 @@ export const createRecordAction = createAction({'Creates a new row in an AITable datasheet from a set of field values. Use when an agent needs to add data to a datasheet; requires the target space and datasheet IDs. Not idempotent: each call appends a new record, so repeating it creates duplicates.',idempotent: false,},+ propertyGroups: [+ {+ key: 'location',+ display: 'section',+ label: 'Location',+ icon: 'location',+ props: ['space_id', 'datasheet_id'],+ },+ {+ key: 'values',+ display: 'section',+ label: 'Record Values',+ icon: 'text',+ props: ['info', 'fields'],+ },+ ],props: {space_id: APITableCommon.space_id,datasheet_id: APITableCommon.datasheet_id,+ info: Property.MarkDown({+ value:+ 'Blank fields are left empty. Some column types, such as attachments and formulas, are not listed.',+ variant: MarkdownVariant.INFO,+ }),fields: APITableCommon.fields({description: 'Values for the new record. Blank fields are left empty.',}),diff --git a/packages/pieces/community/apitable/src/lib/actions/find-record.ts b/packages/pieces/community/apitable/src/lib/actions/find-record.tsindex e9d7dd3f915..70bcdd44c2a 100644--- a/packages/pieces/community/apitable/src/lib/actions/find-record.ts+++ b/packages/pieces/community/apitable/src/lib/actions/find-record.ts@@ -19,6 +19,29 @@ export const findRecordAction = createAction({'Reads records from an AITable datasheet, optionally narrowing by record IDs, a formula filter, or a field-name projection, with pagination controls; leaving the filters empty returns all records (paged). Use to look up or list datasheet rows before acting on them. Idempotent: it only reads data.',idempotent: true,},+ propertyGroups: [+ {+ key: 'location',+ display: 'section',+ label: 'Location',+ icon: 'location',+ props: ['space_id', 'datasheet_id'],+ },+ {+ key: 'filters',+ display: 'section',+ label: 'Filters',+ icon: 'filter',+ props: ['filter', 'recordIds'],+ },+ {+ key: 'results',+ display: 'section',+ label: 'Results',+ icon: 'sliders',+ props: ['fieldNames', 'pageSize'],+ },+ ],props: {space_id: APITableCommon.space_id,datasheet_id: APITableCommon.datasheet_id,diff --git a/packages/pieces/community/apitable/src/lib/actions/update-record.ts b/packages/pieces/community/apitable/src/lib/actions/update-record.tsindex 675f8b416e2..3891d93c6fb 100644--- a/packages/pieces/community/apitable/src/lib/actions/update-record.ts+++ b/packages/pieces/community/apitable/src/lib/actions/update-record.ts@@ -1,5 +1,6 @@import {DynamicPropsValue,+ MarkdownVariant,Property,createAction,} from '@activepieces/pieces-framework';@@ -19,6 +20,22 @@ export const updateRecordAction = createAction({'Updates the field values of an existing record in an AITable datasheet, identified by its record ID. Use when an agent needs to modify a row it can already locate. Idempotent: re-applying the same field values to the same record ID yields the same result with no extra side effect.',idempotent: true,},+ propertyGroups: [+ {+ key: 'record',+ display: 'section',+ label: 'Record to Update',+ icon: 'file',+ props: ['space_id', 'datasheet_id', 'recordId'],+ },+ {+ key: 'changes',+ display: 'section',+ label: 'Changes',+ icon: 'text',+ props: ['info', 'fields'],+ },+ ],props: {space_id: APITableCommon.space_id,datasheet_id: APITableCommon.datasheet_id,@@ -28,6 +45,11 @@ export const updateRecordAction = createAction({placeholder: 'rec2T5ppW1Mal',required: true,}),+ info: Property.MarkDown({+ value:+ 'Blank fields keep their current value; unticked checkboxes are cleared. Some column types, such as attachments and formulas, are not listed.',+ variant: MarkdownVariant.INFO,+ }),fields: APITableCommon.fields({description:'Blank fields keep their value; unticked checkboxes are cleared.',diff --git a/packages/pieces/community/apitable/src/lib/triggers/new-record.ts b/packages/pieces/community/apitable/src/lib/triggers/new-record.tsindex 09db8c9d55e..b998961aeed 100644--- a/packages/pieces/community/apitable/src/lib/triggers/new-record.ts+++ b/packages/pieces/community/apitable/src/lib/triggers/new-record.ts@@ -60,6 +60,15 @@ export const newRecordTrigger = createTrigger({description:'Fires when a new record is created in the selected AITable datasheet. Polls by creation time, so each newly added row in the chosen space and datasheet surfaces as one event.',},+ propertyGroups: [+ {+ key: 'location',+ display: 'section',+ label: 'Location',+ icon: 'location',+ props: ['space_id', 'datasheet_id'],+ },+ ],props: {space_id: APITableCommon.space_id,datasheet_id: APITableCommon.datasheet_id,