From db1cf8a6db3bf1aaab7e319ff66a28ac2af3aecc Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 20 Aug 2025 21:01:37 -0700 Subject: [PATCH] fix(placeholder): fix starter block placeholder (#1071) --- apps/docs/content/docs/tools/microsoft_excel.mdx | 15 +++++++++------ apps/sim/blocks/blocks/starter.ts | 4 ++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/docs/content/docs/tools/microsoft_excel.mdx b/apps/docs/content/docs/tools/microsoft_excel.mdx index 38b37827e..4b4d0f1d7 100644 --- a/apps/docs/content/docs/tools/microsoft_excel.mdx +++ b/apps/docs/content/docs/tools/microsoft_excel.mdx @@ -115,8 +115,7 @@ Read data from a Microsoft Excel spreadsheet | Parameter | Type | Description | | --------- | ---- | ----------- | -| `success` | boolean | Operation success status | -| `output` | object | Excel spreadsheet data and metadata | +| `data` | object | Range data from the spreadsheet | ### `microsoft_excel_write` @@ -136,8 +135,11 @@ Write data to a Microsoft Excel spreadsheet | Parameter | Type | Description | | --------- | ---- | ----------- | -| `success` | boolean | Operation success status | -| `output` | object | Write operation results and metadata | +| `updatedRange` | string | The range that was updated | +| `updatedRows` | number | Number of rows that were updated | +| `updatedColumns` | number | Number of columns that were updated | +| `updatedCells` | number | Number of cells that were updated | +| `metadata` | object | Spreadsheet metadata | ### `microsoft_excel_table_add` @@ -155,8 +157,9 @@ Add new rows to a Microsoft Excel table | Parameter | Type | Description | | --------- | ---- | ----------- | -| `success` | boolean | Operation success status | -| `output` | object | Table add operation results and metadata | +| `index` | number | Index of the first row that was added | +| `values` | array | Array of rows that were added to the table | +| `metadata` | object | Spreadsheet metadata | diff --git a/apps/sim/blocks/blocks/starter.ts b/apps/sim/blocks/blocks/starter.ts index 836ac2a95..7a9ed26d4 100644 --- a/apps/sim/blocks/blocks/starter.ts +++ b/apps/sim/blocks/blocks/starter.ts @@ -5,7 +5,7 @@ export const StarterBlock: BlockConfig = { type: 'starter', name: 'Starter', description: 'Start workflow', - longDescription: 'Initiate your workflow manually with optional structured input for API calls.', + longDescription: 'Initiate your workflow manually with optional structured input.', category: 'blocks', bgColor: '#2FB3FF', icon: StartIcon, @@ -25,7 +25,7 @@ export const StarterBlock: BlockConfig = { // Structured Input format - visible if manual run is selected (advanced mode) { id: 'inputFormat', - title: 'Input Format (for API calls)', + title: 'Input Format', type: 'input-format', layout: 'full', description: