Deploy Priority Queue Preview

Sort tasks by numeric priority then identifier

Deploy Priority Queue Preview

Just deployed

Deploy and Host Priority Queue Preview on Railway

Sort tasks by numeric priority then identifier.

About Hosting Priority Queue Preview

This is a stateless JSON tool. Deploy it, copy TOOL_TOKEN from service variables and send it as an Authorization: Bearer header on POST /run. The /health endpoint is public and returns readiness only. Inputs are limited to 64 KiB. The application does not store requests or call a model.

Why Deploy Priority Queue Preview

Call a deterministic operation from an agent, workflow or application without an LLM API key.

Common Use Cases

  • Sort tasks by numeric priority then identifier.
  • Insert a deterministic check or transformation in a workflow.
  • Repeat the documented example in a regression check.

Dependencies for Priority Queue Preview

  • Python 3.13 container and a Railway project.
  • An HTTP client with your generated bearer token.

Example input for POST /run

{"tasks": [{"id": "a", "priority": 1}, {"id": "b", "priority": 3}]}

Expected response

{"result": ["b", "a"]}

The single process is intended for small internal workloads. Set concurrency and load limits upstream before serving high volume traffic.


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
120
View Template
Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

codestorm
110
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
868