.0n Files
Real Workflow Examples
Production-ready .0n files you can copy, customize, and run. Each one orchestrates multiple services through a single config.
3
Examples
18
Steps
6
Services
.0n Schema v0.2
Full specification →File Anatomy
versionSchema versionvariablesRuntime inputssteps[]Execution stepsdepends_onStep dependencieson_failError strategymetadataPipeline tagsDomain Check
starterQuick domain availability check with auto-suggestions if unavailable.
2
Steps
1
Services
~5 seconds
Runtime
GoDaddy#domain#quick-check
domain-check.0n
{
"version": "0.2",
"name": "domain-check",
"description": "Quick domain availability check with auto-suggestions if unavailable",
"author": "mike@rocketopp.com",
"variables": {
"client_domain": "",
"client_name": ""
},
"steps": [
{
"id": "step_001",
"name": "Check Primary Domain",
"mcp_server": "godaddy",
"tool": "domains_check_availability",
"inputs": {
"domains": "{{variables.client_domain}}"
},
"outputs": {
"domain_available": "$.available",
"domain_price": "$.price"
},
"on_fail": "halt",
"timeout_seconds": 30
},
{
"id": "step_002",
"name": "Suggest Alternatives",
"mcp_server": "godaddy",
"tool": "domains_suggest",
"condition": "{{step_001.outputs.domain_available}} == false",
"inputs": {
"query": "{{variables.client_name}}",
"limit": 20
},
"outputs": {
"suggestions": "$.domains"
},
"on_fail": "skip",
"timeout_seconds": 30
}
],
"metadata": {
"pipeline": "website-factory",
"environment": "production",
"tags": ["domain", "quick-check"]
}
}Client Onboarding
proClient onboarding pipeline: Stripe billing setup + Vercel deployment check + welcome deck + CRM workflow.
7
Steps
4
Services
~2 minutes
Runtime
VercelStripeGamman8n#onboarding#billing#crm
client-onboard.0n
{
"version": "0.2",
"name": "client-onboard",
"description": "Client onboarding pipeline: Stripe billing setup + Vercel deployment check + welcome deck + n8n CRM workflow",
"author": "mike@rocketopp.com",
"env": {
"VERCEL_TEAM_ID": "$env.VERCEL_TEAM_ID",
"N8N_WEBHOOK_BASE": "$env.N8N_WEBHOOK_BASE"
},
"variables": {
"client_name": "",
"client_email": "",
"client_domain": "",
"vercel_project_id": "",
"monthly_price": 299,
"industry": "",
"service_area": ""
},
"steps": [
{
"id": "step_001",
"name": "Verify Vercel Deployment",
"mcp_server": "vercel",
"tool": "get_project",
"inputs": {
"projectId": "{{variables.vercel_project_id}}",
"teamId": "{{env.VERCEL_TEAM_ID}}"
},
"outputs": {
"project_name": "$.name",
"production_url": "$.targets.production.url",
"framework": "$.framework"
},
"on_fail": "halt",
"timeout_seconds": 30
},
{
"id": "step_002",
"name": "Create Stripe Customer",
"mcp_server": "stripe",
"tool": "create_customer",
"inputs": {
"name": "{{variables.client_name}}",
"email": "{{variables.client_email}}",
"metadata": {
"domain": "{{variables.client_domain}}",
"pipeline": "client-onboard"
}
},
"outputs": { "customer_id": "$.id" },
"on_fail": "halt",
"parallel_group": "setup"
},
{
"id": "step_003",
"name": "Create Subscription Product",
"mcp_server": "stripe",
"tool": "create_product",
"inputs": {
"name": "{{variables.client_name}} - Website Package",
"description": "Monthly website hosting, management, and optimization"
},
"outputs": { "product_id": "$.id" },
"on_fail": "halt",
"parallel_group": "setup"
},
{
"id": "step_004",
"name": "Create Monthly Price",
"mcp_server": "stripe",
"tool": "create_price",
"depends_on": ["step_003"],
"inputs": {
"product": "{{step_003.outputs.product_id}}",
"unit_amount": "{{variables.monthly_price}}00",
"currency": "usd",
"recurring": { "interval": "month" }
},
"outputs": { "price_id": "$.id" }
},
{
"id": "step_005",
"name": "Create Subscription",
"mcp_server": "stripe",
"tool": "create_subscription",
"depends_on": ["step_002", "step_004"],
"inputs": {
"customer": "{{step_002.outputs.customer_id}}",
"items": [{ "price": "{{step_004.outputs.price_id}}" }],
"collection_method": "send_invoice",
"days_until_due": 30
},
"outputs": {
"subscription_id": "$.id",
"subscription_status": "$.status"
}
},
{
"id": "step_006",
"name": "Generate Welcome Presentation",
"mcp_server": "gamma",
"tool": "generate",
"depends_on": ["step_001"],
"inputs": {
"inputText": "Welcome aboard {{variables.client_name}}! Your site at {{step_001.outputs.production_url}} is live.",
"format": "presentation",
"numCards": 6
},
"outputs": { "deck_url": "$.url" },
"on_fail": "skip"
},
{
"id": "step_007",
"name": "Trigger CRM Onboarding",
"mcp_server": "n8n",
"tool": "execute_workflow",
"depends_on": ["step_005", "step_006"],
"inputs": {
"workflowId": "client-onboarding-crm",
"inputs": {
"type": "webhook",
"webhookData": {
"method": "POST",
"body": {
"client_name": "{{variables.client_name}}",
"stripe_customer_id": "{{step_002.outputs.customer_id}}",
"welcome_deck": "{{step_006.outputs.deck_url}}"
}
}
}
},
"on_fail": "retry:2"
}
],
"on_complete": {
"notify": "slack:#client-onboarding",
"log": true
},
"metadata": {
"pipeline": "client-onboard",
"cro9_analytics": true,
"sxo_optimized": true,
"tags": ["onboarding", "billing", "crm"]
}
}Website Factory
burstFull website factory pipeline: domain check, site deploy, DNS config, Stripe billing, analytics setup, client deck generation.
9
Steps
6
Services
~4 minutes
Runtime
GoDaddyZoomInfoVercelStripeGamman8n#client-site#full-pipeline#auto-billing
website-factory.0n
{
"version": "0.2",
"name": "website-factory-full",
"description": "Full RocketOpp website factory pipeline: domain check > site deploy > DNS config > Stripe billing > analytics setup > client deck generation",
"author": "mike@rocketopp.com",
"env": {
"VERCEL_TEAM_ID": "$env.VERCEL_TEAM_ID",
"SUPABASE_PROJECT_URL": "$env.SUPABASE_PROJECT_URL",
"ANALYTICS_ENDPOINT": "$env.ANALYTICS_ENDPOINT",
"N8N_WEBHOOK_BASE": "$env.N8N_WEBHOOK_BASE"
},
"variables": {
"client_name": "",
"client_domain": "",
"client_email": "",
"brand_primary_color": "#1a1a2e",
"brand_accent_color": "#0f3460",
"template_id": "nextjs-rocketopp-starter",
"industry": "",
"service_area": "",
"monthly_price": 299
},
"steps": [
{
"id": "step_001",
"name": "Check Domain Availability",
"mcp_server": "godaddy",
"tool": "domains_check_availability",
"inputs": { "domains": "{{variables.client_domain}}" },
"outputs": {
"domain_available": "$.available",
"domain_price": "$.price"
},
"on_fail": "halt"
},
{
"id": "step_002",
"name": "Generate Domain Alternatives",
"mcp_server": "godaddy",
"tool": "domains_suggest",
"condition": "{{step_001.outputs.domain_available}} == false",
"inputs": {
"query": "{{variables.client_name}} {{variables.industry}}",
"limit": 10
},
"on_fail": "skip"
},
{
"id": "step_003",
"name": "Enrich Client Data",
"mcp_server": "zoominfo",
"tool": "search_company",
"inputs": {
"company_name": "{{variables.client_name}}",
"location": "{{variables.service_area}}"
},
"on_fail": "skip",
"parallel_group": "research"
},
{
"id": "step_004",
"name": "Deploy Next.js Site to Vercel",
"mcp_server": "vercel",
"tool": "deploy_to_vercel",
"depends_on": ["step_001"],
"condition": "{{step_001.outputs.domain_available}} == true",
"outputs": {
"deployment_url": "$.url",
"project_id": "$.projectId"
},
"on_fail": "retry:3",
"timeout_seconds": 180
},
{
"id": "step_005",
"name": "Configure Environment Variables",
"mcp_server": "n8n",
"tool": "execute_workflow",
"depends_on": ["step_004"],
"inputs": {
"workflowId": "vercel-env-setup",
"inputs": {
"type": "webhook",
"webhookData": {
"body": {
"project_id": "{{step_004.outputs.project_id}}",
"env_vars": {
"NEXT_PUBLIC_CRO9_ENABLED": "true",
"NEXT_PUBLIC_BRAND_PRIMARY": "{{variables.brand_primary_color}}",
"NEXT_PUBLIC_BRAND_ACCENT": "{{variables.brand_accent_color}}"
}
}
}
}
},
"on_fail": "retry:2"
},
{
"id": "step_006",
"name": "Create Stripe Product",
"mcp_server": "stripe",
"tool": "create_product",
"depends_on": ["step_004"],
"inputs": {
"name": "{{variables.client_name}} - Website Management",
"metadata": {
"client_domain": "{{variables.client_domain}}",
"pipeline": "website-factory"
}
},
"outputs": { "product_id": "$.id" },
"parallel_group": "billing"
},
{
"id": "step_007",
"name": "Create Stripe Price",
"mcp_server": "stripe",
"tool": "create_price",
"depends_on": ["step_006"],
"inputs": {
"product": "{{step_006.outputs.product_id}}",
"unit_amount": "{{variables.monthly_price}}00",
"currency": "usd",
"recurring": { "interval": "month" }
},
"outputs": { "price_id": "$.id" }
},
{
"id": "step_008",
"name": "Generate Client Welcome Deck",
"mcp_server": "gamma",
"tool": "generate",
"depends_on": ["step_004", "step_006"],
"inputs": {
"inputText": "Client welcome presentation for {{variables.client_name}}. Site: {{step_004.outputs.deployment_url}}. Features: CRO9 analytics, SXO optimization, monthly reports.",
"format": "presentation",
"numCards": 8
},
"outputs": { "deck_url": "$.url" },
"on_fail": "skip"
},
{
"id": "step_009",
"name": "Trigger Client Onboarding",
"mcp_server": "n8n",
"tool": "execute_workflow",
"depends_on": ["step_004", "step_007", "step_008"],
"inputs": {
"workflowId": "client-onboarding-master",
"inputs": {
"type": "webhook",
"webhookData": {
"body": {
"client_name": "{{variables.client_name}}",
"deployment_url": "{{step_004.outputs.deployment_url}}",
"stripe_price_id": "{{step_007.outputs.price_id}}",
"welcome_deck_url": "{{step_008.outputs.deck_url}}"
}
}
}
},
"on_fail": "retry:2"
}
],
"on_complete": {
"notify": "slack:#website-factory-deployments",
"log": true
},
"metadata": {
"pipeline": "website-factory",
"cro9_analytics": true,
"sxo_optimized": true,
"tags": ["client-site", "full-pipeline", "auto-billing"]
}
}Build your own
Create .0n files that orchestrate any of our 26 services. Describe outcomes, not steps.
npx 0nmcp
Read the .0n spec →