Skip to main content
Glama

create_workflow

Create new workflows in Automatisch to automate business processes by defining steps, triggers, and actions for streamlined operations.

Instructions

Create a new workflow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesWorkflow name
descriptionNoWorkflow description
activeNoWhether workflow should be active

Implementation Reference

  • The handler logic for executing the 'create_workflow' tool. It invokes the API helper main.api.createWorkflow with the provided arguments and returns the result as formatted JSON text content.
    case "create_workflow": return { content: [ { type: "text", text: JSON.stringify(await main.api.createWorkflow(args), null, 2) } ] };
  • Input schema definition for the 'create_workflow' tool, specifying the expected parameters: name (required), description, and active status.
    inputSchema: { type: "object", properties: { name: { type: "string", description: "Workflow name" }, description: { type: "string", description: "Workflow description" }, active: { type: "boolean", description: "Whether workflow should be active", default: false } }, required: ["name"] }
  • src/handlers.ts:43-64 (registration)
    Registration of the 'create_workflow' tool in the ListTools response, including name, description, and schema.
    name: "create_workflow", description: "Create a new workflow", inputSchema: { type: "object", properties: { name: { type: "string", description: "Workflow name" }, description: { type: "string", description: "Workflow description" }, active: { type: "boolean", description: "Whether workflow should be active", default: false } }, required: ["name"] } },
  • API helper method that contains the core implementation for creating a workflow (noted as copied from index.ts, currently stubbed).
    createWorkflow: async function(data: any) { // ... copy createWorkflow logic from index.ts ... },

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/milisp/automatisch-mcp-server'

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