AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { createAction, Property } from '@activepieces/pieces-framework';
import { zohoBookingsAuth } from '../../auth';
import { zohoBookingsApi } from '../../common/api';
import { zohoBookingsCreatedRecordOutputSchema } from '../../output-schemas';
export const zohoBookingsCreateWorkspaceAction = createAction({
auth: zohoBookingsAuth,
name: 'zoho_bookings_create_workspace',
outputSchema: zohoBookingsCreatedRecordOutputSchema,
displayName: 'Create Workspace',
description: 'Create a new workspace.',
audience: 'ai',
classification: 'WRITE',
aiMetadata: {
description:
'Create a workspace with a name. Returns the new workspace ID. The account plan limits how many workspaces can exist. Not idempotent.',
idempotent: false,
},
props: {
name: Property.ShortText({
displayName: 'Name',
description: '2-50 characters, without |/\\,?{}<>:;"\'` characters.',
required: true,
}),
},
async run({ auth, propsValue }) {
return await zohoBookingsApi.createWorkspace({ auth, name: propsValue.name });
},
});