From f80d1f74b9f4744c2432715584e43d122db92e8e Mon Sep 17 00:00:00 2001 From: caoxing Date: Wed, 8 Jul 2026 16:37:49 +0800 Subject: [PATCH] fix(zapier): address publishing metadata feedback Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/zapier/package.json | 2 +- packages/zapier/src/authentication.ts | 7 ++++--- packages/zapier/src/creates/api_request.ts | 3 +-- packages/zapier/src/creates/create_or_update_record.ts | 2 +- packages/zapier/src/creates/create_record.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/zapier/package.json b/packages/zapier/package.json index 3e9fa6f..51dbb74 100644 --- a/packages/zapier/package.json +++ b/packages/zapier/package.json @@ -1,7 +1,7 @@ { "name": "@teable/zapier", "version": "1.0.0", - "description": "Teable integration for Zapier — list/search, create, update and watch records in a Teable base.", + "description": "Teable is a no-code database platform for building collaborative apps, managing structured data, and automating workflows.", "main": "dist/index.js", "private": true, "scripts": { diff --git a/packages/zapier/src/authentication.ts b/packages/zapier/src/authentication.ts index 429d21f..72d91fb 100644 --- a/packages/zapier/src/authentication.ts +++ b/packages/zapier/src/authentication.ts @@ -96,10 +96,11 @@ export default { }, fields: [], test, - // Show the account identity (like Airtable does) from the test() result — - // email first, falling back to name, then a static label. + // Show the account identity from the test() result — email first, then name. + // If neither is available, leave the connection label empty instead of using + // a hard-coded app name. connectionLabel: (z: ZObject, bundle: Bundle) => { const user = (bundle.inputData || {}) as { name?: string; email?: string }; - return user.email || user.name || 'Teable'; + return user.email || user.name; }, }; diff --git a/packages/zapier/src/creates/api_request.ts b/packages/zapier/src/creates/api_request.ts index 5c88b1a..becb563 100644 --- a/packages/zapier/src/creates/api_request.ts +++ b/packages/zapier/src/creates/api_request.ts @@ -51,8 +51,7 @@ export default { noun: 'API Request', display: { label: 'API Request (Beta)', - description: - 'An advanced action that makes a raw, authenticated HTTP request to the Teable API — useful for endpoints this integration does not cover yet.', + description: 'Makes a raw, authenticated HTTP request to an API endpoint.', }, operation: { inputFields: [ diff --git a/packages/zapier/src/creates/create_or_update_record.ts b/packages/zapier/src/creates/create_or_update_record.ts index 45f7bdc..a73bb9b 100644 --- a/packages/zapier/src/creates/create_or_update_record.ts +++ b/packages/zapier/src/creates/create_or_update_record.ts @@ -113,7 +113,7 @@ export default { noun: 'Record', display: { label: 'Create or Update Record', - description: 'Find a record by a match field and update it, or create a new one.', + description: 'Finds a record by a match field and updates it, or creates a new one.', }, operation: { inputFields: [ diff --git a/packages/zapier/src/creates/create_record.ts b/packages/zapier/src/creates/create_record.ts index 2c76057..b22c529 100644 --- a/packages/zapier/src/creates/create_record.ts +++ b/packages/zapier/src/creates/create_record.ts @@ -40,7 +40,7 @@ export default { noun: 'Record', display: { label: 'Create Record', - description: 'Creates a new record in a Teable table.', + description: 'Creates a new record.', }, operation: { inputFields: [