Spaces
Subsector / NAICS 482

An AI agent for rail transportation: line-haul and short line railroads and their shippers

Rail transportation is a business-to-business industry. In NAICS it consists of line-haul railroads and short line railroads, which move freight and, for some, passengers over track they operate. Almost nobody writes to a railroad the way a consumer writes to a shop.

The people who message a short line are shippers, plant managers, logistics coordinators, brokers, track and equipment contractors, and sometimes landowners and local officials.

Spaces connects the messaging account these people already use, so an AI agent such as Claude, Grok, ChatGPT or your own code can read the chat and reply in the same thread using the information you give it.

A clay delivery van with parcels and a phone tracking chat
Key takeaways
  • The people who write to a railroad are shippers, consignees, brokers, contractors and neighbours, not consumers, and their messages are short and practical.
  • An agent can answer routine questions about service days, how to request a car, documents and contacts, and can share status from your own tools.
  • Safety, dispatch, crossings, incidents, hazardous materials and contract terms must always go to a qualified person.
  • Spaces carries the messages while your agent reaches car tracking and billing systems through its own tools.
  • The chat is for people who write to you or expect to hear from you, never for bulk promotions or cold outreach.

It is a smaller fit than retail, and this page says so plainly. Where it helps is in the steady stream of routine questions from customers and partners: where a car is, when the next switch is, what a siding can handle, who to contact.

Safety, operations and contract matters stay with people.

Subsector
NAICS 482
Part of
Transportation and Warehousing
Inside it
1 industry groups
Last updated
See it in your world

Here is one conversation, start to finish.

An example of how an AI agent handles a message in rail transportation. The names and details are made up.

PassengerRail TransportationAI agent
In this guide
01 / Subsector

An honest view of who writes to a railroad

Railroads sell a service to businesses. A short line might serve a grain elevator, a steel plant, a lumber yard, a chemical works and a handful of industrial parks.

The customer contact is usually a logistics or plant manager who already has the railroad's number and uses a chat to ask a quick question without a call.

Alongside customers, a railroad hears from interchange partners at the connecting carrier, from contractors who maintain track or crossings, from locomotive and car suppliers, and from local people with questions about noise, blocked crossings or land next to the right of way.

Few of these messages are consumer messages, so an agent here is a coordination tool, not a shop assistant.

02 / Subsector

What an agent can answer

Routine operations questions with settled answers suit an agent. It can explain which days a customer's siding is served, how to request an empty car or a pull, what information a request needs, and how to reach the customer service desk or the yardmaster's office.

It can explain how a customer sets up an account and what paperwork is normally needed, in the words you give it.

If your agent has a tool that reads car tracking or the day's plan, it can say where a car was last reported or when the next switch is planned. Spaces does not provide those lookups.

The agent should state only what the tool returns, mark it as the last known status, and hand over when something looks wrong.

  • Service days and how a customer requests cars or a pull
  • What information a request needs: car type, location, date and contact
  • Who to contact for billing, customer service and the yard office
  • How to ask about interchange handling with a connecting carrier
  • Contractor access procedures as you have written them
03 / Subsector

Using the chat for intake and coordination

A good deal of value lies in intake. A plant manager might write, just say my cars did not come. The agent can ask the right follow-up questions: which siding, which car numbers if known, what day it was expected, and a contact for follow-up.

It can then pass that on to the right person with a short summary, so the customer service team do not spend time asking.

The same applies to contractors who want to arrange access, and to local residents who write to report a blocked crossing or a nuisance.

The agent should take the details and hand them over at once, and it should never promise a fix or a time.

04 / Subsector

What must always stay with a person

Railways are safety-critical. Any report of an incident, derailment, a crossing collision, a trespasser, a fire, a leak or spill, or anything involving hazardous materials must go to a person immediately, along with the emergency guidance you have written for the customer or the public.

The agent must not speculate about causes, delays or consequences.

Dispatch decisions, operating rules, track access, car allocation and any contract or rate negotiation also belong to people. The agent can say that a person will reply and gather the facts. It should not promise service, rates or dates beyond what your briefing authorises.

05 / Subsector

What to give your agent

Write the service description: the territory, the customers you serve by type, the service schedule as it is routinely communicated, how to open an account, how to request cars, what documents are needed, and who to contact for what.

Include your standard wording for emergencies and the contact numbers for urgent matters.

Add the voice. Rail customers are busy professionals, so short, plain replies without padding are best.

Give the agent the names and roles of the people it hands over to, such as the customer service lead, the yardmaster and the commercial manager, and tell it what each handles.

06 / Subsector

A typical week and season

A short line has weekly cycles built around switching days and customer shipping patterns. A grain line sees a harvest-season surge, a seasonal chemical or fertiliser customer sees spring peaks, and an industrial line follows its customers' production.

Weather events such as flooding or heavy snow bring bursts of questions about delays.

In the busy periods, the agent collects questions and handles the routine so the customer service team can focus on exceptions. After each peak, review the handed-over conversations to learn what customers needed that the briefing did not cover.

07 / Subsector

Setting it up and measuring it

Connect the account your customers already write to, give the agent its key and briefing, and start in draft mode so a person reads each reply. Spaces applies per-account limits, pacing and warm-up, and every send is safe to retry.

Automate simple topics such as how to contact the yard office once they are consistently right, and keep operations and safety on handover.

Look at the time to first reply, how complete requests are when they reach a person, how often chats are handed over and whether they needed to be.

Read conversations each week to check that the agent has not drifted into predicting delays or promising service.

08 / Subsector

Where Spaces is not the right tool

Spaces is not a dispatch system, a car-tracking system or a billing platform. It does not replace your operating communications, and it is not a channel for safety-critical instructions.

If your customers use formal electronic data exchange and rarely chat, a chat agent will help less. Its Terms also rule out bulk unsolicited messages, cold outreach and bought or scraped lists, so it is not a way to prospect for new shippers.

Messages people send

What does an agent actually see?

Examples of first messages to businesses in rail transportation. They are illustrations, not real conversations.

  • Maya R.Good morning, our two cars did not get pulled yesterday, can you tell me what happenednow
  • Tom B.What days do you switch the Eastgate siding and what is the cut-off to request an empty2 min
  • Priya S.We want to start shipping plastic pellets by rail, how do we open an account9 min
  • Daniel K.Who do I speak to about a billing error on last month's freight24 min
  • Amara O.Our contractor needs access to the spur for track work next Tuesday, what is the procedure1 h
  • Maya R.The crossing on Mill Road has been blocked for half an hournow
  • Tom B.Can the connecting carrier hand cars to you at the usual interchange tomorrow morning2 min
  • Priya S.I live next to the line and the noise has been bad at night, who can I talk to9 min
Illustration: the chats your agent reads through the API, with example names.
Hand-over

What always goes to a person.

Your agent answers what it can and hands the rest to someone on your team. These are the conversations to hand over every time.

01

Any incident, derailment, crossing collision, fire, leak, spill or hazardous materials question

02

Reports of a blocked crossing or trespass that need a response

03

Dispatch, car allocation, operating rules and track access decisions

04

Rates, contracts, credit and commercial negotiations

05

Claims for damaged lading or lost cars

06

Complaints from the public, local officials or regulators

Inside Rail Transportation

Explore the industry groups.

Free tools

Thirty free tools for railroads and short lines.

Checklists, ready-to-send messages, scorecards and calculators. They run in your browser and send nothing anywhere.

FAQ

Questions, answered.

01Is a chat agent useful for a railroad at all?

It is a modest fit, because most messages come from business customers and partners rather than consumers. It helps with routine questions, intake and directing people to the right contact, while operations and safety stay with staff.

02Can it tell a shipper where their car is?

Only if your agent has a tool that reads your car tracking, and then only as the last known status. Spaces carries the chat and does not provide tracking. If something looks wrong, the agent hands over.

03How should it handle a blocked crossing report?

It should take the location and time, hand the report to a person immediately and avoid promising a time to clear. Anything involving danger goes straight to the emergency wording you have written.

04Can it quote rates?

No. Rates and contracts are commercial decisions for a person. The agent can explain how to ask for a quote and collect the details.

05Who might write to a short line besides shippers?

Connecting carriers, contractors, suppliers, local officials and neighbours. The agent can direct each to the right person, and should treat public complaints and safety reports as handovers.

06Can the agent explain operating rules?

It can share what you have written for customers, such as how to request cars. Operating rules, safety procedures and access decisions are for qualified staff.

07Can I message potential shippers to win business?

No. Spaces' Terms rule out bulk unsolicited messages, cold outreach and bought or scraped lists. It is for conversations people start with you and for people who know you and expect to hear from you.

08Will the agent reply without a person checking?

That depends on your set-up. Start with drafts that staff approve and automate only simple topics, keeping operations, safety and contracts on handover.

Guides

Closer guides for specific businesses.

Give your agent its first account today.