feat(editor): Add pre-built agents experiment (#18124)

This commit is contained in:
Jaakko Husso
2025-08-09 10:28:14 +03:00
committed by GitHub
parent a3b625fc18
commit 5a69d2a2f3
44 changed files with 2635 additions and 653 deletions

View File

@@ -9,6 +9,7 @@ import type {
INodeTypeDescription,
JsonObject,
NodeExecutionHint,
INodeProperties,
} from 'n8n-workflow';
import { NodeConnectionTypes, NodeApiError, NodeOperationError } from 'n8n-workflow';
import { v4 as uuid } from 'uuid';
@@ -31,6 +32,22 @@ import {
} from './GenericFunctions';
import { sortItemKeysByPriorityList } from '../../../utils/utilities';
const preBuiltAgentsCallout: INodeProperties = {
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
displayName: 'Interact with your Google Calendar using our pre-built',
name: 'preBuiltAgentsCalloutGoogleCalendar',
type: 'callout',
typeOptions: {
calloutAction: {
label: 'Voice assistant agent',
icon: 'bot',
type: 'openSampleWorkflowTemplate',
templateId: 'voice_assistant_agent_with_telegram_and_gcal',
},
},
default: '',
};
export class GoogleCalendar implements INodeType {
description: INodeTypeDescription = {
displayName: 'Google Calendar',
@@ -53,6 +70,7 @@ export class GoogleCalendar implements INodeType {
},
],
properties: [
preBuiltAgentsCallout,
{
displayName: 'Resource',
name: 'resource',