Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Enable usage as a tool for more nodes #12930

Merged
merged 6 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class ActionNetwork implements INodeType {
defaults: {
name: 'Action Network',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export class ActiveCampaign implements INodeType {
defaults: {
name: 'ActiveCampaign',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Adalo/Adalo.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class Adalo implements INodeType {
defaults: {
name: 'Adalo',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Affinity/Affinity.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class Affinity implements INodeType {
defaults: {
name: 'Affinity',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/AgileCrm/AgileCrm.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class AgileCrm implements INodeType {
defaults: {
name: 'Agile CRM',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class ApiTemplateIo implements INodeType {
defaults: {
name: 'APITemplate.io',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Asana/Asana.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class Asana implements INodeType {
defaults: {
name: 'Asana',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Aws/AwsLambda.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class AwsLambda implements INodeType {
defaults: {
name: 'AWS Lambda',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Aws/S3/V2/AwsS3V2.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class AwsS3V2 implements INodeType {
defaults: {
name: 'AWS S3',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Aws/SES/AwsSes.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class AwsSes implements INodeType {
defaults: {
name: 'AWS SES',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class AwsTextract implements INodeType {
defaults: {
name: 'AWS Textract',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class AwsTranscribe implements INodeType {
defaults: {
name: 'AWS Transcribe',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Brevo/Brevo.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class Brevo implements INodeType {
defaults: {
name: 'Brevo',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Bubble/Bubble.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class Bubble implements INodeType {
defaults: {
name: 'Bubble',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/ClickUp/ClickUp.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class ClickUp implements INodeType {
defaults: {
name: 'ClickUp',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class CoinGecko implements INodeType {
defaults: {
name: 'CoinGecko',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
properties: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Compression/Compression.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class Compression implements INodeType {
name: 'Compression',
color: '#408000',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
properties: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Crypto/Crypto.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class Crypto implements INodeType {
name: 'Crypto',
color: '#408000',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
properties: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/DeepL/DeepL.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class DeepL implements INodeType {
defaults: {
name: 'DeepL',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Dhl/Dhl.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class Dhl implements INodeType {
defaults: {
name: 'DHL',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Discord/v2/DiscordV2.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class DiscordV2 implements INodeType {
this.description = {
...baseDescription,
...versionDescription,
usableAsTool: true,
};
}

Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Dropbox/Dropbox.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class Dropbox implements INodeType {
defaults: {
name: 'Dropbox',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/E2eTest/E2eTest.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class E2eTest implements INodeType {
defaults: {
name: 'E2E Test',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
properties: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/ERPNext/ERPNext.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class ERPNext implements INodeType {
defaults: {
name: 'ERPNext',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class Elasticsearch implements INodeType {
defaults: {
name: 'Elasticsearch',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const versionDescription: INodeTypeDescription = {
activationHint:
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
},

usableAsTool: true,
inputs: [],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class ExecuteCommand implements INodeType {
name: 'Execute Command',
color: '#886644',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
properties: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class FacebookGraphApi implements INodeType {
defaults: {
name: 'Facebook Graph API',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/FileMaker/FileMaker.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class FileMaker implements INodeType {
defaults: {
name: 'FileMaker',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Ghost/Ghost.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class Ghost implements INodeType {
defaults: {
name: 'Ghost',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Git/Git.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class Git implements INodeType {
defaults: {
name: 'Git',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Github/Github.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class Github implements INodeType {
defaults: {
name: 'GitHub',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Gitlab/Gitlab.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class Gitlab implements INodeType {
defaults: {
name: 'GitLab',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class GoogleAds implements INodeType {
defaults: {
name: 'Google Ads',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class GoogleAnalyticsV2 implements INodeType {
this.description = {
...baseDescription,
...versionDescription,
usableAsTool: true,
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class GoogleBigQueryV2 implements INodeType {
this.description = {
...baseDescription,
...versionDescription,
usableAsTool: true,
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class GoogleBusinessProfile implements INodeType {
defaults: {
name: 'Google Business Profile',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
hints: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class GoogleChat implements INodeType {
defaults: {
name: 'Google Chat',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
webhooks: sendAndWaitWebhooksDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export class GoogleCloudStorage implements INodeType {
defaults: {
name: 'Google Cloud Storage',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class GoogleContacts implements INodeType {
defaults: {
name: 'Google Contacts',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class GoogleFirebaseCloudFirestore implements INodeType {
defaults: {
name: 'Google Cloud Firestore',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class GoogleFirebaseRealtimeDatabase implements INodeType {
defaults: {
name: 'Google Cloud Realtime Database',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class GSuiteAdmin implements INodeType {
defaults: {
name: 'Google Workspace Admin',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class GoogleSlides implements INodeType {
defaults: {
name: 'Google Slides',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class GoogleTasks implements INodeType {
defaults: {
name: 'Google Tasks',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class GoogleTranslate implements INodeType {
defaults: {
name: 'Google Translate',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class YouTube implements INodeType {
defaults: {
name: 'YouTube',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Gotify/Gotify.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class Gotify implements INodeType {
defaults: {
name: 'Gotify',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Grafana/Grafana.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class Grafana implements INodeType {
defaults: {
name: 'Grafana',
},
usableAsTool: true,
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
credentials: [
Expand Down
Loading
Loading