[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Railway deployment template](https://spiral.ai/integrations/n8n/railway-deployment-template)

# How to Use Railway deployment template in n8n

Inspect a Railway deployment template and its packaged services. Use it to understand a specific deployment candidate after finding it in the template catalog.

|  |  |
| --- | --- |
| Model | Railway deployment template |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Railway deployment template in n8n

- Every Monday at 9am: use Railway deployment template to look this up and give me the result as a table.
- Pull the latest numbers from Railway deployment template and tell me what changed since last week.
- Check Railway deployment template and summarize what you find in three bullet points.
- Pull the newest data from Railway deployment template and give me the result as a table.
- Check Railway deployment template every morning and tell me only when something changed.

## How to set up Railway deployment template in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Railway deployment template in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Railway deployment template, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Railway deployment template**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "railway-com/developer-documentation/get_template",
    "input": {
      "code": "<code>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Railway deployment template on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Railway deployment template tools and prices

- [Railway · Get template](https://spiral.ai/tools/alexandria/railway-com/developer-documentation/get_template) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Alternatively a template URL, e.g. https://railway.com/deploy/postgres. Pattern: ^https?://. |
| code |  | — | Template code, e.g. `postgres`. |

## What can you do with Railway deployment template in n8n?

Keep a Railway operations brief current as its public information changes. Report relevant differences in retrieved guidance, announcements, listings, plan limits, or incident updates.

### Plan a migration to Railway

Build a migration brief from technical requirements, relevant engineering articles, recent product changes, deployment candidates, plan limits, and applicable policies.

### Review deployment readiness

Check the proposed template, documented behavior, resource ceilings, policies, and recent announcements. Add current platform status and relevant incident timelines to the release review.

### Prepare a platform review

Evaluate Railway against a team's hosting requirements using public technical guidance, plan limits, policies, template options, product updates, and reliability reports.

### Create an internal Railway reading guide

Select technical docs, engineering explanations, recent updates, policies, plan comparisons, and example templates for developers learning how their team uses Railway.

### Choose a deployment template

Compare category listings, inspect the services packaged in promising templates, and check their requirements against documentation, plan limits, and applicable policies.

### Prepare a Railway change briefing

Summarize relevant engineering articles and product updates, then identify documentation, template choices, plan assumptions, or policy references the team should review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Railway deployment template in other agents

- [Amp](https://spiral.ai/integrations/amp/railway-deployment-template)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/railway-deployment-template)
- [Claude](https://spiral.ai/integrations/claude-desktop/railway-deployment-template)
- [Claude Code](https://spiral.ai/integrations/claude-code/railway-deployment-template)
- [Cline](https://spiral.ai/integrations/cline/railway-deployment-template)
- [Codex](https://spiral.ai/integrations/codex/railway-deployment-template)
- [Cursor](https://spiral.ai/integrations/cursor/railway-deployment-template)
- [Devin](https://spiral.ai/integrations/devin/railway-deployment-template)
- [dots](https://spiral.ai/integrations/dots/railway-deployment-template)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/railway-deployment-template)
- [Gemini](https://spiral.ai/integrations/gemini/railway-deployment-template)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/railway-deployment-template)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/railway-deployment-template)
- [goose](https://spiral.ai/integrations/goose/railway-deployment-template)
- [Grok](https://spiral.ai/integrations/grok/railway-deployment-template)
- [Grok Build](https://spiral.ai/integrations/grok-build/railway-deployment-template)
- [Hermes](https://spiral.ai/integrations/hermes/railway-deployment-template)
- [Instinct](https://spiral.ai/integrations/instinct/railway-deployment-template)
- [Manus](https://spiral.ai/integrations/manus/railway-deployment-template)
- [Muse](https://spiral.ai/integrations/muse/railway-deployment-template)
- [Muse Code](https://spiral.ai/integrations/muse-code/railway-deployment-template)
- [Notion](https://spiral.ai/integrations/notion/railway-deployment-template)
- [OpenClaw](https://spiral.ai/integrations/openclaw/railway-deployment-template)
- [opencode](https://spiral.ai/integrations/opencode/railway-deployment-template)
- [Perplexity](https://spiral.ai/integrations/perplexity/railway-deployment-template)
- [Raycast](https://spiral.ai/integrations/raycast/railway-deployment-template)
- [VS Code](https://spiral.ai/integrations/vscode/railway-deployment-template)
- [Windsurf](https://spiral.ai/integrations/windsurf/railway-deployment-template)
- [Zapier](https://spiral.ai/integrations/zapier/railway-deployment-template)

## More n8n guides

- [Railway company and legal page](https://spiral.ai/integrations/n8n/railway-company-and-legal-page)
- [Railway deployment templates](https://spiral.ai/integrations/n8n/railway-deployment-templates)
- [Railway changelog entry](https://spiral.ai/integrations/n8n/railway-changelog-entry)
- [Railway documentation index](https://spiral.ai/integrations/n8n/railway-documentation-index)
- [Railway changelog entries](https://spiral.ai/integrations/n8n/railway-changelog-entries)
- [Railway documentation page](https://spiral.ai/integrations/n8n/railway-documentation-page)

## Questions about Railway deployment template in n8n

**Can n8n use Railway deployment template?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Railway deployment template like any built-in tool.

**How much does Railway deployment template cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use Railway deployment template in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Railway deployment template on its own Alexandria account.

**How long does it take to set up Railway deployment template in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Railway deployment template runs?**

Railway deployment template runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**What Railway information does this source cover?**

It covers public docs, blog articles, changelog entries, status reports, deployment templates, and company and legal pages. Template coverage includes machine-readable deployment manifests.

**Does Railway report every outage?**

No. Railway explicitly limits its status page to incidents with significant, widespread user impact and says smaller or isolated issues will not appear.

**What period do Railway's uptime figures cover?**

Component uptime covers the last 90 days plus today. Major outages count fully as downtime, while partial outages count at 30%.

**How often does Railway publish product updates?**

Railway labels its changelog as weekly product updates since 2021. Individual entries carry dates and include feature announcements and fixes.

**What does an individual incident report contain?**

Railway status reports identify affected components and show timestamped updates. For example, incident IFBXJTGG records monitoring and resolution updates for public networking across four regions.

