{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7ecd92d7-d872-4b08-934b-20e289c04f59",
    "slug": "railway-assistant",
    "name": "Railway Assistant",
    "description": "Send Railway alerts to Telegram & Slack with a lightweight service",
    "url": "https://railway.com/deploy/railway-assistant",
    "upstream": {
      "repo_url": "https://github.com/bzvstudio/railway-assistant"
    }
  },
  "services": [
    {
      "name": "railway-assistant",
      "source": {
        "repo": "https://github.com/bzvstudio/railway-assistant"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SLACK_ENABLED",
      "service": "railway-assistant",
      "description": "Set to `true` to enable Slack notifications",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INCLUDE_AUTHOR",
      "service": "railway-assistant",
      "description": "Include the commit author in the alert message",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INCLUDE_BRANCH",
      "service": "railway-assistant",
      "description": "Include the branch name in the alert message",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INCLUDE_COMMIT",
      "service": "railway-assistant",
      "description": "Include the commit message in the alert message",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INCLUDE_STATUS",
      "service": "railway-assistant",
      "description": "Include deployment status in the alert message",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TELEGRAM_CHAT_ID",
      "service": "railway-assistant",
      "description": "The ID of the telegram user or group to receive alerts",
      "secret": false,
      "strategy": "default",
      "default": "your-chat-id"
    },
    {
      "key": "TELEGRAM_ENABLED",
      "service": "railway-assistant",
      "description": "Set to `true` to enable Telegram notifications",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INCLUDE_WORKSPACE",
      "service": "railway-assistant",
      "description": "Include workplace in the alert message",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SLACK_WEBHOOK_URL",
      "service": "railway-assistant",
      "description": "The Webhook URL from your Slack App",
      "secret": false,
      "strategy": "default",
      "default": "your-slack-webhook-url"
    },
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "railway-assistant",
      "description": "The API token you got from Telegram BotFather",
      "secret": true,
      "strategy": "default",
      "default": "your-bot-token"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "railway-assistant"
      }
    },
    "cli": "railway deploy --template railway-assistant",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7ecd92d7-d872-4b08-934b-20e289c04f59",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1e6e356b-023c-415e-ab8f-e292f55284ad": {
                  "icon": "https://devicons.railway.com/i/railway-light.svg",
                  "name": "railway-assistant",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/bzvstudio/railway-assistant",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SLACK_ENABLED": {
                      "isOptional": false,
                      "description": "Set to `true` to enable Slack notifications",
                      "defaultValue": "true"
                    },
                    "INCLUDE_AUTHOR": {
                      "isOptional": true,
                      "description": "Include the commit author in the alert message",
                      "defaultValue": "true"
                    },
                    "INCLUDE_BRANCH": {
                      "isOptional": true,
                      "description": "Include the branch name in the alert message",
                      "defaultValue": "true"
                    },
                    "INCLUDE_COMMIT": {
                      "isOptional": true,
                      "description": "Include the commit message in the alert message",
                      "defaultValue": "true"
                    },
                    "INCLUDE_STATUS": {
                      "isOptional": true,
                      "description": "Include deployment status in the alert message",
                      "defaultValue": "true"
                    },
                    "TELEGRAM_CHAT_ID": {
                      "isOptional": true,
                      "description": "The ID of the telegram user or group to receive alerts",
                      "defaultValue": "your-chat-id"
                    },
                    "TELEGRAM_ENABLED": {
                      "isOptional": false,
                      "description": "Set to `true` to enable Telegram notifications",
                      "defaultValue": "true"
                    },
                    "INCLUDE_WORKSPACE": {
                      "isOptional": true,
                      "description": "Include workplace in the alert message",
                      "defaultValue": "true"
                    },
                    "SLACK_WEBHOOK_URL": {
                      "isOptional": true,
                      "description": "The Webhook URL from your Slack App",
                      "defaultValue": "your-slack-webhook-url"
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "The API token you got from Telegram BotFather",
                      "defaultValue": "your-bot-token"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "railway-assistant",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T19:27:05.558Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d34692728e7a4ee0b6db",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 74,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "railway-assistant"
  }
}
