mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
feat(editor): Add pre-built agents experiment (#18124)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user