Skip to main content
Glama

create_workflow

Create new workflows in Automatisch to automate business processes and integrate applications using this MCP server tool.

Instructions

Create a new workflow

Input Schema

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

Implementation Reference

  • src/handlers.ts:42-63 (registration)
    Tool registration entry in the ListTools handler, defining the name, description, and input schema for 'create_workflow'.
    { 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"] }
  • Input schema defining the parameters for the create_workflow tool (name required, optional description and active flag).
    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"] }
  • MCP tool handler logic that delegates execution to main.api.createWorkflow and returns the result as a text content block.
    case "create_workflow": return { content: [ { type: "text", text: JSON.stringify(await main.api.createWorkflow(args), null, 2) } ] };
  • API helper method stub for createWorkflow, intended to contain the core logic for creating a workflow (delegated to by the tool handler).
    createWorkflow: async function(data: any) { // ... copy createWorkflow logic from index.ts ... },
  • Initializes the 'api' object on the main server instance using apiHelpers, providing access to createWorkflow for handlers.
    public api = apiHelpers(this);

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