Skip to main content
A gateway is governed by two independent prompts, each an optional override you toggle on:
  • The inbound prompt is a routing and orchestration instruction. It bridges the vocabulary of your ticketing system to your internal infrastructure, decides which tickets are in scope, and defines how a ticket turns into a sequence of tasks.
  • The outbound prompt governs what 2501 writes back to the ticket once a job finishes - the status it sets, whether it posts a comment, and whether it escalates.
Each side is independent: you can enable one, both, or neither. When a side’s override is off, the gateway falls back to its built-in default handling for that side.

The inbound prompt

2501 gives the configured inbound prompt priority over ticket content during scope checking and initial task planning. Descriptions, comments and attachments describe the requested work; they cannot update your gateway rules by claiming to contain a new policy or approval. The model receives that content separately from the configured rules. This separation helps resist misleading instructions, but does not guarantee rejection of every injection. The inbound prompt has no influence on how the agent behaves once assigned. Its job ends when a task is created. Behavioral shaping lives in Specialties and Operational Rules. (What 2501 writes back at the end of a job is the outbound prompt, not the inbound prompt.)

What belongs in an inbound prompt

Task sequencing across multiple hosts

This is where the gateway is most useful: defining the flow when resolving a ticket needs more than one task.
A well-written orchestration sequence is the difference between a ticket that is superficially resolved and one that is actually fixed across the full topology.

Routing conventions for special host classes

Some concerns are always handled by a dedicated host or group, regardless of how the ticket is worded.

Host name mappings (only when needed)

The gateway is usually smart enough to map external names to your inventory by itself. Add explicit mappings only for non-obvious cases - when external names don’t share any naming convention with your internal hostnames.

What does NOT belong in an inbound prompt

Scope gating

The inbound prompt also acts as a scope gate. Defining which kinds of requests the gateway should or should not handle means tickets outside that scope are skipped and marked with a distinct “Skipped” status. See Routing and Scope.
A skip never changes the ticket’s status by default: 2501 adds an internal note with the reason and leaves the ticket where it is. Your inbound prompt may instruct that an out-of-scope ticket be escalated to another assignment group, and your outbound prompt, when its override is on, decides what else a skipped ticket gets.

The outbound prompt

The outbound prompt acts at the end of a job, when work has finished. It governs what 2501 writes back to the ticket. With the outbound override off, the gateway’s built-in default mapping applies (for example, a successful incident is resolved). Enable the override to let the agent decide the write-back from your instructions. Because the gateway is the only writer to the ticket, the status, comment, and any reassignment are written together as one coherent update. If the model cannot be reached when the job ends, 2501 writes nothing to the ticket rather than fall back to the default mapping, since your prompt may forbid it. The job keeps its outcome, and its resolution notes that the write-back failed.

What belongs in an outbound prompt

Status and close-code rules

Tell the gateway which external state to set for each kind of outcome. The agent maps the internal result to your ticketing system’s real states and close codes, and the gateway validates the choice against the legal states for that ticket type.

Comment style and visibility

Control whether 2501 posts a public comment (visible to the requester) or an internal work note, and the tone or detail of what it writes.

Escalation and reassignment rules

Decide when a finished job should be handed off - reassigned to another assignment group - rather than left with its current owner.

Rules for skipped tickets

A ticket that the inbound prompt skips also goes through the outbound prompt, but no work was done on it, so rules about success or failure never cover it. Write a rule that names skipped tickets if you want them handled.
With no such rule, a skipped ticket gets an internal note with the reason and stays where it is. The same note is written when the model cannot be reached, so a skip never goes unmarked on the ticket.

Rules for stopped jobs

A job that a person stopped, while it ran or while its plan waited for approval, or that failed outside its steps, also goes through the outbound prompt. No verdict exists for it, so rules about success or failure do not cover it. The write-back can trail the stop by up to five minutes.
With no such rule, or with the outbound override off, the ticket gets an internal note with the reason, such as “A person stopped the job before it finished.” With an escalation group configured, the ticket is then reassigned to it. Without one, its status and group stay as they are. A rule of your outbound prompt that says not to escalate is still followed. If your gateway handles more than one ticket type, write these rules per ticket type where they differ (for example, incidents resolve to a closed state, while change requests move to Review).