{
  "manifest_version": "1.0.0",
  "template": {
    "id": "85ffca01-d622-40bf-8746-c76f670f9220",
    "slug": "openclaw-office",
    "name": "OpenClaw Office",
    "description": "A virtual office for OpenClaw agents to collaborate, execute, & work live.",
    "url": "https://railway.com/deploy/openclaw-office",
    "upstream": {
      "repo_url": "https://github.com/wickedapp/openclaw-office"
    }
  },
  "services": [
    {
      "name": "openclaw-office",
      "source": {
        "repo": "https://github.com/wickedapp/openclaw-office"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "openclaw-office",
      "description": "Public web interface port used by OpenClaw Office",
      "secret": false,
      "strategy": "default",
      "default": "4200"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "openclaw-office",
      "description": "Run as root to ensure Railway volume write permissions",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "RAILPACK_INSTALL_CMD",
      "service": "openclaw-office",
      "description": "Override Railpack dependency installation command",
      "secret": false,
      "strategy": "default",
      "default": "npm install"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-office"
      }
    },
    "cli": "railway deploy --template openclaw-office",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "85ffca01-d622-40bf-8746-c76f670f9220",
            "serializedConfig": {
              "services": {
                "3a9dc00e-1707-4834-a902-70bfebf8884c": {
                  "icon": "https://openclaw.ai/favicon.svg",
                  "name": "openclaw-office",
                  "deploy": {
                    "startCommand": ""
                  },
                  "source": {
                    "repo": "wickedapp/openclaw-office"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Public web interface port used by OpenClaw Office",
                      "defaultValue": "4200"
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional Gemini API key for generating custom office scenes",
                      "defaultValue": ""
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Run as root to ensure Railway volume write permissions",
                      "defaultValue": "0"
                    },
                    "TELEGRAM_CHAT_ID": {
                      "isOptional": true,
                      "description": "Optional Telegram chat ID for notifications",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Optional Claude API key for automatic desk-position detection",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Optional Telegram bot token for notifications",
                      "defaultValue": ""
                    },
                    "OPENCLAW_GATEWAY_URL": {
                      "isOptional": true,
                      "description": "Optional OpenClaw Gateway WebSocket URL",
                      "defaultValue": ""
                    },
                    "RAILPACK_INSTALL_CMD": {
                      "description": "Override Railpack dependency installation command",
                      "defaultValue": "npm install"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "isOptional": true,
                      "description": "Optional OpenClaw Gateway authentication token",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4200": {
                        "port": 4200
                      }
                    }
                  },
                  "volumeMounts": {
                    "3a9dc00e-1707-4834-a902-70bfebf8884c": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T13:25:19.864Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_f719bb90d63345e99162",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
