Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/zapier/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 4 additions & 3 deletions packages/zapier/src/authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
};
3 changes: 1 addition & 2 deletions packages/zapier/src/creates/api_request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion packages/zapier/src/creates/create_or_update_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion packages/zapier/src/creates/create_record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
Loading