Skip to main content
Glama

start_workflow

Initiate automated processing of Apple Notes to extract tasks, prioritize them, and sync across productivity platforms like Google Tasks, Todoist, and Notion.

Instructions

Start the AiDD workflow

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • Main handler function that validates input with schema, authenticates backend client, and returns workflow started message
    private async handleStartWorkflow(args: any) { const validated = StartWorkflowToolSchema.parse(args); // Pass user credentials to backend client if (this.credentials.accessToken) { // Backend client will use these credentials await this.backendClient.authenticate(); } return { content: [ { type: 'text', text: `šŸš€ AiDD Workflow Started āœ… Authenticated as: ${this.credentials.email} (${this.credentials.subscription}) šŸ‘¤ User ID: ${this.credentials.userId} Ready to import notes. Use: import_notes()`, }, ], }; }
  • Zod schema defining input parameters for the start_workflow tool: optional targetService and autoSync
    const StartWorkflowToolSchema = z.object({ targetService: z.enum(['google-tasks', 'microsoft-todo', 'trello', 'todoist', 'notion', 'ticktick', 'apple-reminders']) .optional() .describe('Target service for task sync'), autoSync: z.boolean().optional().default(false).describe('Automatically sync at the end'), });
  • Tool registration in getAvailableTools(): defines name, description, and inputSchema for listTools response
    name: 'start_workflow', description: 'Start the AiDD workflow for processing notes', inputSchema: { type: 'object', properties: { targetService: { type: 'string', enum: ['google-tasks', 'microsoft-todo', 'trello', 'todoist', 'notion', 'ticktick', 'apple-reminders'], description: 'Target service for task sync' }, autoSync: { type: 'boolean', description: 'Automatically sync at the end' }, }, }, },
  • Handler in OAuth variant: returns workflow start confirmation message
    private async handleStartWorkflow(args: any) { return { content: [ { type: 'text', text: `šŸš€ Starting AiDD workflow... Authenticated as: ${this.userInfo.email} Ready to process notes with ${this.userInfo.subscription} features.`, }, ], }; }
  • Tool registration in OAuth variant getAvailableTools()
    name: 'start_workflow', description: 'Start the AiDD workflow', inputSchema: { type: 'object', properties: { targetService: { type: 'string', enum: ['google-tasks', 'microsoft-todo', 'trello', 'todoist'], description: 'Target service for sync', }, }, }, },

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiDD-app/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server