Skip to main content
Glama

Create Automation

createAutomation

Create a new automation. Its first agent is created alongside it so the caller lands on something editable; first_agent seeds that agent's name, configuration, and connections instead of the defaults. On a team on revision semantics the automation holds a single draft revision and no live revision, with the agent's first build bound into that draft, and the first activation makes the draft revision 1; on any other team the automation is a bare container and the build stands on its own.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable automation name.
team_idNoDuvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here.
first_agentNoSeeds the automation's first agent, for example from an agent template. Anything left out takes the platform default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / first_agent / properties / config / properties / data / properties / models / properties / agent / properties / model / enum
      Previous value: -[
      -  "claude-haiku-4-5-20251001",
      -  "claude-sonnet-5",
      -  "claude-sonnet-5[1m]",
      -  "claude-sonnet-5-5",
      -  "claude-sonnet-5-5[1m]",
      -  "claude-opus-5",
      -  "claude-opus-5[1m]",
      -  "claude-opus-5-5",
      -  "claude-opus-5-5[1m]",
      -  "kimi-k3",
      -  "kimi-k3-duvo",
      -  "glm-5.3-flash",
      -  "deepseek-v4-flash",
      -  "minimax-m3",
      -  "d1-max",
      -  "duvo-1-max",
      -  "duvo-1-max-sonnet-1m",
      -  "duvo-1-max-sonnet-4.5",
      -  "duvo-1-max-sonnet-4.5-1m",
      -  "duvo-1-max-opus",
      -  "duvo-1-max-opus-4.5",
      -  "gpt-4.1",
      -  "gpt-4o",
      -  "gpt-4o-mini",
      -  "gpt-5",
      -  "gpt-5.1",
      -  "claude-sonnet-4-20250514",
      -  "claude-sonnet-4-20250514[1m]",
      -  "claude-sonnet-4-5-20250929",
      -  "claude-sonnet-4-5-20250929[1m]",
      -  "claude-sonnet-4-6",
      -  "claude-sonnet-4-6[1m]",
      -  "claude-opus-4-1-20250805",
      -  "claude-opus-4-5-20251101",
      -  "claude-opus-4-6",
      -  "claude-opus-4-6[1m]",
      -  "claude-opus-4-7",
      -  "claude-opus-4-7[1m]",
      -  "claude-opus-4-8",
      -  "claude-opus-4-8[1m]",
      -  "glm-5.2",
      -  "qwen3.6-27b",
      -  "qwen3.8-max"
      -]New value: +[
      +  "claude-haiku-4-5-20251001",
      +  "claude-haiku-5-5",
      +  "claude-haiku-5-5[1m]",
      +  "claude-sonnet-5",
      +  "claude-sonnet-5[1m]",
      +  "claude-sonnet-5-5",
      +  "claude-sonnet-5-5[1m]",
      +  "claude-opus-5",
      +  "claude-opus-5[1m]",
      +  "claude-opus-5-5",
      +  "claude-opus-5-5[1m]",
      +  "kimi-k3",
      +  "kimi-k3-duvo",
      +  "glm-5.3-flash",
      +  "deepseek-v4-flash",
      +  "minimax-m3",
      +  "d1-max",
      +  "duvo-1-max",
      +  "duvo-1-max-sonnet-1m",
      +  "duvo-1-max-sonnet-4.5",
      +  "duvo-1-max-sonnet-4.5-1m",
      +  "duvo-1-max-opus",
      +  "duvo-1-max-opus-4.5",
      +  "gpt-4.1",
      +  "gpt-4o",
      +  "gpt-4o-mini",
      +  "gpt-5",
      +  "gpt-5.1",
      +  "claude-sonnet-4-20250514",
      +  "claude-sonnet-4-20250514[1m]",
      +  "claude-sonnet-4-5-20250929",
      +  "claude-sonnet-4-5-20250929[1m]",
      +  "claude-sonnet-4-6",
      +  "claude-sonnet-4-6[1m]",
      +  "claude-opus-4-1-20250805",
      +  "claude-opus-4-5-20251101",
      +  "claude-opus-4-6",
      +  "claude-opus-4-6[1m]",
      +  "claude-opus-4-7",
      +  "claude-opus-4-7[1m]",
      +  "claude-opus-4-8",
      +  "claude-opus-4-8[1m]",
      +  "glm-5.2",
      +  "qwen3.6-27b",
      +  "qwen3.8-max"
      +]
    • changedInput schema / properties / first_agent / properties / config / properties / data / properties / models / properties / agent / properties / model / x-extensible-enum
      Previous value: -[
      -  "claude-haiku-4-5-20251001",
      -  "claude-sonnet-5",
      -  "claude-sonnet-5[1m]",
      -  "claude-sonnet-5-5",
      -  "claude-sonnet-5-5[1m]",
      -  "claude-opus-5",
      -  "claude-opus-5[1m]",
      -  "claude-opus-5-5",
      -  "claude-opus-5-5[1m]",
      -  "kimi-k3",
      -  "kimi-k3-duvo",
      -  "glm-5.3-flash",
      -  "deepseek-v4-flash",
      -  "minimax-m3",
      -  "d1-max",
      -  "duvo-1-max",
      -  "duvo-1-max-sonnet-1m",
      -  "duvo-1-max-sonnet-4.5",
      -  "duvo-1-max-sonnet-4.5-1m",
      -  "duvo-1-max-opus",
      -  "duvo-1-max-opus-4.5",
      -  "gpt-4.1",
      -  "gpt-4o",
      -  "gpt-4o-mini",
      -  "gpt-5",
      -  "gpt-5.1",
      -  "claude-sonnet-4-20250514",
      -  "claude-sonnet-4-20250514[1m]",
      -  "claude-sonnet-4-5-20250929",
      -  "claude-sonnet-4-5-20250929[1m]",
      -  "claude-sonnet-4-6",
      -  "claude-sonnet-4-6[1m]",
      -  "claude-opus-4-1-20250805",
      -  "claude-opus-4-5-20251101",
      -  "claude-opus-4-6",
      -  "claude-opus-4-6[1m]",
      -  "claude-opus-4-7",
      -  "claude-opus-4-7[1m]",
      -  "claude-opus-4-8",
      -  "claude-opus-4-8[1m]",
      -  "glm-5.2",
      -  "qwen3.6-27b",
      -  "qwen3.8-max"
      -]New value: +[
      +  "claude-haiku-4-5-20251001",
      +  "claude-haiku-5-5",
      +  "claude-haiku-5-5[1m]",
      +  "claude-sonnet-5",
      +  "claude-sonnet-5[1m]",
      +  "claude-sonnet-5-5",
      +  "claude-sonnet-5-5[1m]",
      +  "claude-opus-5",
      +  "claude-opus-5[1m]",
      +  "claude-opus-5-5",
      +  "claude-opus-5-5[1m]",
      +  "kimi-k3",
      +  "kimi-k3-duvo",
      +  "glm-5.3-flash",
      +  "deepseek-v4-flash",
      +  "minimax-m3",
      +  "d1-max",
      +  "duvo-1-max",
      +  "duvo-1-max-sonnet-1m",
      +  "duvo-1-max-sonnet-4.5",
      +  "duvo-1-max-sonnet-4.5-1m",
      +  "duvo-1-max-opus",
      +  "duvo-1-max-opus-4.5",
      +  "gpt-4.1",
      +  "gpt-4o",
      +  "gpt-4o-mini",
      +  "gpt-5",
      +  "gpt-5.1",
      +  "claude-sonnet-4-20250514",
      +  "claude-sonnet-4-20250514[1m]",
      +  "claude-sonnet-4-5-20250929",
      +  "claude-sonnet-4-5-20250929[1m]",
      +  "claude-sonnet-4-6",
      +  "claude-sonnet-4-6[1m]",
      +  "claude-opus-4-1-20250805",
      +  "claude-opus-4-5-20251101",
      +  "claude-opus-4-6",
      +  "claude-opus-4-6[1m]",
      +  "claude-opus-4-7",
      +  "claude-opus-4-7[1m]",
      +  "claude-opus-4-8",
      +  "claude-opus-4-8[1m]",
      +  "glm-5.2",
      +  "qwen3.6-27b",
      +  "qwen3.8-max"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / first_agent
      Added value: +{
      +  "description": "Seeds the automation's first agent, for example from an agent template. Anything left out takes the platform default.",
      +  "properties": {
      +    "config": {
      +      "description": "Configuration of the first agent's build (latest schema version only). Defaults to the platform's default agent configuration.",
      +      "properties": {
      +        "data": {
      +          "description": "Agent configuration payload",
      +          "properties": {
      +            "files": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": [],
      +              "description": "Team files that should be available to the agent, each given as the relative file path returned in the `path` field of `GET /v2/teams/{teamId}/files` (for example `report.md` or `folder/doc.md`) — not the `id` field, which is a GCS object identifier."
      +            },
      +            "input": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "items": {
      +                    "properties": {
      +                      "content": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "items": {
      +                              "anyOf": [
      +                                {
      +                                  "properties": {
      +                                    "text": {
      +                                      "type": "string"
      +                                    },
      +                                    "type": {
      +                                      "const": "input_text",
      +                                      "type": "string"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "type",
      +                                    "text"
      +                                  ],
      +                                  "type": "object"
      +                                },
      +                                {
      +                                  "properties": {
      +                                    "detail": {
      +                                      "anyOf": [
      +                                        {
      +                                          "enum": [
      +                                            "low",
      +                                            "high",
      +                                            "auto"
      +                                          ],
      +                                          "type": "string"
      +                                        },
      +                                        {
      +                                          "type": "null"
      +                                        }
      +                                      ]
      +                                    },
      +                                    "file_id": {
      +                                      "anyOf": [
      +                                        {
      +                                          "type": "string"
      +                                        },
      +                                        {
      +                                          "type": "null"
      +                                        }
      +                                      ]
      +                                    },
      +                                    "type": {
      +                                      "const": "input_image",
      +                                      "type": "string"
      +                                    },
      +                                    "url": {
      +                                      "anyOf": [
      +                                        {
      +                                          "type": "string"
      +                                        },
      +                                        {
      +                                          "type": "null"
      +                                        }
      +                                      ]
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "type"
      +                                  ],
      +                                  "type": "object"
      +                                },
      +                                {
      +                                  "properties": {
      +                                    "file_id": {
      +                                      "type": "string"
      +                                    },
      +                                    "type": {
      +                                      "const": "input_file",
      +                                      "type": "string"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "type",
      +                                    "file_id"
      +                                  ],
      +                                  "type": "object"
      +                                }
      +                              ]
      +                            },
      +                            "type": "array"
      +                          }
      +                        ]
      +                      },
      +                      "role": {
      +                        "enum": [
      +                          "system",
      +                          "user",
      +                          "assistant"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "type": {
      +                        "anyOf": [
      +                          {
      +                            "const": "message",
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ]
      +                      }
      +                    },
      +                    "required": [
      +                      "role",
      +                      "content"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              ],
      +              "description": "Initial agent instructions — either a single system prompt string or a list of structured messages"
      +            },
      +            "models": {
      +              "description": "Model configuration for each capability the agent uses",
      +              "properties": {
      +                "agent": {
      +                  "description": "Primary agent model configuration",
      +                  "properties": {
      +                    "model": {
      +                      "description": "Model identifier used for the primary agent loop (Claude, or an OSS model when the team's oss_models flag — or oss_models_public for the public subset — is enabled)",
      +                      "enum": [
      +                        "claude-haiku-4-5-20251001",
      +                        "claude-sonnet-5",
      +                        "claude-sonnet-5[1m]",
      +                        "claude-sonnet-5-5",
      +                        "claude-sonnet-5-5[1m]",
      +                        "claude-opus-5",
      +                        "claude-opus-5[1m]",
      +                        "claude-opus-5-5",
      +                        "claude-opus-5-5[1m]",
      +                        "kimi-k3",
      +                        "kimi-k3-duvo",
      +                        "glm-5.3-flash",
      +                        "deepseek-v4-flash",
      +                        "minimax-m3",
      +                        "d1-max",
      +                        "duvo-1-max",
      +                        "duvo-1-max-sonnet-1m",
      +                        "duvo-1-max-sonnet-4.5",
      +                        "duvo-1-max-sonnet-4.5-1m",
      +                        "duvo-1-max-opus",
      +                        "duvo-1-max-opus-4.5",
      +                        "gpt-4.1",
      +                        "gpt-4o",
      +                        "gpt-4o-mini",
      +                        "gpt-5",
      +                        "gpt-5.1",
      +                        "claude-sonnet-4-20250514",
      +                        "claude-sonnet-4-20250514[1m]",
      +                        "claude-sonnet-4-5-20250929",
      +                        "claude-sonnet-4-5-20250929[1m]",
      +                        "claude-sonnet-4-6",
      +                        "claude-sonnet-4-6[1m]",
      +                        "claude-opus-4-1-20250805",
      +                        "claude-opus-4-5-20251101",
      +                        "claude-opus-4-6",
      +                        "claude-opus-4-6[1m]",
      +                        "claude-opus-4-7",
      +                        "claude-opus-4-7[1m]",
      +                        "claude-opus-4-8",
      +                        "claude-opus-4-8[1m]",
      +                        "glm-5.2",
      +                        "qwen3.6-27b",
      +                        "qwen3.8-max"
      +                      ],
      +                      "type": "string",
      +                      "x-extensible-enum": [
      +                        "claude-haiku-4-5-20251001",
      +                        "claude-sonnet-5",
      +                        "claude-sonnet-5[1m]",
      +                        "claude-sonnet-5-5",
      +                        "claude-sonnet-5-5[1m]",
      +                        "claude-opus-5",
      +                        "claude-opus-5[1m]",
      +                        "claude-opus-5-5",
      +                        "claude-opus-5-5[1m]",
      +                        "kimi-k3",
      +                        "kimi-k3-duvo",
      +                        "glm-5.3-flash",
      +                        "deepseek-v4-flash",
      +                        "minimax-m3",
      +                        "d1-max",
      +                        "duvo-1-max",
      +                        "duvo-1-max-sonnet-1m",
      +                        "duvo-1-max-sonnet-4.5",
      +                        "duvo-1-max-sonnet-4.5-1m",
      +                        "duvo-1-max-opus",
      +                        "duvo-1-max-opus-4.5",
      +                        "gpt-4.1",
      +                        "gpt-4o",
      +                        "gpt-4o-mini",
      +                        "gpt-5",
      +                        "gpt-5.1",
      +                        "claude-sonnet-4-20250514",
      +                        "claude-sonnet-4-20250514[1m]",
      +                        "claude-sonnet-4-5-20250929",
      +                        "claude-sonnet-4-5-20250929[1m]",
      +                        "claude-sonnet-4-6",
      +                        "claude-sonnet-4-6[1m]",
      +                        "claude-opus-4-1-20250805",
      +                        "claude-opus-4-5-20251101",
      +                        "claude-opus-4-6",
      +                        "claude-opus-4-6[1m]",
      +                        "claude-opus-4-7",
      +                        "claude-opus-4-7[1m]",
      +                        "claude-opus-4-8",
      +                        "claude-opus-4-8[1m]",
      +                        "glm-5.2",
      +                        "qwen3.6-27b",
      +                        "qwen3.8-max"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "model"
      +                  ],
      +                  "type": "object"
      +                },
      +                "browsing": {
      +                  "description": "Browsing/computer-use model configuration",
      +                  "properties": {
      +                    "model": {
      +                      "description": "Model identifier for the browsing provider",
      +                      "enum": [
      +                        "gemini-2.5-pro",
      +                        "gemini-2.5-flash",
      +                        "gemini-3-pro-preview",
      +                        "claude-haiku-4-5",
      +                        "claude-sonnet-4-5",
      +                        "claude-opus-4-1"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "provider": {
      +                      "description": "Provider backing the browsing/computer-use model",
      +                      "enum": [
      +                        "google",
      +                        "anthropic"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "provider",
      +                    "model"
      +                  ],
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "agent",
      +                "browsing"
      +              ],
      +              "type": "object"
      +            },
      +            "options": {
      +              "additionalProperties": {},
      +              "description": "Optional runtime options controlling how the agent executes",
      +              "properties": {
      +                "benchmarkExpectedOutcomes": {
      +                  "description": "Expected outcomes used when running benchmark scenarios",
      +                  "items": {
      +                    "properties": {
      +                      "criteria": {
      +                        "description": "Pass/fail criteria used to evaluate the outcome",
      +                        "type": "string"
      +                      },
      +                      "description": {
      +                        "description": "Human-readable description of the expected outcome",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "description",
      +                      "criteria"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "browserProvider": {
      +                  "description": "Browser infrastructure provider",
      +                  "enum": [
      +                    "browserbase",
      +                    "browser-use"
      +                  ],
      +                  "type": "string"
      +                },
      +                "evaluationSchemaId": {
      +                  "description": "ID of the evaluation schema to apply to runs of this agent",
      +                  "type": "string"
      +                },
      +                "supervisedMode": {
      +                  "description": "Run the agent under Duvo's permission classifier: every tool call is classified as allow/deny/ask, with 'ask' routed to human-in-the-loop approval. Mutually exclusive with browsing and computer-use connections.",
      +                  "type": "boolean"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "plugins": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": [],
      +              "description": "Plugins to load — either a built-in plugin name (e.g. \"code-review\") or a GitHub URL (e.g. \"https://github.com/owner/repo\")"
      +            },
      +            "skills": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": [],
      +              "description": "IDs of skills (team or system) that should be available to the agent"
      +            },
      +            "subAgents": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "format": "uuid",
      +                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": [],
      +              "description": "Retired — Sub-Assignments was removed. Accepted for backwards compatibility and ignored."
      +            }
      +          },
      +          "required": [
      +            "models",
      +            "input"
      +          ],
      +          "type": "object"
      +        },
      +        "version": {
      +          "const": "v2",
      +          "description": "Schema version discriminator — must be \"v2\" for the current schema",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "version",
      +        "data"
      +      ],
      +      "type": "object"
      +    },
      +    "integration_slugs": {
      +      "description": "Connection types to attach to the first agent's build, in place of the platform's default connections. A type the team has no connection for is skipped.",
      +      "items": {
      +        "enum": [
      +          "googlecalendar",
      +          "google-calendar",
      +          "gmail",
      +          "slack",
      +          "googledocs",
      +          "googlesheets",
      +          "googledrive",
      +          "firecrawl",
      +          "exa",
      +          "exa-search",
      +          "exa-company-search",
      +          "exa-people-search",
      +          "deep-research",
      +          "system",
      +          "browser-agent",
      +          "browser-agent-devtools",
      +          "notion",
      +          "linear",
      +          "confluence",
      +          "custom_mcp",
      +          "user_mcp",
      +          "snowflake",
      +          "sharepoint",
      +          "teams",
      +          "onedrive",
      +          "bigquery",
      +          "databricks",
      +          "netsuite",
      +          "outlook",
      +          "microsoft-calendar",
      +          "excel",
      +          "word",
      +          "saps4hana",
      +          "md365",
      +          "businesscentral",
      +          "oraclefusion",
      +          "workday",
      +          "coupa",
      +          "signavio",
      +          "sap-ecc",
      +          "msteams",
      +          "human-in-the-loop",
      +          "email-attachments-reader",
      +          "document-processor",
      +          "google-docs",
      +          "google-sheets",
      +          "google-drive",
      +          "outbound-call",
      +          "case-queue-producer",
      +          "case-queue-consumer",
      +          "handover",
      +          "shopify",
      +          "hubspot",
      +          "zendesk",
      +          "intercom",
      +          "powerbi",
      +          "salesforce",
      +          "pipedrive",
      +          "tableau",
      +          "image-generation",
      +          "forecasting",
      +          "supabase",
      +          "attio",
      +          "amplitude",
      +          "websets",
      +          "firecrawl-platform",
      +          "duvo-computer-use",
      +          "duvo-computer-use-rdp",
      +          "eu-commodity-prices",
      +          "asana",
      +          "jira",
      +          "ssh",
      +          "scheduling",
      +          "github",
      +          "linear-native",
      +          "notion-native",
      +          "granola",
      +          "apify",
      +          "bamboohr",
      +          "edi",
      +          "maersk",
      +          "infor-nexus",
      +          "dhl",
      +          "fedex",
      +          "ups",
      +          "dsv",
      +          "trinity-logistics",
      +          "ontrac",
      +          "dachser",
      +          "hellmann",
      +          "omni-logistics",
      +          "ceva-logistics",
      +          "dpd",
      +          "canada-post",
      +          "o9",
      +          "manhattan",
      +          "blue-yonder"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "name": {
      +      "description": "Name of the first agent. Defaults to the platform's default agent name.",
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources