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(google-sheets): ui improvement (#16361)

Talal Jaber05b2cee6d5ba
diff --git a/bun.lock b/bun.lock
index b608d628994..8b8637e11a6 100644
--- a/bun.lock
+++ b/bun.lock
@@ -3982,7 +3982,7 @@
},
"packages/pieces/community/google-sheets": {
"name": "@activepieces/piece-google-sheets",
- "version": "0.17.2",
+ "version": "0.18.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/google-sheets/package.json b/packages/pieces/community/google-sheets/package.json
index 8fd8f459058..b9a744bbec2 100644
--- a/packages/pieces/community/google-sheets/package.json
+++ b/packages/pieces/community/google-sheets/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-google-sheets",
- "version": "0.17.2",
+ "version": "0.18.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
diff --git a/packages/pieces/community/google-sheets/src/i18n/de.json b/packages/pieces/community/google-sheets/src/i18n/de.json
index dadfe750a2b..5cc365c6283 100644
--- a/packages/pieces/community/google-sheets/src/i18n/de.json
+++ b/packages/pieces/community/google-sheets/src/i18n/de.json
@@ -373,5 +373,6 @@
"Trigger Column": "Spalte auslösen",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Bitte beachten Sie, dass es aufgrund einer Verzögerung von Google eine Verzögerung von bis zu 3 Minuten geben kann, bis der Trigger angezündet wird.",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "Leere Felder behalten ihren aktuellen Wert."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/es.json b/packages/pieces/community/google-sheets/src/i18n/es.json
index 2a51ce2a5fb..e228b5bca4d 100644
--- a/packages/pieces/community/google-sheets/src/i18n/es.json
+++ b/packages/pieces/community/google-sheets/src/i18n/es.json
@@ -373,5 +373,6 @@
"Trigger Column": "Columna de gatillo",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Tenga en cuenta que puede haber un retraso de hasta 3 minutos para que el disparador se dispare, debido a un retraso de Google.",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "Los campos vacíos conservan su valor actual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/fr.json b/packages/pieces/community/google-sheets/src/i18n/fr.json
index a5166b248ab..244f0666f4b 100644
--- a/packages/pieces/community/google-sheets/src/i18n/fr.json
+++ b/packages/pieces/community/google-sheets/src/i18n/fr.json
@@ -373,5 +373,6 @@
"Trigger Column": "Colonne de déclenchement",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Veuillez noter qu'il peut y avoir un délai de 3 minutes pour que le déclencheur soit activé en raison d'un délai de la part de Google.",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "Les champs vides conservent leur valeur actuelle."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/ja.json b/packages/pieces/community/google-sheets/src/i18n/ja.json
index 8addd039985..e2e0e3eb39b 100644
--- a/packages/pieces/community/google-sheets/src/i18n/ja.json
+++ b/packages/pieces/community/google-sheets/src/i18n/ja.json
@@ -373,5 +373,6 @@
"Trigger Column": "トリガー列",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Googleからの遅延により、トリガーが発生するまでに最大3分間の遅延が発生する場合がありますのでご注意ください。",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "空欄のフィールドは現在の値のままです。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/nl.json b/packages/pieces/community/google-sheets/src/i18n/nl.json
index 71f9314da93..fc454e0f518 100644
--- a/packages/pieces/community/google-sheets/src/i18n/nl.json
+++ b/packages/pieces/community/google-sheets/src/i18n/nl.json
@@ -373,5 +373,6 @@
"Trigger Column": "Trigger kolom",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Houd er rekening mee dat er mogelijk een vertraging van maximaal 3 minuten is voordat de trigger wordt afgevuurd, als gevolg van een vertraging van Google.",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "Lege velden behouden hun huidige waarde."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/pt.json b/packages/pieces/community/google-sheets/src/i18n/pt.json
index 91f9c543df0..eceaa2ea342 100644
--- a/packages/pieces/community/google-sheets/src/i18n/pt.json
+++ b/packages/pieces/community/google-sheets/src/i18n/pt.json
@@ -373,5 +373,6 @@
"Trigger Column": "Coluna de Disparo",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Observe que pode haver um atraso de até 3 minutos para o gatilho ser disparado, devido a um atraso do Google.",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "Campos vazios mantêm o valor atual."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/ru.json b/packages/pieces/community/google-sheets/src/i18n/ru.json
index dcd00eaca62..99624e35bb4 100644
--- a/packages/pieces/community/google-sheets/src/i18n/ru.json
+++ b/packages/pieces/community/google-sheets/src/i18n/ru.json
@@ -128,5 +128,6 @@
"Triggers when a worksheet is created in a spreadsheet.": "Включает при создании таблицы в электронном формате.",
"Trigger Column": "Столбец триггера",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Пожалуйста, обратите внимание, что может возникнуть задержка до 3 минут, чтобы срабатывать срабатывание в связи с задержкой от Google.",
- "Trigger on changes to cells in this column only.Select **All Columns** if you want the flow to trigger on changes to any cell within the row.": "Включать только изменения ячеек в этом столбце. выберите **Все колонки**, если хотите, чтобы потоки срабатывали изменения в любой ячейке в строке."
+ "Trigger on changes to cells in this column only.Select **All Columns** if you want the flow to trigger on changes to any cell within the row.": "Включать только изменения ячеек в этом столбце. выберите **Все колонки**, если хотите, чтобы потоки срабатывали изменения в любой ячейке в строке.",
+ "Empty fields keep their current value.": "Пустые поля сохраняют текущее значение."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/translation.json b/packages/pieces/community/google-sheets/src/i18n/translation.json
index a4dbd61f945..ded54aa9acf 100644
--- a/packages/pieces/community/google-sheets/src/i18n/translation.json
+++ b/packages/pieces/community/google-sheets/src/i18n/translation.json
@@ -375,5 +375,6 @@
"Trigger Column": "Trigger Column",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "Empty fields keep their current value."
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/i18n/zh.json b/packages/pieces/community/google-sheets/src/i18n/zh.json
index b4ed6a6c102..ed2c305076b 100644
--- a/packages/pieces/community/google-sheets/src/i18n/zh.json
+++ b/packages/pieces/community/google-sheets/src/i18n/zh.json
@@ -373,5 +373,6 @@
"Trigger Column": "触发列",
"Please note that there might be a delay of up to 3 minutes for the trigger to be fired, due to a delay from Google.": "请注意,由于谷歌的延迟,触发点可能会延迟3分钟。",
"Fire only when this column changes. Any Column fires on any cell.": "Fire only when this column changes. Any Column fires on any cell.",
- "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets."
+ "The spreadsheet to watch for new worksheets.": "The spreadsheet to watch for new worksheets.",
+ "Empty fields keep their current value.": "留空的字段保留当前值。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/clear-rows.ts b/packages/pieces/community/google-sheets/src/lib/actions/clear-rows.ts
index b35e8c95df7..616e494d766 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/clear-rows.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/clear-rows.ts
@@ -18,6 +18,22 @@ export const clearRowsAction = createAction({
'Blanks the cell contents of one row or a contiguous row range in a worksheet without removing the rows, so row numbers and downstream references stay stable — prefer Delete Row or Delete Multiple Rows when the rows themselves should disappear, and Clear Sheet when the whole sheet should be emptied. Requires a selected spreadsheet and worksheet plus a 1-based starting row; leaving the ending row empty clears only that single row. Idempotent — re-running over the same range leaves it equally empty, but the erased values cannot be recovered.',
idempotent: true,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'target_rows',
+ display: 'section',
+ label: 'Rows',
+ icon: 'markdown',
+ props: ['startingRow', 'endingRow'],
+ },
+ ],
props: {
...commonProps,
startingRow: Property.Number({
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/clear-sheet.ts b/packages/pieces/community/google-sheets/src/lib/actions/clear-sheet.ts
index 1f5812c8be3..5bd1ba5e445 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/clear-sheet.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/clear-sheet.ts
@@ -16,6 +16,22 @@ export const clearSheetAction = createAction({
idempotent: true,
},
displayName: 'Clear Sheet',
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'headers',
+ display: 'section',
+ label: 'Headers',
+ icon: 'tag',
+ props: ['is_first_row_headers', 'headerRow'],
+ },
+ ],
props: {
...commonProps,
is_first_row_headers: isFirstRowHeaderProp(),
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/create-column.ts b/packages/pieces/community/google-sheets/src/lib/actions/create-column.ts
index c10f6d7949b..d7e2bb230d3 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/create-column.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/create-column.ts
@@ -24,6 +24,22 @@ export const createColumnAction = createAction({
'Inserts a new column into a worksheet and writes a header name into its first row, either at a given column index or after the last existing column. Use when an agent needs to add a field to a sheet. Not idempotent — each call inserts another column.',
idempotent: false,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'new_column',
+ display: 'section',
+ label: 'New Column',
+ icon: 'tag',
+ props: ['columnName', 'columnIndex'],
+ },
+ ],
props: {
...commonProps,
columnName: Property.ShortText({
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/delete-multiple-rows.ts b/packages/pieces/community/google-sheets/src/lib/actions/delete-multiple-rows.ts
index efa81179fbb..b32d381d212 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/delete-multiple-rows.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/delete-multiple-rows.ts
@@ -17,6 +17,22 @@ export const deleteMultipleRowsAction = createAction({
'Permanently deletes rows from a worksheet in one batch, in either of two modes: a contiguous range given by starting and ending row, or a comma-separated list of specific 1-based row numbers. Use instead of Delete Row when several rows must go at once, and Clear Row(s) instead when the rows should stay in place with only their contents erased. Not idempotent — surviving rows renumber after each deletion, so repeating the same call removes different rows; re-resolve the targets before any retry.',
idempotent: false,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'target_rows',
+ display: 'section',
+ label: 'Rows',
+ icon: 'markdown',
+ props: ['mode', 'startingRow', 'endingRow', 'rowNumbers'],
+ },
+ ],
props: {
...commonProps,
mode: Property.StaticDropdown({
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/export-sheet.ts b/packages/pieces/community/google-sheets/src/lib/actions/export-sheet.ts
index 498c506de00..a31aae60e4b 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/export-sheet.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/export-sheet.ts
@@ -21,6 +21,22 @@ export const exportSheetAction = createAction({
idempotent: true,
},
auth: googleSheetsAuth,
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'export',
+ display: 'section',
+ label: 'Export',
+ icon: 'paperclip',
+ props: ['format', 'returnAsText'],
+ },
+ ],
props: {
...commonProps,
format: Property.StaticDropdown({
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/find-or-create-row.ts b/packages/pieces/community/google-sheets/src/lib/actions/find-or-create-row.ts
index 9bae5d50e9d..55cf3e179a7 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/find-or-create-row.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/find-or-create-row.ts
@@ -29,6 +29,29 @@ export const findOrCreateRowAction = createAction({
'Looks up the first row in a worksheet whose value in a chosen column matches a search value and returns it, or appends a new row from the supplied values when nothing matches, flagging which happened. Use instead of Add Row when the entry may already exist and duplicates must be avoided, and Find Rows when creation is not wanted. Matching is a case-insensitive substring test unless Exact Match is on; idempotent in practice — a second call finds the row the first one created, provided that row carries the search value in the searched column.',
idempotent: true,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['columnName', 'searchValue', 'matchCase', 'headerRow'],
+ },
+ {
+ key: 'new_row',
+ display: 'section',
+ label: 'New Row',
+ icon: 'text',
+ props: ['first_row_headers', 'values'],
+ },
+ ],
props: {
...commonProps,
columnName: columnNameProp(),
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/find-row-by-num.ts b/packages/pieces/community/google-sheets/src/lib/actions/find-row-by-num.ts
index 101b9f6f4b8..895d8acef14 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/find-row-by-num.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/find-row-by-num.ts
@@ -17,6 +17,22 @@ export const findRowByNumAction = createAction({
'Reads a single row from a worksheet by its row number, optionally keyed by header names instead of column letters. Use when an agent already knows the exact row to fetch. Read-only and idempotent.',
idempotent: true,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'target_row',
+ display: 'section',
+ label: 'Row',
+ icon: 'markdown',
+ props: ['rowNumber', 'headerRow'],
+ },
+ ],
props: {
...commonProps,
rowNumber: Property.Number({
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/find-rows.ts b/packages/pieces/community/google-sheets/src/lib/actions/find-rows.ts
index 0cf29276a4f..b17a78eb9fd 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/find-rows.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/find-rows.ts
@@ -23,6 +23,22 @@ export const findRowsAction = createAction({
idempotent: true,
},
displayName: 'Find Rows',
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'search',
+ display: 'section',
+ label: 'Search',
+ icon: 'filter',
+ props: ['columnName', 'searchValue', 'matchCase', 'numberOfRows', 'headerRow'],
+ },
+ ],
props: {
...commonProps,
columnName: columnNameProp(),
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/format-spreadsheet-row.ts b/packages/pieces/community/google-sheets/src/lib/actions/format-spreadsheet-row.ts
index cfc02bcb486..63b3798be95 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/format-spreadsheet-row.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/format-spreadsheet-row.ts
@@ -18,6 +18,29 @@ export const formatRowAction = createAction({
idempotent: true,
},
displayName: 'Format Row(s)',
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'target_rows',
+ display: 'section',
+ label: 'Rows',
+ icon: 'markdown',
+ props: ['startingRow', 'endingRow'],
+ },
+ {
+ key: 'style',
+ display: 'section',
+ label: 'Style',
+ icon: 'type',
+ props: ['bgColor', 'textColor', 'bold', 'italic', 'strikethrough'],
+ },
+ ],
props: {
...commonProps,
startingRow: Property.Number({
@@ -35,11 +58,13 @@ export const formatRowAction = createAction({
displayName: 'Background Color',
description: 'Provide a HEX color code (example: #FFD966)',
required: false,
+ width: 'half',
}),
textColor: Property.ShortText({
displayName: 'Text Color',
description: 'Provide a HEX color code (example: #FFD966)',
required: false,
+ width: 'half',
}),
bold: Property.Checkbox({
displayName: 'Bold',
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/get-rows.ts b/packages/pieces/community/google-sheets/src/lib/actions/get-rows.ts
index 6fd31b6bc69..3200de83b3b 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/get-rows.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/get-rows.ts
@@ -114,6 +114,29 @@ export const getRowsAction = createAction({
idempotent: false,
},
displayName: 'Get Next Rows',
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'target_rows',
+ display: 'section',
+ label: 'Rows',
+ icon: 'markdown',
+ props: ['startRow', 'groupSize', 'headerRow'],
+ },
+ {
+ key: 'memory',
+ display: 'section',
+ label: 'Memory',
+ icon: 'inbox',
+ props: ['markdown', 'memKey'],
+ },
+ ],
props: {
...commonProps,
startRow: Property.Number({
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/insert-multiple-rows.action.ts b/packages/pieces/community/google-sheets/src/lib/actions/insert-multiple-rows.action.ts
index 536dc7e3dce..65ec30f69e7 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/insert-multiple-rows.action.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/insert-multiple-rows.action.ts
@@ -36,6 +36,29 @@ export const insertMultipleRowsAction = createAction({
'Bulk-appends many rows to a worksheet in one call, accepting input as CSV, JSON, or per-column values. Use for batch inserts instead of calling Add Row repeatedly. Optional flags can overwrite existing data or skip duplicates keyed on a chosen column; in default append mode it is not idempotent — repeating it adds the rows again.',
idempotent: false,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'new_rows',
+ display: 'section',
+ label: 'New Rows',
+ icon: 'text',
+ props: ['input_type', 'headerRow', 'values'],
+ },
+ {
+ key: 'options',
+ display: 'section',
+ label: 'Options',
+ icon: 'sliders',
+ props: ['overwrite', 'check_for_duplicate', 'check_for_duplicate_column'],
+ },
+ ],
props: {
...commonProps,
input_type: Property.StaticDropdown({
@@ -43,20 +66,27 @@ export const insertMultipleRowsAction = createAction({
description: 'Select the format of the input values to be added into the worksheet.',
required: true,
defaultValue: 'column_names',
+ display: 'cards',
options: {
disabled: false,
options: [
{
value: 'csv',
label: 'CSV',
+ description: 'Line per row',
+ icon: 'file',
},
{
value: 'json',
label: 'JSON',
+ description: 'List of objects',
+ icon: 'code',
},
{
value: 'column_names',
label: 'Column Names',
+ description: 'Field per column',
+ icon: 'type',
},
],
},
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/insert-row-at-top.ts b/packages/pieces/community/google-sheets/src/lib/actions/insert-row-at-top.ts
index 785a52d2f91..7bfbf18734b 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/insert-row-at-top.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/insert-row-at-top.ts
@@ -26,6 +26,22 @@ export const insertRowAtTopAction = createAction({
'Inserts a blank row near the top of a worksheet and writes the supplied values into it, shifting every existing row below it down by one; the insertion point defaults to just under row 1 but can be moved with Insert After Row. Use when newest-first ordering matters — prefer Add Row to append at the bottom, which is cheaper and does not renumber existing rows. Not idempotent: each call inserts another row and shifts the rest down again.',
idempotent: false,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'new_row',
+ display: 'section',
+ label: 'New Row',
+ icon: 'text',
+ props: ['insertAfterRow', 'first_row_headers', 'values'],
+ },
+ ],
props: {
...commonProps,
first_row_headers: isFirstRowHeaderProp(),
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/insert-row.action.ts b/packages/pieces/community/google-sheets/src/lib/actions/insert-row.action.ts
index 623061f3837..a04e0f7e000 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/insert-row.action.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/insert-row.action.ts
@@ -32,6 +32,22 @@ export const insertRowAction = createAction({
idempotent: false,
},
displayName: 'Add Row',
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'new_row',
+ display: 'section',
+ label: 'New Row',
+ icon: 'text',
+ props: ['first_row_headers', 'values'],
+ },
+ ],
props: {
...commonProps,
first_row_headers: isFirstRowHeaderProp(),
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/read-data-range.ts b/packages/pieces/community/google-sheets/src/lib/actions/read-data-range.ts
index 31d44598e60..e330fd88d09 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/read-data-range.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/read-data-range.ts
@@ -23,6 +23,22 @@ export const readDataRangeAction = createAction({
'Reads raw cell values from a worksheet using an A1-notation range, where leaving the range empty reads the entire worksheet, with switchable orientation (one array per row or per column) and rendering (formatted text, unformatted values, or the underlying formulas). Use when an agent needs a specific block of cells or the formulas behind them; prefer Get All Rows or Find Rows when header-keyed row objects are wanted instead of positional arrays. Read-only and idempotent.',
idempotent: true,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'cells',
+ display: 'section',
+ label: 'Cells',
+ icon: 'markdown',
+ props: ['range', 'majorDimension', 'valueRenderOption'],
+ },
+ ],
props: {
...commonProps,
range: Property.ShortText({
@@ -37,11 +53,12 @@ export const readDataRangeAction = createAction({
description: 'Group the results one array per row, or one array per column.',
required: true,
defaultValue: Dimension.ROWS,
+ display: 'cards',
options: {
disabled: false,
options: [
- { label: 'Rows', value: Dimension.ROWS },
- { label: 'Columns', value: Dimension.COLUMNS },
+ { label: 'Rows', value: Dimension.ROWS, description: 'List per row', icon: 'text' },
+ { label: 'Columns', value: Dimension.COLUMNS, description: 'List per column', icon: 'markdown' },
],
},
}),
@@ -50,12 +67,13 @@ export const readDataRangeAction = createAction({
description: 'Return values as displayed, as raw values, or as formulas.',
required: true,
defaultValue: 'FORMATTED_VALUE',
+ display: 'cards',
options: {
disabled: false,
options: [
- { label: 'As displayed', value: 'FORMATTED_VALUE' },
- { label: 'Raw values', value: 'UNFORMATTED_VALUE' },
- { label: 'Formulas', value: 'FORMULA' },
+ { label: 'As displayed', value: 'FORMATTED_VALUE', description: 'Formatted text', icon: 'type' },
+ { label: 'Raw values', value: 'UNFORMATTED_VALUE', description: 'Unformatted', icon: 'text' },
+ { label: 'Formulas', value: 'FORMULA', description: 'Cell formulas', icon: 'code' },
],
},
}),
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/update-multiple-rows.ts b/packages/pieces/community/google-sheets/src/lib/actions/update-multiple-rows.ts
index c5e29d762c9..f714c1a1861 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/update-multiple-rows.ts
+++ b/packages/pieces/community/google-sheets/src/lib/actions/update-multiple-rows.ts
@@ -32,8 +32,28 @@ export const updateMultipleRowsAction = createAction({
'Overwrites several existing rows in one batch call, each targeted by its own row id. Use when an agent needs to apply edits to multiple known rows efficiently rather than calling Update Row repeatedly. Idempotent — re-running with the same row ids and values produces the same sheet state; rows without a row id are skipped.',
idempotent: true,
},
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['empty_fields_info', 'headerRow', 'values'],
+ },
+ ],
props: {
...commonProps,
+ empty_fields_info: Property.MarkDown({
+ value: 'Empty fields keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
values: Property.DynamicProperties({
auth: googleSheetsAuth,
displayName: 'Values',
diff --git a/packages/pieces/community/google-sheets/src/lib/actions/update-row.ts b/packages/pieces/community/google-sheets/src/lib/actions/update-row.ts
index 2af06fab157..01b1b04240f 100644
--- a/packages/pieces/community/google-sheets/src/lib/actions/update-row.ts
+++ b/packages/pieces/community/google-sheets/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 { areSheetIdsValid, createGoogleClient, Dimension, objectToArray, ValueInputOption } from '../common/common';
import { googleSheetsAuth } from '../common/common';
import { getWorkSheetName } from '../triggers/helpers';
@@ -19,6 +19,29 @@ export const updateRowAction = createAction({
idempotent: true,
},
displayName: 'Update Row',
+ propertyGroups: [
+ {
+ key: 'spreadsheet',
+ display: 'section',
+ label: 'Spreadsheet',
+ icon: 'file',
+ props: ['spreadsheetId', 'sheetId'],
+ },
+ {
+ key: 'target_row',
+ display: 'section',
+ label: 'Row',
+ icon: 'markdown',
+ props: ['row_id'],
+ },
+ {
+ key: 'changes',
+ display: 'section',
+ label: 'Changes',
+ icon: 'text',
+ props: ['empty_fields_info', 'first_row_headers', 'values'],
+ },
+ ],
props: {
...commonProps,
row_id: Property.Number({
@@ -26,6 +49,10 @@ export const updateRowAction = createAction({
description: 'The row number to update',
required: true,
}),
+ empty_fields_info: Property.MarkDown({
+ value: 'Empty fields keep their current value.',
+ variant: MarkdownVariant.INFO,
+ }),
first_row_headers: isFirstRowHeaderProp(),
values: rowValuesProp(),
},