Skip to content

Self-improving AI Employees for everyone

feat(schema): Wave 8 - bulk-slim 16 frontend nodeDefinitions files (-4459 LOC)

trohitg97be2569b6da
diff --git a/client/src/nodeDefinitions/aiAgentNodes.ts b/client/src/nodeDefinitions/aiAgentNodes.ts
index bd32f58b..990f3db6 100644
--- a/client/src/nodeDefinitions/aiAgentNodes.ts
+++ b/client/src/nodeDefinitions/aiAgentNodes.ts
@@ -3,7 +3,6 @@ import {
INodeTypeDescription,
NodeConnectionType
} from '../types/INodeProperties';
-import { AI_PROVIDER_OPTIONS } from './aiModelNodes';
// ============================================================================
// AI AGENT AND CHAT NODES
@@ -58,105 +57,8 @@ export const aiAgentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Agent output'
}],
- properties: [
- {
- displayName: 'AI Provider',
- name: 'provider',
- type: 'options',
- options: AI_PROVIDER_OPTIONS,
- default: 'openai',
- description: 'The AI provider to use (configure API keys in Credentials)'
- },
- {
- displayName: 'Model',
- name: 'model',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'Select a model...',
- description: 'AI model to use for the agent',
- typeOptions: {
- dynamicOptions: true,
- dependsOn: ['provider']
- }
- },
- {
- displayName: 'Prompt',
- name: 'prompt',
- type: 'string',
- default: '{{ $json.chatInput }}',
- required: true,
- typeOptions: {
- rows: 4
- },
- description: 'The prompt template for the AI agent',
- placeholder: 'Enter your prompt or use template variables...'
- },
- {
- displayName: 'System Message',
- name: 'systemMessage',
- type: 'string',
- default: 'You are a helpful assistant',
- typeOptions: {
- rows: 3
- },
- description: 'Define the behavior and personality of the AI agent'
- },
- {
- displayName: 'Options',
- name: 'options',
- type: 'collection',
- placeholder: 'Add Option',
- default: {},
- options: [
- {
- displayName: 'Temperature',
- name: 'temperature',
- type: 'number',
- default: 0.7,
- typeOptions: { minValue: 0, maxValue: 2, numberStepSize: 0.1 },
- description: 'Controls randomness in responses'
- },
- {
- displayName: 'Maximum Tokens',
- name: 'maxTokens',
- type: 'number',
- default: 4096,
- typeOptions: { minValue: 1, maxValue: 200000 },
- description: 'Maximum number of tokens to generate'
- },
- {
- displayName: 'Thinking/Reasoning',
- name: 'thinkingEnabled',
- type: 'boolean',
- default: false,
- description: 'Enable extended thinking for supported providers (Anthropic, OpenAI o-series, Gemini, Groq, Cerebras)'
- },
- {
- displayName: 'Thinking Budget',
- name: 'thinkingBudget',
- type: 'number',
- default: 2048,
- typeOptions: { minValue: 1024, maxValue: 16000 },
- description: 'Token budget for thinking (Claude, Gemini, Cerebras)',
- displayOptions: { show: { thinkingEnabled: [true] } }
- },
- {
- displayName: 'Reasoning Effort',
- name: 'reasoningEffort',
- type: 'options',
- options: [
- { name: 'Low', value: 'low' },
- { name: 'Medium', value: 'medium' },
- { name: 'High', value: 'high' }
- ],
- default: 'medium',
- description: 'Reasoning effort level (OpenAI o-series, Groq)',
- displayOptions: { show: { thinkingEnabled: [true] } }
- }
- ] as any
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Zeenie Agent Node - Conversational AI agent with skill-based tool calling
@@ -207,100 +109,8 @@ export const aiAgentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'response, model, provider, timestamp'
}],
- properties: [
- {
- displayName: 'AI Provider',
- name: 'provider',
- type: 'options',
- options: AI_PROVIDER_OPTIONS,
- default: 'openai',
- description: 'The AI provider to use (configure API keys in Credentials)'
- },
- {
- displayName: 'Model',
- name: 'model',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'Select a model...',
- description: 'AI model to use for the chat',
- typeOptions: {
- dynamicOptions: true,
- dependsOn: ['provider']
- }
- },
- {
- displayName: 'Prompt',
- name: 'prompt',
- type: 'string',
- default: '',
- typeOptions: { rows: 4 },
- description: 'The message to send to the AI. Use {{chatTrigger.message}} or leave empty to auto-use connected node output.',
- placeholder: '{{chatTrigger.message}}'
- },
- {
- displayName: 'System Message',
- name: 'systemMessage',
- type: 'string',
- default: 'You are a helpful assistant.',
- typeOptions: { rows: 3 },
- description: 'Define the behavior and personality of the AI agent'
- },
- {
- displayName: 'Options',
- name: 'options',
- type: 'collection',
- placeholder: 'Add Option',
- default: {},
- options: [
- {
- displayName: 'Temperature',
- name: 'temperature',
- type: 'number',
- default: 0.7,
- typeOptions: { minValue: 0, maxValue: 2, numberStepSize: 0.1 },
- description: 'Controls randomness in responses'
- },
- {
- displayName: 'Maximum Tokens',
- name: 'maxTokens',
- type: 'number',
- default: 4096,
- typeOptions: { minValue: 1, maxValue: 200000 },
- description: 'Maximum number of tokens to generate'
- },
- {
- displayName: 'Thinking/Reasoning',
- name: 'thinkingEnabled',
- type: 'boolean',
- default: false,
- description: 'Enable extended thinking for supported providers (Anthropic, OpenAI o-series, Gemini, Groq, Cerebras)'
- },
- {
- displayName: 'Thinking Budget',
- name: 'thinkingBudget',
- type: 'number',
- default: 2048,
- typeOptions: { minValue: 1024, maxValue: 16000 },
- description: 'Token budget for thinking (Claude, Gemini, Cerebras)',
- displayOptions: { show: { thinkingEnabled: [true] } }
- },
- {
- displayName: 'Reasoning Effort',
- name: 'reasoningEffort',
- type: 'options',
- options: [
- { name: 'Low', value: 'low' },
- { name: 'Medium', value: 'medium' },
- { name: 'High', value: 'high' }
- ],
- default: 'medium',
- description: 'Reasoning effort level (OpenAI o-series, Groq)',
- displayOptions: { show: { thinkingEnabled: [true] } }
- }
- ] as any
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Simple Memory Node - conversation history storage for AI agents
@@ -321,57 +131,8 @@ export const aiAgentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'session_id, messages, message_count'
}],
- properties: [
- {
- displayName: 'Session ID (Override)',
- name: 'sessionId',
- type: 'string',
- default: '',
- required: false,
- description: 'Leave empty to auto-use connected agent ID. Set manually to share memory across agents.',
- placeholder: 'Auto (uses agent ID)'
- },
- {
- displayName: 'Window Size',
- name: 'windowSize',
- type: 'number',
- default: 100,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Number of message pairs to keep in short-term memory (uses global default from Settings)'
- },
- {
- displayName: 'Conversation History',
- name: 'memoryContent',
- type: 'string',
- default: '# Conversation History\n\n*No messages yet.*\n',
- typeOptions: {
- rows: 15,
- editor: 'code',
- editorLanguage: 'markdown'
- },
- description: 'Recent conversation history (editable)'
- },
- {
- displayName: 'Enable Long-Term Memory',
- name: 'longTermEnabled',
- type: 'boolean',
- default: false,
- description: 'Archive old messages to vector DB for semantic retrieval'
- },
- {
- displayName: 'Retrieval Count',
- name: 'retrievalCount',
- type: 'number',
- default: 3,
- typeOptions: { minValue: 1, maxValue: 10 },
- description: 'Number of relevant memories to retrieve from long-term storage',
- displayOptions: {
- show: {
- longTermEnabled: [true]
- }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
@@ -380,4 +141,4 @@ export const aiAgentNodes: Record<string, INodeTypeDescription> = {
// ============================================================================
// List of AI-related node types for easy identification (chat models removed - now in aiModelNodes.ts)
-export const AI_NODE_TYPES = ['aiAgent', 'chatAgent', 'simpleMemory'];
\ No newline at end of file
+export const AI_NODE_TYPES = ['aiAgent', 'chatAgent', 'simpleMemory'];
diff --git a/client/src/nodeDefinitions/androidServiceNodes.ts b/client/src/nodeDefinitions/androidServiceNodes.ts
index 8279813c..ab22e3ee 100644
--- a/client/src/nodeDefinitions/androidServiceNodes.ts
+++ b/client/src/nodeDefinitions/androidServiceNodes.ts
@@ -62,59 +62,8 @@ function createAndroidServiceNode(config: {
description: 'Connect to Android Toolkit (top handle)'
}
],
- properties: [
- // Hidden service_id - automatically set based on node type
- {
- displayName: 'Service ID',
- name: 'service_id',
- type: 'hidden',
- default: config.serviceId,
- required: true
- },
-
- // Hidden Android device connection settings - use defaults
- {
- displayName: 'Android Host',
- name: 'android_host',
- type: 'hidden',
- default: 'localhost',
- required: true
- },
-
- {
- displayName: 'Android Port',
- name: 'android_port',
- type: 'hidden',
- default: 8888,
- required: true
- },
-
- // Display label for this service node
- {
- displayName: 'Label',
- name: 'label',
- type: 'string',
- default: config.displayName,
- required: false,
- description: 'Custom label for this node instance'
- },
-
- // Dynamic Action field - loads options based on node type
- {
- displayName: 'Action',
- name: 'action',
- type: 'options',
- typeOptions: {
- loadOptionsMethod: 'getAndroidServiceActions'
- },
- options: [],
- default: config.defaultAction,
- required: true,
- description: `Action to perform on ${config.displayName}`
- },
- // Add any additional properties for this specific node
- ...(config.additionalProperties || [])
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
methods: {
loadOptions: {
async getAndroidServiceActions(this: any): Promise<Array<{name: string, value: string, description?: string}>> {
diff --git a/client/src/nodeDefinitions/apifyNodes.ts b/client/src/nodeDefinitions/apifyNodes.ts
index b1ca71b7..74c2dd3e 100644
--- a/client/src/nodeDefinitions/apifyNodes.ts
+++ b/client/src/nodeDefinitions/apifyNodes.ts
@@ -43,206 +43,8 @@ export const apifyNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== ACTOR SELECTION =====
- {
- displayName: 'Actor',
- name: 'actorId',
- type: 'options',
- options: [
- { name: 'Instagram Scraper', value: 'apify/instagram-scraper' },
- { name: 'TikTok Scraper', value: 'clockworks/tiktok-scraper' },
- { name: 'Twitter/X Scraper', value: 'apidojo/tweet-scraper' },
- { name: 'LinkedIn Profile Scraper', value: 'curious_coder/linkedin-profile-scraper' },
- { name: 'Facebook Posts Scraper', value: 'apify/facebook-posts-scraper' },
- { name: 'YouTube Scraper', value: 'apify/youtube-scraper' },
- { name: 'Google Search Scraper', value: 'apify/google-search-scraper' },
- { name: 'Google Maps Scraper', value: 'apify/google-maps-scraper' },
- { name: 'Website Content Crawler', value: 'apify/website-content-crawler' },
- { name: 'Web Scraper', value: 'apify/web-scraper' },
- { name: 'Custom Actor ID', value: 'custom' }
- ],
- default: 'apify/instagram-scraper',
- required: true,
- description: 'Select a pre-built Apify actor or enter custom actor ID'
- },
-
- // ===== CUSTOM ACTOR ID (shown when 'custom' selected) =====
- {
- displayName: 'Custom Actor ID',
- name: 'customActorId',
- type: 'string',
- default: '',
- placeholder: 'username/actor-name or actor-id',
- description: 'Enter the actor ID from Apify Store (e.g., apify/cheerio-scraper)',
- displayOptions: {
- show: { actorId: ['custom'] }
- }
- },
-
- // ===== ACTOR INPUT (JSON) =====
- {
- displayName: 'Actor Input (JSON)',
- name: 'actorInput',
- type: 'json',
- default: '{}',
- typeOptions: { rows: 6 },
- description: 'Input parameters for the actor in JSON format. Each actor has different input schema.'
- },
-
- // ===== QUICK INPUT HELPERS (Instagram) =====
- {
- displayName: 'Instagram URLs',
- name: 'instagramUrls',
- type: 'string',
- default: '',
- placeholder: 'https://instagram.com/username, https://instagram.com/p/...',
- description: 'Comma-separated Instagram profile or post URLs',
- displayOptions: {
- show: { actorId: ['apify/instagram-scraper'] }
- }
- },
-
- // ===== QUICK INPUT HELPERS (TikTok) =====
- {
- displayName: 'TikTok Profiles',
- name: 'tiktokProfiles',
- type: 'string',
- default: '',
- placeholder: 'username1, username2',
- description: 'Comma-separated TikTok usernames to scrape',
- displayOptions: {
- show: { actorId: ['clockworks/tiktok-scraper'] }
- }
- },
- {
- displayName: 'TikTok Hashtags',
- name: 'tiktokHashtags',
- type: 'string',
- default: '',
- placeholder: 'trending, fyp',
- description: 'Comma-separated TikTok hashtags to scrape (without #)',
- displayOptions: {
- show: { actorId: ['clockworks/tiktok-scraper'] }
- }
- },
-
- // ===== QUICK INPUT HELPERS (Twitter) =====
- {
- displayName: 'Twitter Search Terms',
- name: 'twitterSearchTerms',
- type: 'string',
- default: '',
- placeholder: 'AI automation, #tech',
- description: 'Comma-separated search terms or hashtags',
- displayOptions: {
- show: { actorId: ['apidojo/tweet-scraper'] }
- }
- },
- {
- displayName: 'Twitter Handles',
- name: 'twitterHandles',
- type: 'string',
- default: '',
- placeholder: 'elonmusk, openai',
- description: 'Comma-separated Twitter usernames (without @)',
- displayOptions: {
- show: { actorId: ['apidojo/tweet-scraper'] }
- }
- },
-
- // ===== QUICK INPUT HELPERS (Google Search) =====
- {
- displayName: 'Search Query',
- name: 'googleSearchQuery',
- type: 'string',
- default: '',
- placeholder: 'best AI tools 2026',
- description: 'Google search query',
- displayOptions: {
- show: { actorId: ['apify/google-search-scraper'] }
- }
- },
- {
- displayName: 'Pages to Scrape',
- name: 'googleSearchPages',
- type: 'number',
- default: 1,
- typeOptions: { minValue: 1, maxValue: 10 },
- description: 'Number of search result pages (10 results per page)',
- displayOptions: {
- show: { actorId: ['apify/google-search-scraper'] }
- }
- },
-
- // ===== QUICK INPUT HELPERS (Web Crawler) =====
- {
- displayName: 'Start URLs',
- name: 'crawlerStartUrls',
- type: 'string',
- default: '',
- placeholder: 'https://example.com, https://docs.example.com',
- description: 'Comma-separated URLs to start crawling from',
- displayOptions: {
- show: { actorId: ['apify/website-content-crawler'] }
- }
- },
- {
- displayName: 'Max Crawl Depth',
- name: 'crawlerMaxDepth',
- type: 'number',
- default: 2,
- typeOptions: { minValue: 0, maxValue: 10 },
- description: 'Maximum link depth to crawl (0 = start URLs only)',
- displayOptions: {
- show: { actorId: ['apify/website-content-crawler'] }
- }
- },
- {
- displayName: 'Max Pages',
- name: 'crawlerMaxPages',
- type: 'number',
- default: 50,
- typeOptions: { minValue: 1, maxValue: 1000 },
- description: 'Maximum number of pages to crawl',
- displayOptions: {
- show: { actorId: ['apify/website-content-crawler'] }
- }
- },
-
- // ===== EXECUTION OPTIONS =====
- {
- displayName: 'Max Results',
- name: 'maxResults',
- type: 'number',
- default: 100,
- typeOptions: { minValue: 1, maxValue: 10000 },
- description: 'Maximum number of items to return from the dataset'
- },
- {
- displayName: 'Timeout (seconds)',
- name: 'timeout',
- type: 'number',
- default: 300,
- typeOptions: { minValue: 30, maxValue: 3600 },
- description: 'Maximum time to wait for actor completion (30s - 1 hour)'
- },
- {
- displayName: 'Memory (MB)',
- name: 'memory',
- type: 'options',
- options: [
- { name: '128 MB', value: 128 },
- { name: '256 MB', value: 256 },
- { name: '512 MB', value: 512 },
- { name: '1 GB', value: 1024 },
- { name: '2 GB', value: 2048 },
- { name: '4 GB', value: 4096 }
- ],
- default: 1024,
- description: 'Memory allocation for the actor run (affects speed and cost)'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/browserNodes.ts b/client/src/nodeDefinitions/browserNodes.ts
index 2bc5fdf1..3dba7883 100644
--- a/client/src/nodeDefinitions/browserNodes.ts
+++ b/client/src/nodeDefinitions/browserNodes.ts
@@ -40,266 +40,8 @@ export const browserNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle',
},
],
- properties: [
- // ===== TOOL CONFIG =====
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'browser',
- description: 'Name of this tool when used by AI Agent',
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Control a web browser. Use snapshot to see the page (returns accessibility tree with @eN refs). Then click/type/fill with those refs. Workflow: navigate -> snapshot -> click/fill -> snapshot.',
- typeOptions: { rows: 3 },
- description: 'Description shown to AI Agent for tool usage',
- },
-
- // ===== OPERATION =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- default: 'navigate',
- options: [
- { name: 'Navigate', value: 'navigate', description: 'Open a URL' },
- { name: 'Click', value: 'click', description: 'Click an element' },
- { name: 'Type', value: 'type', description: 'Type text keystroke by keystroke' },
- { name: 'Fill', value: 'fill', description: 'Clear and fill an input field' },
- { name: 'Screenshot', value: 'screenshot', description: 'Take a screenshot' },
- { name: 'Snapshot', value: 'snapshot', description: 'Get accessibility tree with @eN refs (AI-optimized)' },
- { name: 'Get Text', value: 'get_text', description: 'Extract text from an element' },
- { name: 'Get HTML', value: 'get_html', description: 'Extract innerHTML from an element' },
- { name: 'Evaluate JS', value: 'eval', description: 'Execute JavaScript in page context' },
- { name: 'Wait', value: 'wait', description: 'Wait for an element to appear' },
- { name: 'Scroll', value: 'scroll', description: 'Scroll the page' },
- { name: 'Select', value: 'select', description: 'Select a dropdown option' },
- { name: 'Console Logs', value: 'console', description: 'Get browser console output (log, warn, error)' },
- { name: 'Page Errors', value: 'errors', description: 'Get JavaScript errors from the page' },
- { name: 'Batch', value: 'batch', description: 'Execute multiple commands' },
- ],
- description: 'Browser operation to perform',
- },
-
- // ===== CONDITIONAL PARAMETERS =====
- {
- displayName: 'URL',
- name: 'url',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'https://example.com',
- description: 'URL to navigate to',
- displayOptions: { show: { operation: ['navigate'] } },
- },
- {
- displayName: 'Selector',
- name: 'selector',
- type: 'string',
- default: '',
- required: true,
- placeholder: '@e1 or #login-button or .submit-btn',
- description: 'CSS selector or @eN ref from snapshot',
- displayOptions: { show: { operation: ['click', 'type', 'fill', 'get_text', 'get_html', 'wait', 'select'] } },
- },
- {
- displayName: 'Text',
- name: 'text',
- type: 'string',
- default: '',
- placeholder: 'Text to type',
- description: 'Text to type into the element',
- displayOptions: { show: { operation: ['type'] } },
- },
- {
- displayName: 'Value',
- name: 'value',
- type: 'string',
- default: '',
- placeholder: 'Value to fill or option to select',
- description: 'Value for fill or select operation',
- displayOptions: { show: { operation: ['fill', 'select'] } },
- },
- {
- displayName: 'Full Page',
- name: 'fullPage',
- type: 'boolean',
- default: false,
- description: 'Capture the full scrollable page',
- displayOptions: { show: { operation: ['screenshot'] } },
- },
- {
- displayName: 'Annotate',
- name: 'annotate',
- type: 'boolean',
- default: false,
- description: 'Add numbered labels to interactive elements (useful for AI vision models)',
- displayOptions: { show: { operation: ['screenshot'] } },
- },
- {
- displayName: 'Format',
- name: 'screenshotFormat',
- type: 'options',
- default: 'png',
- options: [
- { name: 'PNG', value: 'png' },
- { name: 'JPEG', value: 'jpeg' },
- ],
- description: 'Screenshot image format',
- displayOptions: { show: { operation: ['screenshot'] } },
- },
- {
- displayName: 'Quality',
- name: 'screenshotQuality',
- type: 'number',
- default: 80,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'JPEG quality (1-100, only used for JPEG format)',
- displayOptions: { show: { operation: ['screenshot'], screenshotFormat: ['jpeg'] } },
- },
- {
- displayName: 'JavaScript Expression',
- name: 'expression',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'document.title',
- typeOptions: { rows: 3 },
- description: 'JavaScript to execute in page context',
- displayOptions: { show: { operation: ['eval'] } },
- },
- {
- displayName: 'Direction',
- name: 'direction',
- type: 'options',
- default: 'down',
- options: [
- { name: 'Down', value: 'down' },
- { name: 'Up', value: 'up' },
- { name: 'Left', value: 'left' },
- { name: 'Right', value: 'right' },
- ],
- description: 'Scroll direction',
- displayOptions: { show: { operation: ['scroll'] } },
- },
- {
- displayName: 'Amount (px)',
- name: 'amount',
- type: 'number',
- default: 500,
- typeOptions: { minValue: 100, maxValue: 5000 },
- description: 'Pixels to scroll',
- displayOptions: { show: { operation: ['scroll'] } },
- },
- {
- displayName: 'Commands (JSON)',
- name: 'commands',
- type: 'string',
- default: '[]',
- typeOptions: { rows: 5 },
- placeholder: '[["open", "https://example.com"], ["snapshot", "-i"]]',
- description: 'JSON array of commands: [["command", "arg1", "arg2"], ...]',
- displayOptions: { show: { operation: ['batch'] } },
- },
-
- // ===== ADVANCED =====
- {
- displayName: 'Show Browser',
- name: 'headed',
- type: 'boolean',
- default: true,
- description: 'Open browser in visible (headed) mode instead of headless',
- },
- {
- displayName: 'Auto Connect',
- name: 'autoConnect',
- type: 'boolean',
- default: false,
- description: 'Auto-discover and connect to an already-running Chrome instance (reuses auth state)',
- },
- {
- displayName: 'Browser',
- name: 'browser',
- type: 'options',
- default: 'chrome',
- options: [
- { name: 'Google Chrome', value: 'chrome', description: 'System-installed Google Chrome (auto-detected)' },
- { name: 'Microsoft Edge', value: 'edge', description: 'System-installed Microsoft Edge (auto-detected)' },
- { name: 'Chromium', value: 'chromium', description: 'System-installed Chromium (auto-detected)' },
- { name: 'Bundled Chromium', value: 'bundled_explicit', description: 'Use agent-browser built-in Chromium (no system browser)' },
- { name: 'Custom Path', value: 'custom', description: 'Specify a custom executable path' },
- ],
- description: 'Which browser to use for automation',
- },
- {
- displayName: 'Browser Path',
- name: 'executablePath',
- type: 'string',
- default: '',
- placeholder: '/usr/bin/google-chrome or C:\\...\\chrome.exe',
- description: 'Custom browser executable path',
- displayOptions: { show: { browser: ['custom'] } },
- },
- {
- displayName: 'New Window',
- name: 'newWindow',
- type: 'boolean',
- default: true,
- description: 'Open a new browser window instead of a tab in an existing instance',
- displayOptions: { show: { browser: ['chrome', 'edge', 'chromium', 'custom'] } },
- },
- {
- displayName: 'Chrome Profile',
- name: 'chromeProfile',
- type: 'string',
- default: '',
- placeholder: 'Default',
- description: 'Chrome profile name to reuse login state (e.g., Default, Profile 1)',
- },
- {
- displayName: 'Action Delay (ms)',
- name: 'actionDelay',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0, maxValue: 10000 },
- description: 'Delay before each action in milliseconds. Simulates human pacing. 0 = instant.',
- },
- {
- displayName: 'User Agent',
- name: 'userAgent',
- type: 'string',
- default: '',
- placeholder: 'Mozilla/5.0 ...',
- description: 'Custom user agent string. Empty = Chrome default.',
- },
- {
- displayName: 'Proxy',
- name: 'proxy',
- type: 'string',
- default: '',
- placeholder: 'http://user:pass@host:port',
- description: 'Proxy server URL for all browser requests.',
- },
- {
- displayName: 'Session',
- name: 'session',
- type: 'string',
- default: '',
- placeholder: 'Auto-derived from execution ID',
- description: 'Browser session name. Leave empty for auto-derived session (shares browser state across chained nodes)',
- },
- {
- displayName: 'Timeout',
- name: 'timeout',
- type: 'number',
- default: 30,
- typeOptions: { minValue: 5, maxValue: 300 },
- description: 'Command timeout in seconds',
- },
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
};
diff --git a/client/src/nodeDefinitions/crawleeNodes.ts b/client/src/nodeDefinitions/crawleeNodes.ts
index de8653d7..cef82240 100644
--- a/client/src/nodeDefinitions/crawleeNodes.ts
+++ b/client/src/nodeDefinitions/crawleeNodes.ts
@@ -5,7 +5,6 @@ import {
INodeTypeDescription,
NodeConnectionType,
} from '../types/INodeProperties';
-import { PROXY_PARAMETERS } from './proxyNodes';
export const crawleeNodes: Record<string, INodeTypeDescription> = {
crawleeScraper: {
@@ -39,215 +38,8 @@ export const crawleeNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle',
},
],
- properties: [
- // ===== TOOL CONFIG =====
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'web_reader',
- description: 'Name of this tool when used by AI Agent',
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default:
- 'Read and extract content from web pages. Fetches page text, links, and data. You MUST use this tool when asked to read or fetch any URL.',
- description: 'Description shown to AI Agent',
- },
-
- // ===== CRAWLER TYPE =====
- {
- displayName: 'Crawler Type',
- name: 'crawlerType',
- type: 'options',
- options: [
- { name: 'BeautifulSoup (Static HTML)', value: 'beautifulsoup' },
- { name: 'Playwright (Browser)', value: 'playwright' },
- { name: 'Adaptive (Auto-detect)', value: 'adaptive' },
- ],
- default: 'beautifulsoup',
- description:
- 'Crawler engine. BeautifulSoup for static pages, Playwright for JS-rendered content, Adaptive to auto-detect.',
- },
-
- // ===== URL =====
- {
- displayName: 'URL',
- name: 'url',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'https://example.com',
- description: 'Starting URL to scrape',
- },
-
- // ===== SCRAPING MODE =====
- {
- displayName: 'Mode',
- name: 'mode',
- type: 'options',
- options: [
- { name: 'Single Page', value: 'single' },
- { name: 'Crawl Links', value: 'crawl' },
- ],
- default: 'single',
- description:
- 'Single page scraping or follow links to crawl multiple pages',
- },
-
- // ===== CONTENT EXTRACTION =====
- {
- displayName: 'CSS Selector',
- name: 'cssSelector',
- type: 'string',
- default: '',
- placeholder: 'article, .content, #main',
- description:
- 'CSS selector to extract specific content. Leave empty for full page text.',
- },
- {
- displayName: 'Extract Links',
- name: 'extractLinks',
- type: 'boolean',
- default: false,
- description: 'Include all discovered links in the output',
- },
-
- // ===== CRAWL OPTIONS (shown when mode = crawl) =====
- {
- displayName: 'Link Selector',
- name: 'linkSelector',
- type: 'string',
- default: '',
- placeholder: 'a[href]',
- description:
- 'CSS selector for links to follow. Leave empty to follow all links.',
- displayOptions: { show: { mode: ['crawl'] } },
- },
- {
- displayName: 'URL Pattern',
- name: 'urlPattern',
- type: 'string',
- default: '',
- placeholder: 'https://example.com/blog/**',
- description:
- 'Glob pattern to filter which URLs to crawl. Leave empty for same-domain only.',
- displayOptions: { show: { mode: ['crawl'] } },
- },
- {
- displayName: 'Max Pages',
- name: 'maxPages',
- type: 'number',
- default: 10,
- typeOptions: { minValue: 1, maxValue: 1000 },
- description: 'Maximum number of pages to scrape (1-1000)',
- displayOptions: { show: { mode: ['crawl'] } },
- },
- {
- displayName: 'Max Depth',
- name: 'maxDepth',
- type: 'number',
- default: 2,
- typeOptions: { minValue: 0, maxValue: 10 },
- description: 'Maximum link depth to follow (0 = start URL only)',
- displayOptions: { show: { mode: ['crawl'] } },
- },
-
- // ===== BROWSER OPTIONS (Playwright/Adaptive only) =====
- {
- displayName: 'Wait For Selector',
- name: 'waitForSelector',
- type: 'string',
- default: '',
- placeholder: '.loaded-content',
- description: 'CSS selector to wait for before extracting content',
- displayOptions: {
- show: { crawlerType: ['playwright', 'adaptive'] },
- },
- },
- {
- displayName: 'Wait Timeout (ms)',
- name: 'waitTimeout',
- type: 'number',
- default: 30000,
- typeOptions: { minValue: 1000, maxValue: 120000 },
- description: 'Maximum time to wait for page load in milliseconds',
- displayOptions: {
- show: { crawlerType: ['playwright', 'adaptive'] },
- },
- },
- {
- displayName: 'Take Screenshot',
- name: 'screenshot',
- type: 'boolean',
- default: false,
- description: 'Capture a screenshot of each page (returned as base64)',
- displayOptions: {
- show: { crawlerType: ['playwright', 'adaptive'] },
- },
- },
- {
- displayName: 'Browser Type',
- name: 'browserType',
- type: 'options',
- options: [
- { name: 'Chromium', value: 'chromium' },
- { name: 'Firefox', value: 'firefox' },
- { name: 'WebKit', value: 'webkit' },
- ],
- default: 'chromium',
- description: 'Browser engine to use for rendering',
- displayOptions: {
- show: { crawlerType: ['playwright', 'adaptive'] },
- },
- },
- {
- displayName: 'Block Resources',
- name: 'blockResources',
- type: 'boolean',
- default: true,
- description:
- 'Block images, fonts, and stylesheets for faster scraping',
- displayOptions: {
- show: { crawlerType: ['playwright', 'adaptive'] },
- },
- },
-
- // ===== GENERAL OPTIONS =====
- {
- displayName: 'Timeout (seconds)',
- name: 'timeout',
- type: 'number',
- default: 60,
- typeOptions: { minValue: 10, maxValue: 600 },
- description: 'Maximum time for the entire scraping operation',
- },
- {
- displayName: 'Max Concurrency',
- name: 'maxConcurrency',
- type: 'number',
- default: 5,
- typeOptions: { minValue: 1, maxValue: 20 },
- description: 'Maximum concurrent requests',
- },
- {
- displayName: 'Output Format',
- name: 'outputFormat',
- type: 'options',
- options: [
- { name: 'Text', value: 'text' },
- { name: 'HTML', value: 'html' },
- { name: 'Markdown', value: 'markdown' },
- ],
- default: 'text',
- description: 'Format of the extracted content',
- },
-
- // ===== PROXY PARAMS (shared from proxyNodes) =====
- ...PROXY_PARAMETERS,
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
};
diff --git a/client/src/nodeDefinitions/documentNodes.ts b/client/src/nodeDefinitions/documentNodes.ts
index d999c18a..c7fc3870 100644
--- a/client/src/nodeDefinitions/documentNodes.ts
+++ b/client/src/nodeDefinitions/documentNodes.ts
@@ -20,105 +20,8 @@ export const documentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'items, item_count, errors'
}],
- properties: [
- {
- displayName: 'URL',
- name: 'url',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'https://example.com/api?date={date}',
- description: 'URL with optional placeholders: {date}, {page}'
- },
- {
- displayName: 'Iteration Mode',
- name: 'iterationMode',
- type: 'options',
- default: 'single',
- options: [
- { name: 'Single Request', value: 'single' },
- { name: 'Date Range', value: 'date' },
- { name: 'Page Pagination', value: 'page' }
- ]
- },
- {
- displayName: 'Start Date',
- name: 'startDate',
- type: 'string',
- default: '',
- placeholder: 'YYYY-MM-DD',
- displayOptions: { show: { iterationMode: ['date'] } }
- },
- {
- displayName: 'End Date',
- name: 'endDate',
- type: 'string',
- default: '',
- placeholder: 'YYYY-MM-DD',
- displayOptions: { show: { iterationMode: ['date'] } }
- },
- {
- displayName: 'Date Placeholder',
- name: 'datePlaceholder',
- type: 'string',
- default: '{date}',
- displayOptions: { show: { iterationMode: ['date'] } }
- },
- {
- displayName: 'Start Page',
- name: 'startPage',
- type: 'number',
- default: 1,
- displayOptions: { show: { iterationMode: ['page'] } }
- },
- {
- displayName: 'End Page',
- name: 'endPage',
- type: 'number',
- default: 10,
- displayOptions: { show: { iterationMode: ['page'] } }
- },
- {
- displayName: 'Link Selector',
- name: 'linkSelector',
- type: 'string',
- default: 'a[href$=".pdf"]',
- description: 'CSS selector for extracting links'
- },
- {
- displayName: 'Headers (JSON)',
- name: 'headers',
- type: 'string',
- default: '{}',
- typeOptions: { rows: 2 },
- placeholder: '{"Authorization": "Bearer token"}'
- },
- {
- displayName: 'Use Proxy',
- name: 'useProxy',
- type: 'boolean',
- default: false,
- description: 'Route requests through a configured proxy provider'
- },
- {
- displayName: 'Proxy Country',
- name: 'proxyCountry',
- type: 'string',
- default: '',
- placeholder: 'US',
- description: 'ISO country code for geo-targeting (e.g. US, GB, DE)',
- displayOptions: { show: { useProxy: [true] } }
- },
- {
- displayName: 'Proxy Provider',
- name: 'proxyProvider',
- type: 'string',
- default: '',
- placeholder: 'Auto-select',
- description: 'Specific provider name, or leave empty for auto-selection',
- displayOptions: { show: { useProxy: [true] } }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
fileDownloader: {
@@ -136,37 +39,8 @@ export const documentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'downloaded, skipped, failed, files, output_dir'
}],
- properties: [
- {
- displayName: 'Output Directory',
- name: 'outputDir',
- type: 'string',
- default: './data/downloads',
- description: 'Directory to save downloaded files'
- },
- {
- displayName: 'Max Workers',
- name: 'maxWorkers',
- type: 'number',
- default: 8,
- typeOptions: { minValue: 1, maxValue: 32 },
- description: 'Number of parallel download workers'
- },
- {
- displayName: 'Skip Existing',
- name: 'skipExisting',
- type: 'boolean',
- default: true,
- description: 'Skip files that already exist'
- },
- {
- displayName: 'Timeout (seconds)',
- name: 'timeout',
- type: 'number',
- default: 60,
- typeOptions: { minValue: 10, maxValue: 600 }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
documentParser: {
@@ -184,34 +58,8 @@ export const documentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'documents, parsed_count, failed'
}],
- properties: [
- {
- displayName: 'Parser',
- name: 'parser',
- type: 'options',
- default: 'pypdf',
- options: [
- { name: 'PyPDF (Fast)', value: 'pypdf' },
- { name: 'Marker (GPU OCR)', value: 'marker' },
- { name: 'Unstructured (Multi-format)', value: 'unstructured' },
- { name: 'BeautifulSoup (HTML)', value: 'beautifulsoup' }
- ]
- },
- {
- displayName: 'Input Directory',
- name: 'inputDir',
- type: 'string',
- default: '',
- description: 'Directory to scan for files (optional, in addition to input)'
- },
- {
- displayName: 'File Pattern',
- name: 'filePattern',
- type: 'string',
- default: '*.pdf',
- description: 'Glob pattern for files in inputDir'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
textChunker: {
@@ -229,35 +77,8 @@ export const documentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'chunks, chunk_count'
}],
- properties: [
- {
- displayName: 'Chunk Size',
- name: 'chunkSize',
- type: 'number',
- default: 1024,
- typeOptions: { minValue: 100, maxValue: 8000 },
- description: 'Target size of each chunk in characters'
- },
- {
- displayName: 'Chunk Overlap',
- name: 'chunkOverlap',
- type: 'number',
- default: 200,
- typeOptions: { minValue: 0, maxValue: 1000 },
- description: 'Number of overlapping characters between chunks'
- },
- {
- displayName: 'Strategy',
- name: 'strategy',
- type: 'options',
- default: 'recursive',
- options: [
- { name: 'Recursive (Recommended)', value: 'recursive' },
- { name: 'Markdown', value: 'markdown' },
- { name: 'Token', value: 'token' }
- ]
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
embeddingGenerator: {
@@ -275,42 +96,8 @@ export const documentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'embeddings, embedding_count, dimensions, chunks'
}],
- properties: [
- {
- displayName: 'Provider',
- name: 'provider',
- type: 'options',
- default: 'huggingface',
- options: [
- { name: 'HuggingFace (Local)', value: 'huggingface' },
- { name: 'OpenAI', value: 'openai' },
- { name: 'Ollama (Local)', value: 'ollama' }
- ]
- },
- {
- displayName: 'Model',
- name: 'model',
- type: 'string',
- default: 'BAAI/bge-small-en-v1.5',
- description: 'Embedding model name'
- },
- {
- displayName: 'Batch Size',
- name: 'batchSize',
- type: 'number',
- default: 32,
- typeOptions: { minValue: 1, maxValue: 256 }
- },
- {
- displayName: 'API Key',
- name: 'apiKey',
- type: 'string',
- default: '',
- typeOptions: { password: true },
- displayOptions: { show: { provider: ['openai'] } },
- description: 'OpenAI API key (if using OpenAI provider)'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
vectorStore: {
@@ -328,69 +115,8 @@ export const documentNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'stored_count/matches, collection_name, backend'
}],
- properties: [
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- default: 'store',
- options: [
- { name: 'Store', value: 'store' },
- { name: 'Query', value: 'query' },
- { name: 'Delete', value: 'delete' }
- ]
- },
- {
- displayName: 'Backend',
- name: 'backend',
- type: 'options',
- default: 'chroma',
- options: [
- { name: 'ChromaDB (Local)', value: 'chroma' },
- { name: 'Qdrant (Production)', value: 'qdrant' },
- { name: 'Pinecone (Cloud)', value: 'pinecone' }
- ]
- },
- {
- displayName: 'Collection Name',
- name: 'collectionName',
- type: 'string',
- default: 'documents',
- description: 'Name of the vector collection'
- },
- {
- displayName: 'Persist Directory',
- name: 'persistDir',
- type: 'string',
- default: './data/vectors',
- displayOptions: { show: { backend: ['chroma'] } },
- description: 'Directory to persist ChromaDB data'
- },
- {
- displayName: 'Qdrant URL',
- name: 'qdrantUrl',
- type: 'string',
- default: 'http://localhost:6333',
- displayOptions: { show: { backend: ['qdrant'] } }
- },
- {
- displayName: 'Pinecone API Key',
- name: 'pineconeApiKey',
- type: 'string',
- default: '',
- typeOptions: { password: true },
- displayOptions: { show: { backend: ['pinecone'] } }
- },
- {
- displayName: 'Top K',
- name: 'topK',
- type: 'number',
- default: 5,
- typeOptions: { minValue: 1, maxValue: 100 },
- displayOptions: { show: { operation: ['query'] } },
- description: 'Number of results to return for queries'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/emailNodes.ts b/client/src/nodeDefinitions/emailNodes.ts
index b703c5e8..3d4e6caa 100644
--- a/client/src/nodeDefinitions/emailNodes.ts
+++ b/client/src/nodeDefinitions/emailNodes.ts
@@ -6,25 +6,8 @@ import {
import { solarized } from '../styles/theme';
import { EMAIL_SEND_ICON, EMAIL_READ_ICON, EMAIL_RECEIVE_ICON } from '../assets/icons/email';
-// ============================================================================
-// SHARED OPTIONS
-// ============================================================================
-
-// Provider presets (mirrors server/config/email_providers.json)
-const PROVIDER_OPTIONS = [
- { name: 'Gmail', value: 'gmail' },
- { name: 'Outlook / Office 365', value: 'outlook' },
- { name: 'Yahoo Mail', value: 'yahoo' },
- { name: 'iCloud Mail', value: 'icloud' },
- { name: 'ProtonMail (Bridge)', value: 'protonmail' },
- { name: 'Fastmail', value: 'fastmail' },
- { name: 'Custom / Self-hosted', value: 'custom' },
-];
-
-const PROVIDER_PROPERTY = {
- displayName: 'Provider', name: 'provider', type: 'options' as const,
- options: PROVIDER_OPTIONS, default: 'gmail', description: 'Email provider',
-};
+// Wave 8: provider presets + property metadata now live on backend
+// (Email{Send,Read,Receive}Params + EMAIL_PROVIDERS in server config).
// ============================================================================
// EMAIL NODES
@@ -46,15 +29,8 @@ export const emailNodes: Record<string, INodeTypeDescription> = {
{ name: 'main', displayName: 'Output', type: 'main' as NodeConnectionType, description: 'Send result' },
{ name: 'tool', displayName: 'Tool', type: 'main' as NodeConnectionType, description: 'Connect to AI Agent tool handle' },
],
- properties: [
- PROVIDER_PROPERTY,
- { displayName: 'To', name: 'to', type: 'string', default: '', required: true, placeholder: '[email protected]', description: 'Recipients (comma-separated)' },
- { displayName: 'Subject', name: 'subject', type: 'string', default: '', required: true, placeholder: 'Email subject' },
- { displayName: 'Body', name: 'body', type: 'string', default: '', required: true, typeOptions: { rows: 6 }, placeholder: 'Email body...' },
- { displayName: 'CC', name: 'cc', type: 'string', default: '', placeholder: '[email protected]' },
- { displayName: 'BCC', name: 'bcc', type: 'string', default: '', placeholder: '[email protected]' },
- { displayName: 'Body Type', name: 'body_type', type: 'options', options: [{ name: 'Plain Text', value: 'text' }, { name: 'HTML', value: 'html' }], default: 'text' },
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
emailRead: {
@@ -71,29 +47,8 @@ export const emailNodes: Record<string, INodeTypeDescription> = {
{ name: 'main', displayName: 'Output', type: 'main' as NodeConnectionType, description: 'Send result' },
{ name: 'tool', displayName: 'Tool', type: 'main' as NodeConnectionType, description: 'Connect to AI Agent tool handle' },
],
- properties: [
- PROVIDER_PROPERTY,
- {
- displayName: 'Operation', name: 'operation', type: 'options', required: true, default: 'list',
- options: [
- { name: 'List Envelopes', value: 'list' },
- { name: 'Search Emails', value: 'search' },
- { name: 'Read Message', value: 'read' },
- { name: 'List Folders', value: 'folders' },
- { name: 'Move Message', value: 'move' },
- { name: 'Delete Message', value: 'delete' },
- { name: 'Flag Message', value: 'flag' },
- ],
- },
- { displayName: 'Folder', name: 'folder', type: 'string', default: 'INBOX', displayOptions: { show: { operation: ['list', 'search', 'read', 'move', 'delete', 'flag'] } } },
- { displayName: 'Query', name: 'query', type: 'string', default: '', required: true, placeholder: 'from:john subject:meeting', displayOptions: { show: { operation: ['search'] } } },
- { displayName: 'Message ID', name: 'message_id', type: 'string', default: '', required: true, displayOptions: { show: { operation: ['read', 'move', 'delete', 'flag'] } } },
- { displayName: 'Target Folder', name: 'target_folder', type: 'string', default: '', required: true, placeholder: 'Archive', displayOptions: { show: { operation: ['move'] } } },
- { displayName: 'Flag', name: 'flag', type: 'options', default: 'Seen', options: [{ name: 'Seen', value: 'Seen' }, { name: 'Answered', value: 'Answered' }, { name: 'Flagged', value: 'Flagged' }, { name: 'Draft', value: 'Draft' }, { name: 'Deleted', value: 'Deleted' }], displayOptions: { show: { operation: ['flag'] } } },
- { displayName: 'Flag Action', name: 'flag_action', type: 'options', default: 'add', options: [{ name: 'Add', value: 'add' }, { name: 'Remove', value: 'remove' }], displayOptions: { show: { operation: ['flag'] } } },
- { displayName: 'Page', name: 'page', type: 'number', default: 1, typeOptions: { minValue: 1 }, displayOptions: { show: { operation: ['list'] } } },
- { displayName: 'Page Size', name: 'page_size', type: 'number', default: 20, typeOptions: { minValue: 1, maxValue: 100 }, displayOptions: { show: { operation: ['list'] } } },
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
emailReceive: {
@@ -107,13 +62,8 @@ export const emailNodes: Record<string, INodeTypeDescription> = {
defaults: { name: 'Email Receive', color: solarized.blue },
inputs: [],
outputs: [{ name: 'main', displayName: 'Email', type: 'main' as NodeConnectionType, description: 'message_id, from, to, subject, date, body, folder' }],
- properties: [
- PROVIDER_PROPERTY,
- { displayName: 'Folder', name: 'folder', type: 'string', default: 'INBOX' },
- { displayName: 'Poll Interval (seconds)', name: 'poll_interval', type: 'number', default: 60, typeOptions: { minValue: 30, maxValue: 3600 } },
- { displayName: 'Filter Query', name: 'filter_query', type: 'string', default: '', placeholder: 'from:[email protected]' },
- { displayName: 'Mark as Read', name: 'mark_as_read', type: 'boolean', default: false },
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
};
diff --git a/client/src/nodeDefinitions/googleWorkspaceNodes.ts b/client/src/nodeDefinitions/googleWorkspaceNodes.ts
index aa789609..4bdbfe11 100644
--- a/client/src/nodeDefinitions/googleWorkspaceNodes.ts
+++ b/client/src/nodeDefinitions/googleWorkspaceNodes.ts
@@ -13,33 +13,9 @@ import {
CONTACTS_ICON
} from '../assets/icons/google';
-// ============================================================================
-// SHARED PROPERTIES
-// ============================================================================
-
-const ACCOUNT_MODE_PROPERTY = {
- displayName: 'Account',
- name: 'account_mode',
- type: 'options' as const,
- options: [
- { name: 'Owner Account', value: 'owner' },
- { name: 'Customer Account', value: 'customer' }
- ],
- default: 'owner',
- description: 'Which Google account to use'
-};
-
-const CUSTOMER_ID_PROPERTY = {
- displayName: 'Customer ID',
- name: 'customer_id',
- type: 'string' as const,
- default: '',
- placeholder: 'customer_123 or {{input.customer_id}}',
- description: 'Customer identifier to look up their Google connection',
- displayOptions: {
- show: { account_mode: ['customer'] }
- }
-};
+// Wave 8: ACCOUNT_MODE_PROPERTY + CUSTOMER_ID_PROPERTY moved to backend
+// (each Google* Pydantic model carries account_mode + customer_id with
+// the customer-mode displayOptions gate).
// ============================================================================
// GMAIL NODE (Consolidated: send, search, read)
@@ -74,165 +50,8 @@ export const gmailNode: INodeTypeDescription = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Send Email', value: 'send' },
- { name: 'Search Emails', value: 'search' },
- { name: 'Read Email', value: 'read' }
- ],
- default: 'send',
- required: true,
- description: 'Operation to perform'
- },
-
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== SEND PARAMETERS =====
- {
- displayName: 'To',
- name: 'to',
- type: 'string',
- default: '',
- required: true,
- description: 'Recipient email addresses (comma-separated)',
- displayOptions: {
- show: { operation: ['send'] }
- }
- },
- {
- displayName: 'CC',
- name: 'cc',
- type: 'string',
- default: '',
- placeholder: '[email protected]',
- description: 'CC recipients (optional)',
- displayOptions: {
- show: { operation: ['send'] }
- }
- },
- {
- displayName: 'BCC',
- name: 'bcc',
- type: 'string',
- default: '',
- placeholder: '[email protected]',
- description: 'BCC recipients (optional)',
- displayOptions: {
- show: { operation: ['send'] }
- }
- },
- {
- displayName: 'Subject',
- name: 'subject',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'Email subject line',
- description: 'Email subject',
- displayOptions: {
- show: { operation: ['send'] }
- }
- },
- {
- displayName: 'Body Type',
- name: 'body_type',
- type: 'options',
- options: [
- { name: 'Plain Text', value: 'text' },
- { name: 'HTML', value: 'html' }
- ],
- default: 'text',
- description: 'Email body format',
- displayOptions: {
- show: { operation: ['send'] }
- }
- },
- {
- displayName: 'Body',
- name: 'body',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { rows: 6 },
- placeholder: 'Email content...',
- description: 'Email body content',
- displayOptions: {
- show: { operation: ['send'] }
- }
- },
-
- // ===== SEARCH PARAMETERS =====
- {
- displayName: 'Search Query',
- name: 'query',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'from:[email protected] subject:meeting',
- description: 'Gmail search query (same syntax as Gmail web)',
- displayOptions: {
- show: { operation: ['search'] }
- }
- },
- {
- displayName: 'Max Results',
- name: 'max_results',
- type: 'number',
- default: 10,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Maximum number of messages to return',
- displayOptions: {
- show: { operation: ['search'] }
- }
- },
- {
- displayName: 'Include Body',
- name: 'include_body',
- type: 'boolean',
- default: false,
- description: 'Fetch full message body (slower but includes content)',
- displayOptions: {
- show: { operation: ['search'] }
- }
- },
-
- // ===== READ PARAMETERS =====
- {
- displayName: 'Message ID',
- name: 'message_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: '18d5a7e2c3b4f5a6',
- description: 'Gmail message ID to read',
- displayOptions: {
- show: { operation: ['read'] }
- }
- },
- {
- displayName: 'Format',
- name: 'format',
- type: 'options',
- options: [
- { name: 'Full (with body)', value: 'full' },
- { name: 'Metadata (headers only)', value: 'metadata' },
- { name: 'Minimal', value: 'minimal' },
- { name: 'Raw', value: 'raw' }
- ],
- default: 'full',
- description: 'Message format to retrieve',
- displayOptions: {
- show: { operation: ['read'] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
@@ -255,50 +74,8 @@ export const gmailReceiveNode: INodeTypeDescription = {
type: 'main' as NodeConnectionType,
description: 'Received email (message_id, from, to, subject, body, date, labels, attachments)'
}],
- properties: [
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== FILTER =====
- {
- displayName: 'Filter Query',
- name: 'filter_query',
- type: 'string',
- default: 'is:unread',
- placeholder: 'from:[email protected] OR label:work',
- description: 'Gmail filter query (same as Gmail search)'
- },
- {
- displayName: 'Label Filter',
- name: 'label_filter',
- type: 'options',
- options: [
- { name: 'All Labels', value: 'all' },
- { name: 'Inbox Only', value: 'INBOX' },
- { name: 'Important', value: 'IMPORTANT' },
- { name: 'Starred', value: 'STARRED' },
- { name: 'Sent', value: 'SENT' },
- { name: 'Drafts', value: 'DRAFT' }
- ],
- default: 'INBOX',
- description: 'Filter by Gmail label'
- },
- {
- displayName: 'Mark as Read',
- name: 'mark_as_read',
- type: 'boolean',
- default: false,
- description: 'Automatically mark emails as read after processing'
- },
- {
- displayName: 'Poll Interval (seconds)',
- name: 'poll_interval',
- type: 'number',
- default: 60,
- typeOptions: { minValue: 30, maxValue: 3600 },
- description: 'How often to check for new emails (30s - 1 hour)'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
@@ -334,275 +111,8 @@ export const calendarNode: INodeTypeDescription = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Create Event', value: 'create' },
- { name: 'List Events', value: 'list' },
- { name: 'Update Event', value: 'update' },
- { name: 'Delete Event', value: 'delete' }
- ],
- default: 'create',
- required: true,
- description: 'Operation to perform'
- },
-
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== CALENDAR ID (all operations) =====
- {
- displayName: 'Calendar ID',
- name: 'calendar_id',
- type: 'string',
- default: 'primary',
- placeholder: 'primary or [email protected]',
- description: 'Calendar ID (use "primary" for main calendar)'
- },
-
- // ===== CREATE PARAMETERS =====
- {
- displayName: 'Title',
- name: 'title',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'Meeting with Team',
- description: 'Event title/summary',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Start Time',
- name: 'start_time',
- type: 'string',
- default: '',
- required: true,
- placeholder: '2026-02-22T14:00:00',
- description: 'Start time in ISO format (e.g., 2026-02-22T14:00:00)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'End Time',
- name: 'end_time',
- type: 'string',
- default: '',
- required: true,
- placeholder: '2026-02-22T15:00:00',
- description: 'End time in ISO format',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Description',
- name: 'description',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'Meeting agenda and notes...',
- description: 'Event description (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Location',
- name: 'location',
- type: 'string',
- default: '',
- placeholder: 'Conference Room A or https://meet.google.com/...',
- description: 'Event location (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Attendees',
- name: 'attendees',
- type: 'string',
- default: '',
- description: 'Attendee email addresses (comma-separated)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Timezone',
- name: 'timezone',
- type: 'string',
- default: 'UTC',
- placeholder: 'America/New_York',
- description: 'Timezone for the event (e.g., America/New_York, Europe/London)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Reminder (minutes)',
- name: 'reminder_minutes',
- type: 'number',
- default: 30,
- typeOptions: { minValue: 0, maxValue: 40320 },
- description: 'Minutes before event for popup reminder',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
-
- // ===== LIST PARAMETERS =====
- {
- displayName: 'Start Date',
- name: 'start_date',
- type: 'string',
- default: 'today',
- placeholder: 'today or 2026-02-22T00:00:00Z',
- description: 'Start date for query ("today" or ISO format)',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'End Date',
- name: 'end_date',
- type: 'string',
- default: 'today+7d',
- placeholder: 'today+7d or 2026-02-29T23:59:59Z',
- description: 'End date ("today+Nd" for N days from now, or ISO format)',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Max Results',
- name: 'max_results',
- type: 'number',
- default: 10,
- typeOptions: { minValue: 1, maxValue: 250 },
- description: 'Maximum number of events to return',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Expand Recurring',
- name: 'single_events',
- type: 'boolean',
- default: true,
- description: 'Expand recurring events into individual instances',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Order By',
- name: 'order_by',
- type: 'options',
- options: [
- { name: 'Start Time', value: 'startTime' },
- { name: 'Last Updated', value: 'updated' }
- ],
- default: 'startTime',
- description: 'Sort order for events',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
-
- // ===== UPDATE PARAMETERS =====
- {
- displayName: 'Event ID',
- name: 'event_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'abc123xyz',
- description: 'ID of the event to update or delete',
- displayOptions: {
- show: { operation: ['update', 'delete'] }
- }
- },
- {
- displayName: 'Title',
- name: 'update_title',
- type: 'string',
- default: '',
- placeholder: 'New meeting title',
- description: 'New event title (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Start Time',
- name: 'update_start_time',
- type: 'string',
- default: '',
- placeholder: '2026-02-22T14:00:00',
- description: 'New start time (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'End Time',
- name: 'update_end_time',
- type: 'string',
- default: '',
- placeholder: '2026-02-22T15:00:00',
- description: 'New end time (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Description',
- name: 'update_description',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'Updated description...',
- description: 'New description (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Location',
- name: 'update_location',
- type: 'string',
- default: '',
- placeholder: 'New location',
- description: 'New location (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
-
- // ===== DELETE PARAMETERS =====
- {
- displayName: 'Send Cancellation',
- name: 'send_updates',
- type: 'options',
- options: [
- { name: 'Send to All Attendees', value: 'all' },
- { name: 'Do Not Send', value: 'none' }
- ],
- default: 'all',
- description: 'Send cancellation emails to attendees',
- displayOptions: {
- show: { operation: ['delete'] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
@@ -638,234 +148,8 @@ export const driveNode: INodeTypeDescription = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Upload File', value: 'upload' },
- { name: 'Download File', value: 'download' },
- { name: 'List Files', value: 'list' },
- { name: 'Share File', value: 'share' }
- ],
- default: 'list',
- required: true,
- description: 'Operation to perform'
- },
-
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== UPLOAD PARAMETERS =====
- {
- displayName: 'File URL',
- name: 'file_url',
- type: 'string',
- default: '',
- placeholder: 'https://example.com/document.pdf',
- description: 'URL to download file from (for remote files)',
- displayOptions: {
- show: { operation: ['upload'] }
- }
- },
- {
- displayName: 'File Content (Base64)',
- name: 'file_content',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'SGVsbG8gV29ybGQh...',
- description: 'Base64-encoded file content (alternative to URL)',
- displayOptions: {
- show: { operation: ['upload'] }
- }
- },
- {
- displayName: 'Filename',
- name: 'filename',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'document.pdf',
- description: 'Name for the uploaded file',
- displayOptions: {
- show: { operation: ['upload'] }
- }
- },
- {
- displayName: 'MIME Type',
- name: 'mime_type',
- type: 'string',
- default: '',
- placeholder: 'application/pdf',
- description: 'File MIME type (auto-detected if empty)',
- displayOptions: {
- show: { operation: ['upload'] }
- }
- },
- {
- displayName: 'Folder ID',
- name: 'folder_id',
- type: 'string',
- default: '',
- placeholder: '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs',
- description: 'Parent folder ID (leave empty for root)',
- displayOptions: {
- show: { operation: ['upload', 'list'] }
- }
- },
- {
- displayName: 'Description',
- name: 'file_description',
- type: 'string',
- default: '',
- placeholder: 'File description...',
- description: 'File description (optional)',
- displayOptions: {
- show: { operation: ['upload'] }
- }
- },
-
- // ===== DOWNLOAD PARAMETERS =====
- {
- displayName: 'File ID',
- name: 'file_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs',
- description: 'ID of the file to download or share',
- displayOptions: {
- show: { operation: ['download', 'share'] }
- }
- },
- {
- displayName: 'Output Format',
- name: 'output_format',
- type: 'options',
- options: [
- { name: 'Base64 Content', value: 'base64' },
- { name: 'Download URL', value: 'url' }
- ],
- default: 'base64',
- description: 'How to return the file content',
- displayOptions: {
- show: { operation: ['download'] }
- }
- },
-
- // ===== LIST PARAMETERS =====
- {
- displayName: 'Search Query',
- name: 'query',
- type: 'string',
- default: '',
- placeholder: "name contains 'report'",
- description: 'Drive search query (see Google Drive query syntax)',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'File Type',
- name: 'file_types',
- type: 'options',
- options: [
- { name: 'All Files', value: 'all' },
- { name: 'Folders Only', value: 'folder' },
- { name: 'Documents', value: 'document' },
- { name: 'Spreadsheets', value: 'spreadsheet' },
- { name: 'Images', value: 'image' }
- ],
- default: 'all',
- description: 'Filter by file type',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Max Results',
- name: 'max_results',
- type: 'number',
- default: 20,
- typeOptions: { minValue: 1, maxValue: 1000 },
- description: 'Maximum number of files to return',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Order By',
- name: 'order_by',
- type: 'options',
- options: [
- { name: 'Last Modified (Newest)', value: 'modifiedTime desc' },
- { name: 'Last Modified (Oldest)', value: 'modifiedTime' },
- { name: 'Created (Newest)', value: 'createdTime desc' },
- { name: 'Created (Oldest)', value: 'createdTime' },
- { name: 'Name (A-Z)', value: 'name' },
- { name: 'Name (Z-A)', value: 'name desc' }
- ],
- default: 'modifiedTime desc',
- description: 'Sort order for files',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
-
- // ===== SHARE PARAMETERS =====
- {
- displayName: 'Email',
- name: 'email',
- type: 'string',
- default: '',
- required: true,
- placeholder: '[email protected]',
- description: 'Email address to share with',
- displayOptions: {
- show: { operation: ['share'] }
- }
- },
- {
- displayName: 'Role',
- name: 'role',
- type: 'options',
- options: [
- { name: 'Viewer (read-only)', value: 'reader' },
- { name: 'Commenter (view + comment)', value: 'commenter' },
- { name: 'Editor (full access)', value: 'writer' }
- ],
- default: 'reader',
- description: 'Permission level for the user',
- displayOptions: {
- show: { operation: ['share'] }
- }
- },
- {
- displayName: 'Send Notification',
- name: 'send_notification',
- type: 'boolean',
- default: true,
- description: 'Send email notification to the user',
- displayOptions: {
- show: { operation: ['share'] }
- }
- },
- {
- displayName: 'Message',
- name: 'message',
- type: 'string',
- default: '',
- typeOptions: { rows: 2 },
- placeholder: 'Here is the file you requested...',
- description: 'Custom message for the notification email',
- displayOptions: {
- show: { operation: ['share'], send_notification: [true] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
@@ -901,121 +185,8 @@ export const sheetsNode: INodeTypeDescription = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Read Data', value: 'read' },
- { name: 'Write Data', value: 'write' },
- { name: 'Append Rows', value: 'append' }
- ],
- default: 'read',
- required: true,
- description: 'Operation to perform'
- },
-
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== SPREADSHEET ID (all operations) =====
- {
- displayName: 'Spreadsheet ID',
- name: 'spreadsheet_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms',
- description: 'ID from the spreadsheet URL (between /d/ and /edit)'
- },
-
- // ===== RANGE (all operations) =====
- {
- displayName: 'Range',
- name: 'range',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'Sheet1!A1:D10',
- description: 'A1 notation range (e.g., "Sheet1!A1:D10" or "A:D")'
- },
-
- // ===== READ PARAMETERS =====
- {
- displayName: 'Value Render Option',
- name: 'value_render_option',
- type: 'options',
- options: [
- { name: 'Formatted Value', value: 'FORMATTED_VALUE' },
- { name: 'Unformatted Value', value: 'UNFORMATTED_VALUE' },
- { name: 'Formula', value: 'FORMULA' }
- ],
- default: 'FORMATTED_VALUE',
- description: 'How values should be rendered in the output',
- displayOptions: {
- show: { operation: ['read'] }
- }
- },
- {
- displayName: 'Major Dimension',
- name: 'major_dimension',
- type: 'options',
- options: [
- { name: 'Rows', value: 'ROWS' },
- { name: 'Columns', value: 'COLUMNS' }
- ],
- default: 'ROWS',
- description: 'Whether to return rows or columns first',
- displayOptions: {
- show: { operation: ['read'] }
- }
- },
-
- // ===== WRITE/APPEND PARAMETERS =====
- {
- displayName: 'Values',
- name: 'values',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { rows: 4 },
- placeholder: '[["Name", "Age"], ["Alice", 25], ["Bob", 30]]',
- description: '2D array of values in JSON format or {{input.data}}',
- displayOptions: {
- show: { operation: ['write', 'append'] }
- }
- },
- {
- displayName: 'Value Input Option',
- name: 'value_input_option',
- type: 'options',
- options: [
- { name: 'User Entered', value: 'USER_ENTERED' },
- { name: 'Raw', value: 'RAW' }
- ],
- default: 'USER_ENTERED',
- description: 'How input values should be interpreted (USER_ENTERED parses formulas)',
- displayOptions: {
- show: { operation: ['write', 'append'] }
- }
- },
- {
- displayName: 'Insert Data Option',
- name: 'insert_data_option',
- type: 'options',
- options: [
- { name: 'Insert Rows', value: 'INSERT_ROWS' },
- { name: 'Overwrite', value: 'OVERWRITE' }
- ],
- default: 'INSERT_ROWS',
- description: 'How the input data should be inserted',
- displayOptions: {
- show: { operation: ['append'] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
@@ -1051,172 +222,8 @@ export const tasksNode: INodeTypeDescription = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Create Task', value: 'create' },
- { name: 'List Tasks', value: 'list' },
- { name: 'Complete Task', value: 'complete' },
- { name: 'Update Task', value: 'update' },
- { name: 'Delete Task', value: 'delete' }
- ],
- default: 'create',
- required: true,
- description: 'Operation to perform'
- },
-
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== TASK LIST ID (all operations) =====
- {
- displayName: 'Task List ID',
- name: 'tasklist_id',
- type: 'string',
- default: '@default',
- placeholder: '@default or specific list ID',
- description: 'Task list ID (use "@default" for primary list)'
- },
-
- // ===== CREATE PARAMETERS =====
- {
- displayName: 'Title',
- name: 'title',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'Buy groceries',
- description: 'Task title',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Notes',
- name: 'notes',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'Remember to check the shopping list...',
- description: 'Task notes/description (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Due Date',
- name: 'due_date',
- type: 'string',
- default: '',
- placeholder: '2026-02-25 or 2026-02-25T10:00:00Z',
- description: 'Due date (YYYY-MM-DD or RFC 3339 format)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
-
- // ===== LIST PARAMETERS =====
- {
- displayName: 'Show Completed',
- name: 'show_completed',
- type: 'boolean',
- default: false,
- description: 'Include completed tasks in the list',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Show Hidden',
- name: 'show_hidden',
- type: 'boolean',
- default: false,
- description: 'Include hidden tasks in the list',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Max Results',
- name: 'max_results',
- type: 'number',
- default: 100,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Maximum number of tasks to return',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
-
- // ===== TASK ID (complete, update, delete) =====
- {
- displayName: 'Task ID',
- name: 'task_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'abc123xyz',
- description: 'ID of the task',
- displayOptions: {
- show: { operation: ['complete', 'update', 'delete'] }
- }
- },
-
- // ===== UPDATE PARAMETERS =====
- {
- displayName: 'Title',
- name: 'update_title',
- type: 'string',
- default: '',
- placeholder: 'New task title',
- description: 'New title (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Notes',
- name: 'update_notes',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'Updated notes...',
- description: 'New notes (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Due Date',
- name: 'update_due_date',
- type: 'string',
- default: '',
- placeholder: '2026-02-25',
- description: 'New due date (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Status',
- name: 'status',
- type: 'options',
- options: [
- { name: 'Keep Current', value: '' },
- { name: 'Needs Action', value: 'needsAction' },
- { name: 'Completed', value: 'completed' }
- ],
- default: '',
- description: 'New status',
- displayOptions: {
- show: { operation: ['update'] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
@@ -1252,256 +259,8 @@ export const contactsNode: INodeTypeDescription = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Create Contact', value: 'create' },
- { name: 'List Contacts', value: 'list' },
- { name: 'Search Contacts', value: 'search' },
- { name: 'Get Contact', value: 'get' },
- { name: 'Update Contact', value: 'update' },
- { name: 'Delete Contact', value: 'delete' }
- ],
- default: 'list',
- required: true,
- description: 'Operation to perform'
- },
-
- ACCOUNT_MODE_PROPERTY,
- CUSTOMER_ID_PROPERTY,
-
- // ===== CREATE PARAMETERS =====
- {
- displayName: 'First Name',
- name: 'first_name',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'John',
- description: 'First name (required)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Last Name',
- name: 'last_name',
- type: 'string',
- default: '',
- placeholder: 'Doe',
- description: 'Last name (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Email',
- name: 'email',
- type: 'string',
- default: '',
- placeholder: '[email protected]',
- description: 'Email address (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Phone',
- name: 'phone',
- type: 'string',
- default: '',
- placeholder: '+1 555-123-4567',
- description: 'Phone number (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Company',
- name: 'company',
- type: 'string',
- default: '',
- placeholder: 'Acme Inc.',
- description: 'Company/organization name (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Job Title',
- name: 'job_title',
- type: 'string',
- default: '',
- placeholder: 'Software Engineer',
- description: 'Job title (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
- {
- displayName: 'Notes',
- name: 'contact_notes',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'Additional notes about this contact...',
- description: 'Notes/biography (optional)',
- displayOptions: {
- show: { operation: ['create'] }
- }
- },
-
- // ===== LIST PARAMETERS =====
- {
- displayName: 'Page Size',
- name: 'page_size',
- type: 'number',
- default: 100,
- typeOptions: { minValue: 1, maxValue: 1000 },
- description: 'Number of contacts to return',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Sort Order',
- name: 'sort_order',
- type: 'options',
- options: [
- { name: 'Last Modified (Newest)', value: 'LAST_MODIFIED_DESCENDING' },
- { name: 'Last Modified (Oldest)', value: 'LAST_MODIFIED_ASCENDING' },
- { name: 'First Name (A-Z)', value: 'FIRST_NAME_ASCENDING' },
- { name: 'Last Name (A-Z)', value: 'LAST_NAME_ASCENDING' }
- ],
- default: 'LAST_MODIFIED_DESCENDING',
- description: 'Sort order for contacts',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
- {
- displayName: 'Page Token',
- name: 'page_token',
- type: 'string',
- default: '',
- placeholder: 'Next page token from previous request',
- description: 'Token for pagination (from previous request)',
- displayOptions: {
- show: { operation: ['list'] }
- }
- },
-
- // ===== SEARCH PARAMETERS =====
- {
- displayName: 'Query',
- name: 'query',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'John or [email protected]',
- description: 'Search query (name, email, phone)',
- displayOptions: {
- show: { operation: ['search'] }
- }
- },
- {
- displayName: 'Max Results',
- name: 'search_page_size',
- type: 'number',
- default: 30,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Maximum number of results',
- displayOptions: {
- show: { operation: ['search'] }
- }
- },
-
- // ===== GET/UPDATE/DELETE PARAMETERS =====
- {
- displayName: 'Resource Name',
- name: 'resource_name',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'people/c12345678',
- description: 'Contact resource name (from list or search results)',
- displayOptions: {
- show: { operation: ['get', 'update', 'delete'] }
- }
- },
-
- // ===== UPDATE PARAMETERS =====
- {
- displayName: 'First Name',
- name: 'update_first_name',
- type: 'string',
- default: '',
- placeholder: 'John',
- description: 'New first name (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Last Name',
- name: 'update_last_name',
- type: 'string',
- default: '',
- placeholder: 'Doe',
- description: 'New last name (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Email',
- name: 'update_email',
- type: 'string',
- default: '',
- placeholder: '[email protected]',
- description: 'New email (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Phone',
- name: 'update_phone',
- type: 'string',
- default: '',
- placeholder: '+1 555-123-4567',
- description: 'New phone (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Company',
- name: 'update_company',
- type: 'string',
- default: '',
- placeholder: 'Acme Inc.',
- description: 'New company (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- },
- {
- displayName: 'Job Title',
- name: 'update_job_title',
- type: 'string',
- default: '',
- placeholder: 'Software Engineer',
- description: 'New job title (leave empty to keep current)',
- displayOptions: {
- show: { operation: ['update'] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
};
// ============================================================================
diff --git a/client/src/nodeDefinitions/locationNodes.ts b/client/src/nodeDefinitions/locationNodes.ts
index a70d234a..6f3df65e 100644
--- a/client/src/nodeDefinitions/locationNodes.ts
+++ b/client/src/nodeDefinitions/locationNodes.ts
@@ -42,61 +42,8 @@ export const locationNodes: Record<string, INodeTypeDescription> = {
required: true,
displayName: 'Google Maps API Key'
}],
- properties: [
- { displayName: 'Center Latitude', name: 'lat', type: 'number', typeOptions: { minValue: -90, maxValue: 90, numberStepSize: 0.000001 }, default: 40.7128, required: true, description: 'Latitude for map center (decimal degrees)' },
- { displayName: 'Center Longitude', name: 'lng', type: 'number', typeOptions: { minValue: -180, maxValue: 180, numberStepSize: 0.000001 }, default: -74.0060, required: true, description: 'Longitude for map center (decimal degrees)' },
- { displayName: 'Zoom Level', name: 'zoom', type: 'number', typeOptions: { minValue: 0, maxValue: 21 }, default: 13, description: 'Map zoom level (0-21, where 21 is building level)' },
- { displayName: 'Map Type', name: 'map_type_id', type: 'options', options: [
- { name: 'Roadmap', value: 'ROADMAP' },
- { name: 'Satellite', value: 'SATELLITE' },
- { name: 'Hybrid', value: 'HYBRID' },
- { name: 'Terrain', value: 'TERRAIN' }
- ], default: 'ROADMAP', description: 'Google Maps display type' },
- {
- displayName: 'Options',
- name: 'options',
- type: 'collection',
- placeholder: 'Add Option',
- default: {},
- options: [
- {
- displayName: 'Disable Default UI',
- name: 'disable_default_ui',
- type: 'boolean',
- default: false,
- description: 'Disable default Google Maps UI controls'
- },
- {
- displayName: 'Zoom Control',
- name: 'zoom_control',
- type: 'boolean',
- default: true,
- description: 'Enable zoom control buttons'
- },
- {
- displayName: 'Map Type Control',
- name: 'map_type_control',
- type: 'boolean',
- default: true,
- description: 'Enable map type selection control'
- },
- {
- displayName: 'Street View Control',
- name: 'street_view_control',
- type: 'boolean',
- default: true,
- description: 'Enable street view control'
- },
- {
- displayName: 'Fullscreen Control',
- name: 'fullscreen_control',
- type: 'boolean',
- default: true,
- description: 'Enable fullscreen control'
- }
- ] as any
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// GMaps Locations - Google Maps Geocoding Service (Dual-purpose: workflow node + AI tool)
@@ -127,97 +74,8 @@ export const locationNodes: Record<string, INodeTypeDescription> = {
required: true,
displayName: 'Google Maps API Key'
}],
- properties: [
- { displayName: 'Service Type', name: 'service_type', type: 'options', options: [
- { name: 'Geocoding (Address → LatLng)', value: 'geocode' },
- { name: 'Reverse Geocoding (LatLng → Address)', value: 'reverse_geocode' }
- ], default: 'geocode', required: true, description: 'Google Maps Geocoding service operation' },
-
- // Geocoding Request Parameters
- { displayName: 'Address Query', name: 'address', type: 'string', default: '', placeholder: 'e.g., "1600 Amphitheatre Parkway, Mountain View, CA"', required: true, displayOptions: { show: { service_type: ['geocode'] } }, description: 'The address to geocode' },
-
- // Reverse Geocoding Parameters
- { displayName: 'Location Latitude', name: 'lat', type: 'number', typeOptions: { minValue: -90, maxValue: 90, numberStepSize: 0.000001 }, default: 37.4224, required: true, displayOptions: { show: { service_type: ['reverse_geocode'] } }, description: 'Latitude for reverse geocoding' },
- { displayName: 'Location Longitude', name: 'lng', type: 'number', typeOptions: { minValue: -180, maxValue: 180, numberStepSize: 0.000001 }, default: -122.0842, required: true, displayOptions: { show: { service_type: ['reverse_geocode'] } }, description: 'Longitude for reverse geocoding' },
-
- {
- displayName: 'Options',
- name: 'options',
- type: 'collection',
- placeholder: 'Add Option',
- default: {},
- options: [
- {
- displayName: 'Result Types',
- name: 'result_types',
- type: 'multiOptions',
- options: [
- { name: 'Street Address', value: 'street_address' },
- { name: 'Route', value: 'route' },
- { name: 'Intersection', value: 'intersection' },
- { name: 'Political', value: 'political' },
- { name: 'Country', value: 'country' },
- { name: 'Administrative Area Level 1', value: 'administrative_area_level_1' },
- { name: 'Administrative Area Level 2', value: 'administrative_area_level_2' },
- { name: 'Locality', value: 'locality' },
- { name: 'Sublocality', value: 'sublocality' },
- { name: 'Postal Code', value: 'postal_code' }
- ],
- default: [],
- description: 'Filter results by address component types'
- },
- {
- displayName: 'Location Types',
- name: 'location_types',
- type: 'multiOptions',
- options: [
- { name: 'Rooftop', value: 'ROOFTOP' },
- { name: 'Range Interpolated', value: 'RANGE_INTERPOLATED' },
- { name: 'Geometric Center', value: 'GEOMETRIC_CENTER' },
- { name: 'Approximate', value: 'APPROXIMATE' }
- ],
- default: [],
- description: 'Filter by location precision type'
- },
- {
- displayName: 'Language',
- name: 'language',
- type: 'options',
- options: [
- { name: 'English', value: 'en' },
- { name: 'Spanish', value: 'es' },
- { name: 'French', value: 'fr' },
- { name: 'German', value: 'de' },
- { name: 'Italian', value: 'it' },
- { name: 'Portuguese', value: 'pt' },
- { name: 'Japanese', value: 'ja' },
- { name: 'Korean', value: 'ko' },
- { name: 'Chinese (Simplified)', value: 'zh-CN' },
- { name: 'Russian', value: 'ru' },
- { name: 'Arabic', value: 'ar' }
- ],
- default: 'en',
- description: 'Language for returned results'
- },
- {
- displayName: 'Region Bias',
- name: 'region',
- type: 'string',
- default: '',
- placeholder: 'e.g., "us", "uk", "jp"',
- description: 'Region code for biasing results (ccTLD format)'
- },
- {
- displayName: 'Component Restrictions',
- name: 'component_restrictions',
- type: 'string',
- default: '',
- placeholder: 'e.g., "country:US|administrative_area:CA"',
- description: 'Component-based filtering (pipe-separated)'
- }
- ] as any
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// GMaps Nearby Places - Google Maps Places API nearbySearch (Dual-purpose: workflow node + AI tool)
@@ -248,215 +106,8 @@ export const locationNodes: Record<string, INodeTypeDescription> = {
required: true,
displayName: 'Google Maps API Key'
}],
- properties: [
- // Required Parameters (matching Places API nearbySearch)
- { displayName: 'Location Latitude', name: 'lat', type: 'number', typeOptions: { minValue: -90, maxValue: 90, numberStepSize: 0.000001 }, default: 40.7484, required: true, description: 'Center latitude for nearbySearch (required)' },
- { displayName: 'Location Longitude', name: 'lng', type: 'number', typeOptions: { minValue: -180, maxValue: 180, numberStepSize: 0.000001 }, default: -73.9857, required: true, description: 'Center longitude for nearbySearch (required)' },
- { displayName: 'Radius (meters)', name: 'radius', type: 'number', typeOptions: { minValue: 1, maxValue: 50000 }, default: 500, required: true, description: 'Search radius in meters (max 50,000m)' },
-
- // Place Types (official Google Places API types)
- { displayName: 'Place Type', name: 'type', type: 'options', options: [
- { name: 'Accounting', value: 'accounting' },
- { name: 'Airport', value: 'airport' },
- { name: 'Amusement Park', value: 'amusement_park' },
- { name: 'Aquarium', value: 'aquarium' },
- { name: 'Art Gallery', value: 'art_gallery' },
- { name: 'ATM', value: 'atm' },
- { name: 'Bakery', value: 'bakery' },
- { name: 'Bank', value: 'bank' },
- { name: 'Bar', value: 'bar' },
- { name: 'Beauty Salon', value: 'beauty_salon' },
- { name: 'Bicycle Store', value: 'bicycle_store' },
- { name: 'Book Store', value: 'book_store' },
- { name: 'Bowling Alley', value: 'bowling_alley' },
- { name: 'Bus Station', value: 'bus_station' },
- { name: 'Cafe', value: 'cafe' },
- { name: 'Campground', value: 'campground' },
- { name: 'Car Dealer', value: 'car_dealer' },
- { name: 'Car Rental', value: 'car_rental' },
- { name: 'Car Repair', value: 'car_repair' },
- { name: 'Car Wash', value: 'car_wash' },
- { name: 'Casino', value: 'casino' },
- { name: 'Cemetery', value: 'cemetery' },
- { name: 'Church', value: 'church' },
- { name: 'City Hall', value: 'city_hall' },
- { name: 'Clothing Store', value: 'clothing_store' },
- { name: 'Convenience Store', value: 'convenience_store' },
- { name: 'Courthouse', value: 'courthouse' },
- { name: 'Dentist', value: 'dentist' },
- { name: 'Department Store', value: 'department_store' },
- { name: 'Doctor', value: 'doctor' },
- { name: 'Drugstore', value: 'drugstore' },
- { name: 'Electrician', value: 'electrician' },
- { name: 'Electronics Store', value: 'electronics_store' },
- { name: 'Embassy', value: 'embassy' },
- { name: 'Fire Station', value: 'fire_station' },
- { name: 'Florist', value: 'florist' },
- { name: 'Funeral Home', value: 'funeral_home' },
- { name: 'Furniture Store', value: 'furniture_store' },
- { name: 'Gas Station', value: 'gas_station' },
- { name: 'Gym', value: 'gym' },
- { name: 'Hair Care', value: 'hair_care' },
- { name: 'Hardware Store', value: 'hardware_store' },
- { name: 'Hindu Temple', value: 'hindu_temple' },
- { name: 'Home Goods Store', value: 'home_goods_store' },
- { name: 'Hospital', value: 'hospital' },
- { name: 'Insurance Agency', value: 'insurance_agency' },
- { name: 'Jewelry Store', value: 'jewelry_store' },
- { name: 'Laundry', value: 'laundry' },
- { name: 'Lawyer', value: 'lawyer' },
- { name: 'Library', value: 'library' },
- { name: 'Light Rail Station', value: 'light_rail_station' },
- { name: 'Liquor Store', value: 'liquor_store' },
- { name: 'Local Government Office', value: 'local_government_office' },
- { name: 'Locksmith', value: 'locksmith' },
- { name: 'Lodging', value: 'lodging' },
- { name: 'Meal Delivery', value: 'meal_delivery' },
- { name: 'Meal Takeaway', value: 'meal_takeaway' },
- { name: 'Mosque', value: 'mosque' },
- { name: 'Movie Rental', value: 'movie_rental' },
- { name: 'Movie Theater', value: 'movie_theater' },
- { name: 'Moving Company', value: 'moving_company' },
- { name: 'Museum', value: 'museum' },
- { name: 'Night Club', value: 'night_club' },
- { name: 'Painter', value: 'painter' },
- { name: 'Park', value: 'park' },
- { name: 'Parking', value: 'parking' },
- { name: 'Pet Store', value: 'pet_store' },
- { name: 'Pharmacy', value: 'pharmacy' },
- { name: 'Physiotherapist', value: 'physiotherapist' },
- { name: 'Plumber', value: 'plumber' },
- { name: 'Police', value: 'police' },
- { name: 'Post Office', value: 'post_office' },
- { name: 'Primary School', value: 'primary_school' },
- { name: 'Real Estate Agency', value: 'real_estate_agency' },
- { name: 'Restaurant', value: 'restaurant' },
- { name: 'Roofing Contractor', value: 'roofing_contractor' },
- { name: 'RV Park', value: 'rv_park' },
- { name: 'School', value: 'school' },
- { name: 'Secondary School', value: 'secondary_school' },
- { name: 'Shoe Store', value: 'shoe_store' },
- { name: 'Shopping Mall', value: 'shopping_mall' },
- { name: 'Spa', value: 'spa' },
- { name: 'Stadium', value: 'stadium' },
- { name: 'Storage', value: 'storage' },
- { name: 'Store', value: 'store' },
- { name: 'Subway Station', value: 'subway_station' },
- { name: 'Supermarket', value: 'supermarket' },
- { name: 'Synagogue', value: 'synagogue' },
- { name: 'Taxi Stand', value: 'taxi_stand' },
- { name: 'Tourist Attraction', value: 'tourist_attraction' },
- { name: 'Train Station', value: 'train_station' },
- { name: 'Transit Station', value: 'transit_station' },
- { name: 'Travel Agency', value: 'travel_agency' },
- { name: 'University', value: 'university' },
- { name: 'Veterinary Care', value: 'veterinary_care' },
- { name: 'Zoo', value: 'zoo' }
- ], default: 'restaurant', description: 'Google Places API place type filter' },
-
- {
- displayName: 'Options',
- name: 'options',
- type: 'collection',
- placeholder: 'Add Option',
- default: {},
- options: [
- {
- displayName: 'Keyword',
- name: 'keyword',
- type: 'string',
- default: '',
- placeholder: 'e.g., "pizza", "italian", "24 hour"',
- description: 'Keyword to match against place names and types'
- },
- {
- displayName: 'Name Filter',
- name: 'name',
- type: 'string',
- default: '',
- placeholder: 'e.g., "Starbucks", "McDonald\'s"',
- description: 'Match places with this name (equivalent to keyword but for names only)'
- },
- {
- displayName: 'Min Price Level',
- name: 'min_price',
- type: 'options',
- options: [
- { name: 'Any', value: '' },
- { name: 'Free (0)', value: 0 },
- { name: 'Inexpensive (1)', value: 1 },
- { name: 'Moderate (2)', value: 2 },
- { name: 'Expensive (3)', value: 3 },
- { name: 'Very Expensive (4)', value: 4 }
- ],
- default: '',
- description: 'Minimum price level (0-4)'
- },
- {
- displayName: 'Max Price Level',
- name: 'max_price',
- type: 'options',
- options: [
- { name: 'Any', value: '' },
- { name: 'Free (0)', value: 0 },
- { name: 'Inexpensive (1)', value: 1 },
- { name: 'Moderate (2)', value: 2 },
- { name: 'Expensive (3)', value: 3 },
- { name: 'Very Expensive (4)', value: 4 }
- ],
- default: '',
- description: 'Maximum price level (0-4)'
- },
- {
- displayName: 'Open Now',
- name: 'open_now',
- type: 'boolean',
- default: false,
- description: 'Only return places open at query time'
- },
- {
- displayName: 'Language',
- name: 'language',
- type: 'options',
- options: [
- { name: 'English', value: 'en' },
- { name: 'Spanish', value: 'es' },
- { name: 'French', value: 'fr' },
- { name: 'German', value: 'de' },
- { name: 'Italian', value: 'it' },
- { name: 'Portuguese', value: 'pt' },
- { name: 'Japanese', value: 'ja' },
- { name: 'Korean', value: 'ko' },
- { name: 'Chinese (Simplified)', value: 'zh-CN' },
- { name: 'Russian', value: 'ru' },
- { name: 'Arabic', value: 'ar' },
- { name: 'Hindi', value: 'hi' }
- ],
- default: 'en',
- description: 'Language for place names and information'
- },
- {
- displayName: 'Rank By',
- name: 'rank_by',
- type: 'options',
- options: [
- { name: 'Prominence (Default)', value: 'prominence' },
- { name: 'Distance', value: 'distance' }
- ],
- default: 'prominence',
- description: 'How to rank the results. When using distance, radius parameter is ignored.'
- },
- {
- displayName: 'Page Size',
- name: 'page_size',
- type: 'number',
- typeOptions: { minValue: 1, maxValue: 20 },
- default: 20,
- description: 'Number of results per page (max 20)'
- }
- ] as any
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/proxyNodes.ts b/client/src/nodeDefinitions/proxyNodes.ts
index 16a43439..2e1c212b 100644
--- a/client/src/nodeDefinitions/proxyNodes.ts
+++ b/client/src/nodeDefinitions/proxyNodes.ts
@@ -24,106 +24,8 @@ export const proxyNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'status, data, headers, proxy_provider, proxy_country'
}],
- properties: [
- {
- displayName: 'Method',
- name: 'method',
- type: 'options',
- default: 'GET',
- options: [
- { name: 'GET', value: 'GET' },
- { name: 'POST', value: 'POST' },
- { name: 'PUT', value: 'PUT' },
- { name: 'DELETE', value: 'DELETE' },
- { name: 'PATCH', value: 'PATCH' }
- ]
- },
- {
- displayName: 'URL',
- name: 'url',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'https://api.example.com/endpoint'
- },
- {
- displayName: 'Headers',
- name: 'headers',
- type: 'string',
- default: '{}',
- typeOptions: { rows: 3 },
- placeholder: '{"Authorization": "Bearer token"}'
- },
- {
- displayName: 'Body',
- name: 'body',
- type: 'string',
- default: '',
- typeOptions: { rows: 4 },
- placeholder: '{"key": "value"}',
- displayOptions: { show: { method: ['POST', 'PUT', 'PATCH'] } }
- },
- {
- displayName: 'Timeout (seconds)',
- name: 'timeout',
- type: 'number',
- default: 30,
- typeOptions: { minValue: 5, maxValue: 300 }
- },
-
- // ===== PROXY CONFIG =====
- {
- displayName: 'Proxy Provider',
- name: 'proxyProvider',
- type: 'string',
- default: '',
- placeholder: 'Auto-select (best score)',
- description: 'Provider name to use, or leave empty for auto-selection'
- },
- {
- displayName: 'Country',
- name: 'proxyCountry',
- type: 'string',
- default: '',
- placeholder: 'US',
- description: 'ISO 3166-1 alpha-2 country code for geo-targeting (e.g., US, GB, DE)'
- },
- {
- displayName: 'Session Type',
- name: 'sessionType',
- type: 'options',
- default: 'rotating',
- options: [
- { name: 'Rotating', value: 'rotating' },
- { name: 'Sticky', value: 'sticky' }
- ],
- description: 'Rotating: new IP per request. Sticky: same IP for duration.'
- },
- {
- displayName: 'Sticky Duration (seconds)',
- name: 'stickyDuration',
- type: 'number',
- default: 300,
- typeOptions: { minValue: 30, maxValue: 3600 },
- displayOptions: { show: { sessionType: ['sticky'] } },
- description: 'How long to maintain the same IP address'
- },
- {
- displayName: 'Max Retries',
- name: 'maxRetries',
- type: 'number',
- default: 3,
- typeOptions: { minValue: 0, maxValue: 10 },
- description: 'Number of retry attempts on failure (with failover to other providers)'
- },
- {
- displayName: 'Follow Redirects',
- name: 'followRedirects',
- type: 'boolean',
- default: true,
- description: 'Automatically follow HTTP redirects'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
proxyConfig: {
@@ -141,154 +43,8 @@ export const proxyNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Operation result'
}],
- properties: [
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- default: 'list_providers',
- required: true,
- options: [
- { name: 'List Providers', value: 'list_providers' },
- { name: 'Add Provider', value: 'add_provider' },
- { name: 'Update Provider', value: 'update_provider' },
- { name: 'Remove Provider', value: 'remove_provider' },
- { name: 'Set Credentials', value: 'set_credentials' },
- { name: 'Test Provider', value: 'test_provider' },
- { name: 'Get Stats', value: 'get_stats' },
- { name: 'Add Routing Rule', value: 'add_routing_rule' },
- { name: 'List Routing Rules', value: 'list_routing_rules' },
- { name: 'Remove Routing Rule', value: 'remove_routing_rule' }
- ]
- },
- // Provider fields
- {
- displayName: 'Provider Name',
- name: 'name',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'my_proxy_provider',
- description: 'Unique name for the proxy provider',
- displayOptions: { show: { operation: ['add_provider', 'update_provider', 'remove_provider', 'set_credentials', 'test_provider'] } }
- },
- {
- displayName: 'Gateway Host',
- name: 'gateway_host',
- type: 'string',
- default: '',
- placeholder: 'gate.example.com',
- description: 'Proxy gateway hostname',
- displayOptions: { show: { operation: ['add_provider', 'update_provider'] } }
- },
- {
- displayName: 'Gateway Port',
- name: 'gateway_port',
- type: 'number',
- default: 0,
- placeholder: '7777',
- description: 'Proxy gateway port',
- displayOptions: { show: { operation: ['add_provider', 'update_provider'] } }
- },
- {
- displayName: 'URL Template (JSON)',
- name: 'url_template',
- type: 'string',
- default: '{}',
- typeOptions: { rows: 6 },
- description: 'JSON template config for proxy URL encoding',
- displayOptions: { show: { operation: ['add_provider', 'update_provider'] } }
- },
- {
- displayName: 'Cost per GB (USD)',
- name: 'cost_per_gb',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0, maxValue: 100 },
- description: 'Cost per gigabyte in USD',
- displayOptions: { show: { operation: ['add_provider', 'update_provider'] } }
- },
- {
- displayName: 'Priority',
- name: 'priority',
- type: 'number',
- default: 50,
- typeOptions: { minValue: 0, maxValue: 100 },
- description: 'Provider priority (lower = preferred)',
- displayOptions: { show: { operation: ['add_provider', 'update_provider'] } }
- },
- {
- displayName: 'Enabled',
- name: 'enabled',
- type: 'boolean',
- default: true,
- displayOptions: { show: { operation: ['add_provider', 'update_provider'] } }
- },
- // Credential fields
- {
- displayName: 'Username',
- name: 'username',
- type: 'string',
- default: '',
- description: 'Proxy username',
- displayOptions: { show: { operation: ['set_credentials'] } }
- },
- {
- displayName: 'Password',
- name: 'password',
- type: 'string',
- default: '',
- description: 'Proxy password',
- displayOptions: { show: { operation: ['set_credentials'] } }
- },
- // Routing rule fields
- {
- displayName: 'Domain Pattern',
- name: 'domain_pattern',
- type: 'string',
- default: '',
- placeholder: '*.linkedin.com',
- description: 'Domain glob pattern for routing (e.g., *.linkedin.com, *)',
- displayOptions: { show: { operation: ['add_routing_rule'] } }
- },
- {
- displayName: 'Preferred Providers (JSON)',
- name: 'preferred_providers',
- type: 'string',
- default: '[]',
- placeholder: '["provider1", "provider2"]',
- description: 'JSON array of preferred provider names',
- displayOptions: { show: { operation: ['add_routing_rule'] } }
- },
- {
- displayName: 'Required Country',
- name: 'required_country',
- type: 'string',
- default: '',
- placeholder: 'US',
- description: 'ISO country code required for this domain',
- displayOptions: { show: { operation: ['add_routing_rule'] } }
- },
- {
- displayName: 'Session Type',
- name: 'session_type',
- type: 'options',
- default: 'rotating',
- options: [
- { name: 'Rotating', value: 'rotating' },
- { name: 'Sticky', value: 'sticky' }
- ],
- displayOptions: { show: { operation: ['add_routing_rule'] } }
- },
- {
- displayName: 'Rule ID',
- name: 'rule_id',
- type: 'number',
- default: 0,
- description: 'ID of the routing rule to remove',
- displayOptions: { show: { operation: ['remove_routing_rule'] } }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
proxyStatus: {
@@ -306,16 +62,8 @@ export const proxyNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'providers, routing_rules, stats'
}],
- properties: [
- {
- displayName: 'Provider',
- name: 'providerFilter',
- type: 'string',
- default: '',
- placeholder: 'All providers',
- description: 'Filter by specific provider name, or leave empty for all'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/searchNodes.ts b/client/src/nodeDefinitions/searchNodes.ts
index fede275e..efa8e91d 100644
--- a/client/src/nodeDefinitions/searchNodes.ts
+++ b/client/src/nodeDefinitions/searchNodes.ts
@@ -41,72 +41,8 @@ export const searchNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== TOOL CONFIG =====
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'brave_search',
- description: 'Name of this tool when used by AI Agent'
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Search the web using Brave Search. Returns web results with titles, snippets, and URLs.',
- description: 'Description shown to AI Agent'
- },
-
- // ===== SEARCH QUERY =====
- {
- displayName: 'Search Query',
- name: 'query',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'What is the latest news about AI?',
- description: 'Search query to look up on the web'
- },
-
- // ===== RESULT OPTIONS =====
- {
- displayName: 'Max Results',
- name: 'maxResults',
- type: 'number',
- default: 10,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Maximum number of results to return (1-100)'
- },
- {
- displayName: 'Country',
- name: 'country',
- type: 'string',
- default: '',
- placeholder: 'US',
- description: 'Country code for localized results (e.g., US, GB, DE). Leave empty for global.'
- },
- {
- displayName: 'Search Language',
- name: 'searchLang',
- type: 'string',
- default: '',
- placeholder: 'en',
- description: 'Language code for results (e.g., en, fr, de). Leave empty for default.'
- },
- {
- displayName: 'Safe Search',
- name: 'safeSearch',
- type: 'options',
- options: [
- { name: 'Off', value: 'off' },
- { name: 'Moderate', value: 'moderate' },
- { name: 'Strict', value: 'strict' }
- ],
- default: 'moderate',
- description: 'Safe search filter level'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Serper Search - Google-powered search via Serper API
@@ -139,75 +75,8 @@ export const searchNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== TOOL CONFIG =====
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'serper_search',
- description: 'Name of this tool when used by AI Agent'
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Search the web using Google via Serper API. Returns web results with titles, snippets, and URLs.',
- description: 'Description shown to AI Agent'
- },
-
- // ===== SEARCH QUERY =====
- {
- displayName: 'Search Query',
- name: 'query',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'best restaurants in New York',
- description: 'Search query to look up on Google'
- },
-
- // ===== SEARCH TYPE =====
- {
- displayName: 'Search Type',
- name: 'searchType',
- type: 'options',
- options: [
- { name: 'Web Search', value: 'search' },
- { name: 'News', value: 'news' },
- { name: 'Images', value: 'images' },
- { name: 'Places', value: 'places' }
- ],
- default: 'search',
- description: 'Type of search to perform'
- },
-
- // ===== RESULT OPTIONS =====
- {
- displayName: 'Max Results',
- name: 'maxResults',
- type: 'number',
- default: 10,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Maximum number of results to return (1-100)'
- },
- {
- displayName: 'Country',
- name: 'country',
- type: 'string',
- default: '',
- placeholder: 'us',
- description: 'Country code for localized results (e.g., us, gb, de). Leave empty for global.'
- },
- {
- displayName: 'Language',
- name: 'language',
- type: 'string',
- default: '',
- placeholder: 'en',
- description: 'Language code for results (e.g., en, fr, de). Leave empty for default.'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Perplexity Search - AI-powered search via Perplexity Sonar API
@@ -240,79 +109,8 @@ export const searchNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== TOOL CONFIG =====
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'perplexity_search',
- description: 'Name of this tool when used by AI Agent'
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Search the web using Perplexity Sonar AI. Returns an AI-generated answer with citations and source URLs.',
- description: 'Description shown to AI Agent'
- },
-
- // ===== SEARCH QUERY =====
- {
- displayName: 'Search Query',
- name: 'query',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'What are the latest developments in quantum computing?',
- description: 'Search query to get AI-powered answer with citations'
- },
-
- // ===== MODEL =====
- {
- displayName: 'Model',
- name: 'model',
- type: 'options',
- options: [
- { name: 'Sonar (Default)', value: 'sonar' },
- { name: 'Sonar Pro', value: 'sonar-pro' },
- { name: 'Sonar Reasoning', value: 'sonar-reasoning' },
- { name: 'Sonar Reasoning Pro', value: 'sonar-reasoning-pro' }
- ],
- default: 'sonar',
- description: 'Perplexity Sonar model to use'
- },
-
- // ===== OPTIONS =====
- {
- displayName: 'Search Recency Filter',
- name: 'searchRecencyFilter',
- type: 'options',
- options: [
- { name: 'None', value: '' },
- { name: 'Last Month', value: 'month' },
- { name: 'Last Week', value: 'week' },
- { name: 'Last Day', value: 'day' },
- { name: 'Last Hour', value: 'hour' }
- ],
- default: '',
- description: 'Filter results by recency'
- },
- {
- displayName: 'Return Images',
- name: 'returnImages',
- type: 'boolean',
- default: false,
- description: 'Include images in the response'
- },
- {
- displayName: 'Return Related Questions',
- name: 'returnRelatedQuestions',
- type: 'boolean',
- default: false,
- description: 'Include related questions in the response'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/skillNodes.ts b/client/src/nodeDefinitions/skillNodes.ts
index 31f06b93..e007184a 100644
--- a/client/src/nodeDefinitions/skillNodes.ts
+++ b/client/src/nodeDefinitions/skillNodes.ts
@@ -35,22 +35,8 @@ export const skillNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Connect to AI Agent skill handle'
}],
- properties: [
- {
- displayName: 'Skill Folder',
- name: 'skillFolder',
- type: 'string',
- default: 'assistant',
- description: 'Subfolder under server/skills/ to scan for skills.'
- },
- {
- displayName: 'Skills Configuration',
- name: 'skillsConfig',
- type: 'json',
- default: {},
- description: 'Enabled skills and their instructions'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/specializedAgentNodes.ts b/client/src/nodeDefinitions/specializedAgentNodes.ts
index 108ab38e..0a5dcf5c 100644
--- a/client/src/nodeDefinitions/specializedAgentNodes.ts
+++ b/client/src/nodeDefinitions/specializedAgentNodes.ts
@@ -341,21 +341,8 @@ export const specializedAgentNodes: Record<string, INodeTypeDescription> = {
{ name: 'teammates', displayName: 'Team', type: 'main' as NodeConnectionType, description: 'Connect teammate agents for team mode' }
],
outputs: AI_AGENT_OUTPUTS,
- properties: [
- ...AI_AGENT_PROPERTIES,
- {
- displayName: 'Team Mode',
- name: 'teamMode',
- type: 'options',
- options: [
- { name: 'Disabled', value: '' },
- { name: 'Parallel', value: 'parallel' },
- { name: 'Sequential', value: 'sequential' }
- ],
- default: '',
- description: 'Enable team mode to coordinate connected teammate agents'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// AI Employee - Team lead node for coordinating multiple agents
@@ -373,28 +360,8 @@ export const specializedAgentNodes: Record<string, INodeTypeDescription> = {
{ name: 'teammates', displayName: 'Team', type: 'main' as NodeConnectionType, description: 'Connect teammate agents' }
],
outputs: AI_AGENT_OUTPUTS,
- properties: [
- ...AI_AGENT_PROPERTIES,
- {
- displayName: 'Team Mode',
- name: 'teamMode',
- type: 'options',
- options: [
- { name: 'Parallel', value: 'parallel' },
- { name: 'Sequential', value: 'sequential' }
- ],
- default: 'parallel',
- description: 'How teammates process tasks'
- },
- {
- displayName: 'Max Concurrent',
- name: 'maxConcurrent',
- type: 'number',
- default: 5,
- typeOptions: { minValue: 1, maxValue: 20 },
- description: 'Maximum concurrent task executions'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// RLM Agent - Recursive Language Model with REPL-based reasoning
@@ -409,48 +376,8 @@ export const specializedAgentNodes: Record<string, INodeTypeDescription> = {
defaults: { name: 'RLM Agent', color: dracula.orange },
inputs: AI_AGENT_INPUTS,
outputs: AI_AGENT_OUTPUTS,
- properties: [
- ...AI_AGENT_PROPERTIES,
- {
- displayName: 'Max Iterations',
- name: 'maxIterations',
- type: 'number',
- default: 30,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Maximum REPL loop iterations before stopping'
- },
- {
- displayName: 'Max Depth',
- name: 'maxDepth',
- type: 'number',
- default: 1,
- typeOptions: { minValue: 0, maxValue: 5 },
- description: 'Maximum recursion depth for rlm_query() calls'
- },
- {
- displayName: 'Max Budget ($)',
- name: 'maxBudget',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0 },
- description: 'Maximum USD spend (0 = unlimited)'
- },
- {
- displayName: 'Max Timeout (s)',
- name: 'maxTimeout',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0 },
- description: 'Maximum execution time in seconds (0 = unlimited)'
- },
- {
- displayName: 'Verbose',
- name: 'verbose',
- type: 'boolean',
- default: false,
- description: 'Enable detailed REPL output logging'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
claude_code_agent: {
@@ -464,67 +391,8 @@ export const specializedAgentNodes: Record<string, INodeTypeDescription> = {
defaults: { name: 'Claude Code Agent', color: dracula.cyan },
inputs: AI_AGENT_INPUTS,
outputs: AI_AGENT_OUTPUTS,
- properties: [
- {
- displayName: 'Prompt',
- name: 'prompt',
- type: 'string' as any,
- default: '',
- required: true,
- description: 'Task or instruction for Claude Code',
- typeOptions: { rows: 4 },
- },
- {
- displayName: 'Model',
- name: 'model',
- type: 'options' as any,
- default: 'claude-sonnet-4-6',
- options: [
- { name: 'Claude Opus 4.6', value: 'claude-opus-4-6' },
- { name: 'Claude Sonnet 4.6', value: 'claude-sonnet-4-6' },
- { name: 'Claude Haiku 4.5', value: 'claude-haiku-4-5' },
- ],
- description: 'Claude model to use',
- },
- {
- displayName: 'System Prompt',
- name: 'systemPrompt',
- type: 'string' as any,
- default: '',
- description: 'Additional system instructions appended to Claude Code',
- typeOptions: { rows: 3 },
- },
- {
- displayName: 'Allowed Tools',
- name: 'allowedTools',
- type: 'string' as any,
- default: 'Read,Edit,Bash,Glob,Grep,Write',
- description: 'Comma-separated Claude Code tools (Read,Edit,Bash,Glob,Grep,Write,WebSearch,WebFetch)',
- },
- {
- displayName: 'Max Turns',
- name: 'maxTurns',
- type: 'number' as any,
- default: 10,
- typeOptions: { minValue: 1, maxValue: 50 },
- description: 'Maximum agentic iterations',
- },
- {
- displayName: 'Max Budget (USD)',
- name: 'maxBudgetUsd',
- type: 'number' as any,
- default: 5.0,
- typeOptions: { minValue: 0, maxValue: 100, numberStepSize: 0.5 },
- description: 'Maximum USD spend per execution (0 = unlimited)',
- },
- {
- displayName: 'Working Directory',
- name: 'workingDirectory',
- type: 'string' as any,
- default: '',
- description: 'Working directory for Claude Code (empty = server default)',
- },
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Deep Agent - LangChain DeepAgents powered agent with filesystem, sub-agents, and planning
@@ -542,17 +410,8 @@ export const specializedAgentNodes: Record<string, INodeTypeDescription> = {
{ name: 'teammates', displayName: 'Team', type: 'main' as NodeConnectionType, description: 'Connect agents for sub-agent delegation via task tool' }
],
outputs: AI_AGENT_OUTPUTS,
- properties: [
- ...AI_AGENT_PROPERTIES,
- {
- displayName: 'Max Turns',
- name: 'maxTurns',
- type: 'number' as any,
- default: 200,
- typeOptions: { minValue: 1, maxValue: 500 },
- description: 'Maximum agentic loop iterations',
- },
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/toolNodes.ts b/client/src/nodeDefinitions/toolNodes.ts
index f27696f7..7c77e070 100644
--- a/client/src/nodeDefinitions/toolNodes.ts
+++ b/client/src/nodeDefinitions/toolNodes.ts
@@ -27,24 +27,8 @@ export const toolNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Connect to AI Agent tool handle'
}],
- properties: [
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'calculator',
- required: true,
- description: 'Name the AI will use to call this tool'
- },
- {
- displayName: 'Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Perform mathematical calculations. Operations: add, subtract, multiply, divide, power, sqrt, mod, abs',
- typeOptions: { rows: 2 },
- description: 'Describe the tool capabilities for the AI'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Current Time Tool - allows AI Agent to get current date and time
@@ -64,32 +48,8 @@ export const toolNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Connect to AI Agent tool handle'
}],
- properties: [
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'get_current_time',
- required: true,
- description: 'Name the AI will use to call this tool'
- },
- {
- displayName: 'Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Get the current date and time. Optionally specify timezone.',
- typeOptions: { rows: 2 },
- description: 'Describe the tool capabilities for the AI'
- },
- {
- displayName: 'Default Timezone',
- name: 'timezone',
- type: 'string',
- default: 'UTC',
- placeholder: 'America/New_York',
- description: 'Default timezone (e.g., UTC, America/New_York, Europe/London)'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// DuckDuckGo Search Tool - allows AI Agent to search the web (free, no API key)
@@ -109,32 +69,8 @@ export const toolNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Connect to AI Agent tool handle'
}],
- properties: [
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'web_search',
- required: true,
- description: 'Name the AI will use to call this tool'
- },
- {
- displayName: 'Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Search the web for information. Returns relevant search results.',
- typeOptions: { rows: 2 },
- description: 'Describe the tool capabilities for the AI'
- },
- {
- displayName: 'Max Results',
- name: 'maxResults',
- type: 'number',
- default: 5,
- typeOptions: { minValue: 1, maxValue: 10 },
- description: 'Maximum number of results to return'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Task Manager Tool - allows AI Agent to track and manage delegated tasks
@@ -162,65 +98,8 @@ export const toolNodes: Record<string, INodeTypeDescription> = {
description: 'Task list output for workflow use'
}
],
- properties: [
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'task_manager',
- description: 'Name visible to the AI agent'
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Manage delegated tasks - list active/completed tasks, check task status, mark tasks done',
- typeOptions: { rows: 2 },
- description: 'Description for the AI agent'
- },
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'List Tasks', value: 'list_tasks' },
- { name: 'Get Task', value: 'get_task' },
- { name: 'Mark Done', value: 'mark_done' }
- ],
- default: 'list_tasks',
- description: 'Operation to perform when run as workflow node'
- },
- {
- displayName: 'Task ID',
- name: 'task_id',
- type: 'string',
- default: '',
- description: 'Task ID for get_task/mark_done operations',
- displayOptions: {
- show: {
- operation: ['get_task', 'mark_done']
- }
- }
- },
- {
- displayName: 'Status Filter',
- name: 'status_filter',
- type: 'options',
- options: [
- { name: 'All', value: '' },
- { name: 'Running', value: 'running' },
- { name: 'Completed', value: 'completed' },
- { name: 'Error', value: 'error' }
- ],
- default: '',
- description: 'Filter tasks by status',
- displayOptions: {
- show: {
- operation: ['list_tasks']
- }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// Write Todos Tool - allows AI Agent to plan and track complex multi-step tasks
@@ -248,23 +127,8 @@ export const toolNodes: Record<string, INodeTypeDescription> = {
description: 'Todo list output for workflow use'
}
],
- properties: [
- {
- displayName: 'Tool Name',
- name: 'toolName',
- type: 'string',
- default: 'write_todos',
- description: 'Name visible to the AI agent'
- },
- {
- displayName: 'Tool Description',
- name: 'toolDescription',
- type: 'string',
- default: 'Create and manage a structured task list. Use for complex multi-step tasks (3+ steps). Each todo has content and status (pending, in_progress, completed).',
- typeOptions: { rows: 3 },
- description: 'Description for the AI agent'
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
}
};
diff --git a/client/src/nodeDefinitions/whatsappNodes.ts b/client/src/nodeDefinitions/whatsappNodes.ts
index 2acd69fc..c774388e 100644
--- a/client/src/nodeDefinitions/whatsappNodes.ts
+++ b/client/src/nodeDefinitions/whatsappNodes.ts
@@ -105,312 +105,8 @@ export const whatsappNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== RECIPIENT =====
- {
- displayName: 'Send To',
- name: 'recipient_type',
- type: 'options',
- options: [
- { name: 'Self (Connected Phone)', value: 'self' },
- { name: 'Phone Number', value: 'phone' },
- { name: 'Group', value: 'group' },
- { name: 'Channel', value: 'channel' }
- ],
- default: 'self',
- description: 'Send to self, individual, group, or channel (newsletter)'
- },
- {
- displayName: 'Phone Number',
- name: 'phone',
- type: 'string',
- default: '',
- required: true,
- placeholder: '1234567890',
- description: 'Recipient phone number (without + prefix)',
- displayOptions: {
- show: { recipient_type: ['phone'] }
- }
- },
- {
- displayName: 'Group',
- name: 'group_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: '[email protected]',
- description: 'Group JID to send message to (use Load button to select)',
- typeOptions: { loadOptionsMethod: 'whatsappGroups' },
- displayOptions: {
- show: { recipient_type: ['group'] }
- }
- },
- {
- displayName: 'Channel',
- name: 'channel_jid',
- type: 'string',
- default: '',
- required: true,
- placeholder: '120363198765432101@newsletter',
- description: 'Newsletter JID (use Load button to select). Admin/owner role required to send.',
- typeOptions: { loadOptionsMethod: 'whatsappChannels' },
- displayOptions: {
- show: { recipient_type: ['channel'] }
- }
- },
-
- // ===== MESSAGE TYPE =====
- {
- displayName: 'Message Type',
- name: 'message_type',
- type: 'options',
- options: [
- { name: 'Text', value: 'text' },
- { name: 'Image', value: 'image' },
- { name: 'Video', value: 'video' },
- { name: 'Audio', value: 'audio' },
- { name: 'Document', value: 'document' },
- { name: 'Sticker', value: 'sticker' },
- { name: 'Location', value: 'location' },
- { name: 'Contact', value: 'contact' }
- ],
- default: 'text',
- description: 'Type of message to send. Channels only support: text, image, video, audio, document.'
- },
-
- // ===== TEXT MESSAGE =====
- {
- displayName: 'Message',
- name: 'message',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { rows: 4 },
- description: 'Text message content',
- placeholder: 'Enter your message...',
- displayOptions: {
- show: { message_type: ['text'] }
- }
- },
-
- // ===== FORMAT OPTIONS =====
- {
- displayName: 'Format Markdown',
- name: 'format_markdown',
- type: 'boolean',
- default: true,
- description: 'Convert LLM markdown (bold, italic, code, lists) to WhatsApp-native formatting',
- displayOptions: {
- show: { message_type: ['text'] }
- }
- },
-
- // ===== MEDIA MESSAGES (image, video, audio, document, sticker) =====
- {
- displayName: 'Media Source',
- name: 'media_source',
- type: 'options',
- options: [
- { name: 'Base64 Data', value: 'base64' },
- { name: 'File Path', value: 'file' },
- { name: 'URL', value: 'url' }
- ],
- default: 'base64',
- description: 'Source of media data',
- displayOptions: {
- show: { message_type: ['image', 'video', 'audio', 'document', 'sticker'] }
- }
- },
- {
- displayName: 'Media Data (Base64)',
- name: 'media_data',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { rows: 3 },
- description: 'Base64-encoded media data',
- displayOptions: {
- show: { message_type: ['image', 'video', 'audio', 'document', 'sticker'], media_source: ['base64'] }
- }
- },
- {
- displayName: 'File',
- name: 'file_path',
- type: 'file',
- default: '',
- required: true,
- placeholder: '/path/to/file.jpg',
- description: 'Upload a file or enter server path',
- typeOptions: {
- accept: '*/*'
- },
- displayOptions: {
- show: { message_type: ['image', 'video', 'audio', 'document', 'sticker'], media_source: ['file'] }
- }
- },
- {
- displayName: 'Media URL',
- name: 'media_url',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'https://example.com/image.jpg',
- description: 'URL to download media from',
- displayOptions: {
- show: { message_type: ['image', 'video', 'audio', 'document', 'sticker'], media_source: ['url'] }
- }
- },
- {
- displayName: 'MIME Type',
- name: 'mime_type',
- type: 'string',
- default: '',
- placeholder: 'image/jpeg, video/mp4, audio/ogg',
- description: 'MIME type of the media (auto-detected if empty)',
- displayOptions: {
- show: { message_type: ['image', 'video', 'audio', 'document', 'sticker'] }
- }
- },
- {
- displayName: 'Caption',
- name: 'caption',
- type: 'string',
- default: '',
- typeOptions: { rows: 2 },
- description: 'Optional caption for media',
- displayOptions: {
- show: { message_type: ['image', 'video', 'document'] }
- }
- },
- {
- displayName: 'Filename',
- name: 'filename',
- type: 'string',
- default: '',
- placeholder: 'document.pdf',
- description: 'Filename for document',
- displayOptions: {
- show: { message_type: ['document'] }
- }
- },
-
- // ===== LOCATION MESSAGE =====
- {
- displayName: 'Latitude',
- name: 'latitude',
- type: 'number',
- default: 0,
- required: true,
- description: 'Location latitude',
- displayOptions: {
- show: { message_type: ['location'] }
- }
- },
- {
- displayName: 'Longitude',
- name: 'longitude',
- type: 'number',
- default: 0,
- required: true,
- description: 'Location longitude',
- displayOptions: {
- show: { message_type: ['location'] }
- }
- },
- {
- displayName: 'Location Name',
- name: 'location_name',
- type: 'string',
- default: '',
- placeholder: 'San Francisco',
- description: 'Display name for location',
- displayOptions: {
- show: { message_type: ['location'] }
- }
- },
- {
- displayName: 'Address',
- name: 'address',
- type: 'string',
- default: '',
- placeholder: 'California, USA',
- description: 'Address text',
- displayOptions: {
- show: { message_type: ['location'] }
- }
- },
-
- // ===== CONTACT MESSAGE =====
- {
- displayName: 'Contact Name',
- name: 'contact_name',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'John Doe',
- description: 'Display name for contact',
- displayOptions: {
- show: { message_type: ['contact'] }
- }
- },
- {
- displayName: 'Contact vCard',
- name: 'vcard',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { rows: 4 },
- placeholder: 'BEGIN:VCARD\nVERSION:3.0\nFN:John Doe\nTEL:+1234567890\nEND:VCARD',
- description: 'vCard 3.0 format string',
- displayOptions: {
- show: { message_type: ['contact'] }
- }
- },
-
- // ===== REPLY (QUOTE) =====
- {
- displayName: 'Reply To Message',
- name: 'is_reply',
- type: 'boolean',
- default: false,
- description: 'Quote an existing message'
- },
- {
- displayName: 'Reply Message ID',
- name: 'reply_message_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'ABC123DEF456',
- description: 'ID of message to reply to',
- displayOptions: {
- show: { is_reply: [true] }
- }
- },
- {
- displayName: 'Reply Sender',
- name: 'reply_sender',
- type: 'string',
- default: '',
- required: true,
- placeholder: '[email protected]',
- description: 'Sender JID of quoted message',
- displayOptions: {
- show: { is_reply: [true] }
- }
- },
- {
- displayName: 'Reply Preview',
- name: 'reply_content',
- type: 'string',
- default: '',
- placeholder: 'Original message text...',
- description: 'Text preview of quoted message',
- displayOptions: {
- show: { is_reply: [true] }
- }
- }
- ]
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
},
// WhatsApp Receive Message - triggers workflow on incoming messages
@@ -430,137 +126,8 @@ export const whatsappNodes: Record<string, INodeTypeDescription> = {
type: 'main' as NodeConnectionType,
description: 'Received message data (message_id, sender, sender_phone, chat_id, message_type, text, timestamp, is_group, is_from_me, group_info.sender_jid, group_info.sender_phone, group_info.sender_name)'
}],
- properties: [
- // ===== MESSAGE TYPE FILTER =====
- {
- displayName: 'Message Type',
- name: 'messageTypeFilter',
- type: 'options',
- options: [
- { name: 'All Types', value: 'all' },
- { name: 'Text Only', value: 'text' },
- { name: 'Image Only', value: 'image' },
- { name: 'Video Only', value: 'video' },
- { name: 'Audio Only', value: 'audio' },
- { name: 'Document Only', value: 'document' },
- { name: 'Location Only', value: 'location' },
- { name: 'Contact Only', value: 'contact' }
- ],
- default: 'all',
- description: 'Filter by message content type'
- },
-
- // ===== SENDER FILTER =====
- {
- displayName: 'Sender Filter',
- name: 'filter',
- type: 'options',
- options: [
- { name: 'All Messages', value: 'all' },
- { name: 'From Self (Connected Phone)', value: 'self' },
- { name: 'From Any Contact (Non-Group)', value: 'any_contact' },
- { name: 'From Specific Contact', value: 'contact' },
- { name: 'From Specific Group', value: 'group' },
- { name: 'From Channel (Newsletter)', value: 'channel' },
- { name: 'Contains Keywords', value: 'keywords' }
- ],
- default: 'all',
- description: 'Filter which messages trigger the workflow'
- },
- {
- displayName: 'Contact Phone',
- name: 'contactPhone',
- type: 'string',
- default: '',
- required: true,
- displayOptions: {
- show: { filter: ['contact'] }
- },
- placeholder: '1234567890',
- description: 'Phone number to filter messages from (without + prefix)'
- },
- {
- displayName: 'Group',
- name: 'group_id',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { loadOptionsMethod: 'whatsappGroups' },
- displayOptions: {
- show: { filter: ['group'] }
- },
- placeholder: '[email protected]',
- description: 'Group JID to filter messages from (use Load button to select)'
- },
- {
- displayName: 'Sender Number',
- name: 'senderNumber',
- type: 'string',
- default: '',
- typeOptions: { loadOptionsMethod: 'whatsappGroupMembers', loadOptionsDependsOn: ['group_id'] },
- displayOptions: {
- show: { filter: ['group'] }
- },
- placeholder: '1234567890',
- description: 'Optional: Filter by sender phone number (use Load button to select from group members)'
- },
- {
- displayName: 'Channel',
- name: 'channel_jid',
- type: 'string',
- default: '',
- required: true,
- typeOptions: { loadOptionsMethod: 'whatsappChannels' },
- displayOptions: {
- show: { filter: ['channel'] }
- },
- placeholder: '120363198765432101@newsletter',
- description: 'Newsletter JID to receive messages from (use Load button to select)'
- },
- {
- displayName: 'Keywords',
- name: 'keywords',
- type: 'string',
- default: '',
- required: true,
- displayOptions: {
- show: { filter: ['keywords'] }
- },
- placeholder: 'help, support, info',
- description: 'Comma-separated keywords to trigger on (case-insensitive)'
- },
-
- // ===== OPTIONS =====
- {
- displayName: 'Ignore Own Messages',
- name: 'ignoreOwnMessages',
- type: 'boolean',
- default: true,
- description: 'Do not trigger on messages sent by this device',
- displayOptions: {
- show: { filter: ['all', 'any_contact', 'contact', 'group', 'channel', 'keywords'] }
- }
- },
- {
- displayName: 'Forwarded Messages',
- name: 'forwardedFilter',
- type: 'options',
- options: [
- { name: 'Include All', value: 'all' },
- { name: 'Only Forwarded', value: 'only_forwarded' },
- { name: 'Ignore Forwarded', value: 'ignore_forwarded' }
- ],
- default: 'all',
- description: 'Filter messages based on forwarded status'
- },
- {
- displayName: 'Include Media Data',
- name: 'includeMediaData',
- type: 'boolean',
- default: false,
- description: 'Include base64 media data in output (increases memory usage)'
- }
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
methods: {
loadOptions: {
async getWhatsAppGroups(): Promise<Array<{name: string, value: string, description?: string}>> {
@@ -681,421 +248,8 @@ export const whatsappNodes: Record<string, INodeTypeDescription> = {
description: 'Connect to AI Agent tool handle'
}
],
- properties: [
- // ===== OPERATION SELECTOR =====
- {
- displayName: 'Operation',
- name: 'operation',
- type: 'options',
- options: [
- { name: 'Chat History', value: 'chat_history' },
- { name: 'Search Groups', value: 'search_groups' },
- { name: 'Get Group Info', value: 'get_group_info' },
- { name: 'Get Contact Info', value: 'get_contact_info' },
- { name: 'List Contacts', value: 'list_contacts' },
- { name: 'Check Contacts', value: 'check_contacts' },
- { name: 'List Channels', value: 'list_channels' },
- { name: 'Get Channel Info', value: 'get_channel_info' },
- { name: 'Channel Messages', value: 'channel_messages' },
- { name: 'Channel Stats', value: 'channel_stats' },
- { name: 'Follow Channel', value: 'channel_follow' },
- { name: 'Unfollow Channel', value: 'channel_unfollow' },
- { name: 'Create Channel', value: 'channel_create' },
- { name: 'Mute/Unmute Channel', value: 'channel_mute' },
- { name: 'Mark Channel Viewed', value: 'channel_mark_viewed' },
- { name: 'React to Channel Message', value: 'newsletter_react' },
- { name: 'Channel Live Updates', value: 'newsletter_live_updates' },
- { name: 'Contact Profile Picture', value: 'contact_profile_pic' }
- ],
- default: 'chat_history',
- description: 'Operation to perform'
- },
-
- // ===== CHAT HISTORY PARAMETERS =====
- {
- displayName: 'Chat Type',
- name: 'chat_type',
- type: 'options',
- options: [
- { name: 'Individual Chat', value: 'individual' },
- { name: 'Group Chat', value: 'group' }
- ],
- default: 'individual',
- description: 'Type of chat to retrieve history from',
- displayOptions: {
- show: { operation: ['chat_history'] }
- }
- },
- {
- displayName: 'Phone Number',
- name: 'phone',
- type: 'string',
- default: '',
- required: true,
- placeholder: '1234567890',
- description: 'Phone number of the contact (without + prefix)',
- displayOptions: {
- show: { operation: ['chat_history'], chat_type: ['individual'] }
- }
- },
- {
- displayName: 'Group',
- name: 'group_id',
- type: 'string',
- default: '',
- required: true,
- placeholder: '[email protected]',
- description: 'Group JID',
- typeOptions: { loadOptionsMethod: 'whatsappGroups' },
- displayOptions: {
- show: { operation: ['chat_history', 'get_group_info'], chat_type: ['group'] }
- }
- },
- {
- displayName: 'Message Filter',
- name: 'group_filter',
- type: 'options',
- options: [
- { name: 'All Messages', value: 'all' },
- { name: 'From Specific Contact', value: 'contact' }
- ],
- default: 'all',
- description: 'Filter messages in group',
- displayOptions: {
- show: { operation: ['chat_history'], chat_type: ['group'] }
- }
- },
- {
- displayName: 'Sender Phone',
- name: 'sender_phone',
- type: 'string',
- default: '',
- placeholder: '1234567890',
- description: 'Filter messages from specific group member',
- displayOptions: {
- show: { operation: ['chat_history'], chat_type: ['group'], group_filter: ['contact'] }
- }
- },
- {
- displayName: 'Message Type',
- name: 'message_filter',
- type: 'options',
- options: [
- { name: 'All Types', value: 'all' },
- { name: 'Text Only', value: 'text_only' }
- ],
- default: 'all',
- description: 'Filter by message type',
- displayOptions: {
- show: { operation: ['chat_history'] }
- }
- },
- {
- displayName: 'Limit',
- name: 'limit',
- type: 'number',
- default: 50,
- typeOptions: { minValue: 1, maxValue: 500 },
- description: 'Maximum number of messages to retrieve (1-500)',
- displayOptions: {
- show: { operation: ['chat_history'] }
- }
- },
- {
- displayName: 'Offset',
- name: 'offset',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0 },
- description: 'Number of messages to skip (for pagination)',
- displayOptions: {
- show: { operation: ['chat_history'] }
- }
- },
-
- // ===== MEDIA DOWNLOAD =====
- {
- displayName: 'Include Media Data',
- name: 'include_media_data',
- type: 'boolean',
- default: false,
- description: 'Download base64 media data for image/video/audio/document/sticker messages. May be slow for many messages.',
- displayOptions: {
- show: { operation: ['chat_history', 'channel_messages'] }
- }
- },
-
- // ===== SEARCH GROUPS PARAMETERS =====
- {
- displayName: 'Search Query',
- name: 'query',
- type: 'string',
- default: '',
- placeholder: 'Family, Work, etc.',
- description: 'Search groups by name (leave empty for all groups)',
- displayOptions: {
- show: { operation: ['search_groups', 'list_contacts'] }
- }
- },
-
- // ===== GET GROUP INFO PARAMETERS =====
- {
- displayName: 'Group',
- name: 'group_id_for_info',
- type: 'string',
- default: '',
- required: true,
- placeholder: '[email protected]',
- description: 'Group JID to get info for',
- displayOptions: {
- show: { operation: ['get_group_info'] }
- }
- },
-
- // ===== GET CONTACT INFO PARAMETERS =====
- {
- displayName: 'Phone Number',
- name: 'contact_phone',
- type: 'string',
- default: '',
- required: true,
- placeholder: '1234567890',
- description: 'Phone number to get contact info for',
- displayOptions: {
- show: { operation: ['get_contact_info'] }
- }
- },
-
- // ===== CHECK CONTACTS PARAMETERS =====
- {
- displayName: 'Phone Numbers',
- name: 'phones',
- type: 'string',
- default: '',
- required: true,
- placeholder: '1234567890, 0987654321',
- description: 'Comma-separated phone numbers to check WhatsApp registration',
- displayOptions: {
- show: { operation: ['check_contacts'] }
- }
- },
-
- // ===== CHANNEL (NEWSLETTER) PARAMETERS =====
- {
- displayName: 'Channel JID or Invite',
- name: 'channel_jid',
- type: 'string',
- default: '',
- required: true,
- placeholder: '120363198765432101@newsletter or https://whatsapp.com/channel/...',
- description: 'Newsletter JID or invite link (use Load button to select)',
- typeOptions: { loadOptionsMethod: 'whatsappChannels' },
- displayOptions: {
- show: { operation: ['get_channel_info', 'channel_messages', 'channel_stats', 'channel_follow', 'channel_unfollow', 'channel_mute', 'channel_mark_viewed', 'newsletter_react', 'newsletter_live_updates'] }
- }
- },
- {
- displayName: 'Refresh Cache',
- name: 'refresh',
- type: 'boolean',
- default: false,
- description: 'Bypass 24h cache and fetch fresh data from WhatsApp servers',
- displayOptions: {
- show: { operation: ['list_channels', 'get_channel_info', 'channel_messages'] }
- }
- },
- {
- displayName: 'Message Count',
- name: 'channel_count',
- type: 'number',
- default: 10,
- typeOptions: { minValue: 1, maxValue: 100 },
- description: 'Number of messages to retrieve',
- displayOptions: {
- show: { operation: ['channel_messages', 'channel_stats'] }
- }
- },
- {
- displayName: 'Before (Server ID)',
- name: 'before_server_id',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0 },
- description: 'Pagination: get messages before this server ID (0 = latest)',
- displayOptions: {
- show: { operation: ['channel_messages'] }
- }
- },
- {
- displayName: 'Offset',
- name: 'message_offset',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0 },
- description: 'Pagination offset - skip this many messages',
- displayOptions: {
- show: { operation: ['channel_messages'] }
- }
- },
- {
- displayName: 'Since (Unix Timestamp)',
- name: 'since',
- type: 'string',
- default: '',
- placeholder: '1704067200',
- description: 'Only return messages after this Unix timestamp',
- displayOptions: {
- show: { operation: ['channel_messages'] }
- }
- },
- {
- displayName: 'Until (Unix Timestamp)',
- name: 'until',
- type: 'string',
- default: '',
- placeholder: '1706745600',
- description: 'Only return messages before this Unix timestamp',
- displayOptions: {
- show: { operation: ['channel_messages'] }
- }
- },
- {
- displayName: 'Media Type Filter',
- name: 'media_type',
- type: 'options',
- options: [
- { name: 'All Types', value: 'all' },
- { name: 'Image', value: 'image' },
- { name: 'Video', value: 'video' },
- { name: 'Audio', value: 'audio' },
- { name: 'Document', value: 'document' },
- { name: 'Sticker', value: 'sticker' }
- ],
- default: 'all',
- description: 'Filter messages by media type',
- displayOptions: {
- show: { operation: ['channel_messages'] }
- }
- },
- {
- displayName: 'Search Text',
- name: 'search',
- type: 'string',
- default: '',
- placeholder: 'keyword...',
- description: 'Search for messages containing this text',
- displayOptions: {
- show: { operation: ['channel_messages'] }
- }
- },
- {
- displayName: 'Channel Name',
- name: 'channel_name',
- type: 'string',
- default: '',
- required: true,
- placeholder: 'My Channel',
- description: 'Name for the new channel',
- displayOptions: {
- show: { operation: ['channel_create'] }
- }
- },
- {
- displayName: 'Channel Description',
- name: 'channel_description',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'A channel about...',
- description: 'Optional description for the new channel',
- displayOptions: {
- show: { operation: ['channel_create'] }
- }
- },
- {
- displayName: 'Mute',
- name: 'mute',
- type: 'boolean',
- default: true,
- description: 'True to mute the channel, false to unmute',
- displayOptions: {
- show: { operation: ['channel_mute'] }
- }
- },
- {
- displayName: 'Server IDs',
- name: 'server_ids',
- type: 'string',
- default: '',
- placeholder: '100, 101, 102',
- description: 'Comma-separated message server IDs',
- displayOptions: {
- show: { operation: ['channel_mark_viewed', 'newsletter_live_updates'] }
- }
- },
-
- // ===== NEWSLETTER REACT PARAMETERS =====
- {
- displayName: 'Message Server ID',
- name: 'react_server_id',
- type: 'number',
- default: 0,
- typeOptions: { minValue: 0 },
- description: 'Server ID of the message to react to',
- displayOptions: {
- show: { operation: ['newsletter_react'] }
- }
- },
- {
- displayName: 'Reaction',
- name: 'reaction',
- type: 'string',
- default: '',
- placeholder: '\ud83d\udc4d',
- description: 'Reaction emoji (empty to remove reaction)',
- displayOptions: {
- show: { operation: ['newsletter_react'] }
- }
- },
-
- // ===== CHANNEL CREATE - PICTURE =====
- {
- displayName: 'Channel Picture (Base64)',
- name: 'picture',
- type: 'string',
- default: '',
- typeOptions: { rows: 3 },
- placeholder: 'base64 encoded image...',
- description: 'Optional base64-encoded profile picture for the new channel',
- displayOptions: {
- show: { operation: ['channel_create'] }
- }
- },
-
- // ===== CONTACT PROFILE PICTURE PARAMETERS =====
- {
- displayName: 'JID or Phone',
- name: 'profile_pic_jid',
- type: 'string',
- default: '',
- placeholder: '1234567890 or [email protected]',
- description: 'Contact JID or phone number to get profile picture for',
- displayOptions: {
- show: { operation: ['contact_profile_pic'] }
- }
- },
- {
- displayName: 'Preview (Low Res)',
- name: 'preview',
- type: 'boolean',
- default: false,
- description: 'Get low-resolution preview instead of full picture',
- displayOptions: {
- show: { operation: ['contact_profile_pic'] }
- }
- }
-
- ],
+ // Wave 8: schema lives on backend (see server/models/nodes.py).
+ properties: [],
methods: {
loadOptions: {
async getWhatsAppGroups(): Promise<Array<{name: string, value: string, description?: string}>> {