Documentation Build a request type

Find your way around the editor

Use the canvas, outline, and inspector to build a request type without writing rule code.

The Ask the applicant, Understand the request, and Decide what happens columns show the complete request type.
The Ask the applicant, Understand the request, and Decide what happens columns show the complete request type.

Product screen with sample data. Intake is the previous working name.

The canvas

The canvas connects three parts of the request type.

  • Ask the applicant contains the first question and the follow-up questions.
  • Understand the request contains the signals. A signal is one thing Jev works out from what the applicant wrote.
  • Decide what happens contains the decision steps and the outcomes.

Each card starts with a colored tile that shows its kind: blue for a question, indigo for a signal, violet for a decision step, and the outcome's own color for an outcome. The line under the card's name says its kind, such as Signal · Pick one or Decision step.

The lines show which values each rule reads and where each step leads. At rest the lines are quiet. Move the pointer over a card to raise its lines. Select a card to raise its lines in color and fade the others. A row that leads to an outcome or a question ends in a label with that outcome's or question's name.

Select an item to see its fields in the inspector. Use the zoom controls to see more of the request type.

The outline and inspector

The outline lists the same items as the canvas, in the same order: First question, Follow-up questions, Signals, Rules, and Outcomes. Each group shows how many items it has. Use the outline to find an item when the canvas is busy. On a screen narrower than 1600 pixels the outline starts closed; select Show outline in the header to open it. When you show or hide the outline, the canvas zooms to fit its full width in the space that is left. If a name is too long for its row, point to the row or move to it with the keyboard to see the full name.

The right column switches between Inspector and Preview. The inspector shows the selected item’s kind and name at the top, then its fields. Each field has a help tip.

Editable text fields and menus share a fill and a baseline. A focused field has a blue outline. You can keep editing while the draft saves. In a published version, an agent’s view, or the editor below 1024 pixels, field values appear as plain text that you can select and copy.

Enter a Name for a signal, follow-up question, option, or outcome. Press Enter or leave the field to save the name. Escape discards the text you have not saved. A rename updates the names in rules and decision details; Undo takes back the whole change. You do not have to enter or confirm a key.

  1. Select an item in the outline or canvas.
  2. Change the fields in the inspector.
  3. Wait for the header to show Saved.
  4. Check the issue count.

The JSON view shows the request type as JSON. Open it from More in the header. Use it only when you need direct source changes. The regular controls cover questions and rules.

Edit an outcome reply

Select the outcome in the canvas or outline. Both selections open the same Outcome reply, Destination label, and Destination address fields. Each field has help and a character count. Reply and destination markers appear on the card and outline.

An incomplete destination remains editable and shows an inline issue. The JSON view reports the same publish issues. Needs a person explains why a reply is forbidden and offers a separate removal for each forbidden field. Removals support Undo.

Saving, offline recovery, and draft conflicts work as they do for the other fields. An agent, a published version, and a narrow editor show the values read-only.

The outcome inspector shows the reply and destination fields.

The setup guide

Until you publish version 1, the inspector shows a setup guide when nothing is selected. Its steps run from Write the first question to Publish version 1. Select Hide guide to put it away, and Show setup guide in the command palette to bring it back.

For a Blank request type, keep the first version small. Add one signal, one useful follow-up question, and a human fallback.

The lower panels

Open Examples to compare expected and decided outcomes. Open Outcome map to inspect numeric boundaries. Open Issues to find problems that can block publication. The count on Issues is red while an error remains. It is amber when all the problems are warnings, which do not block publication.

Header actions

Simulate starts a simulation in the preview. Publish opens the review sheet. The header also shows the draft state, the save state, the checks, undo and redo, and a version chip such as Version 1. If the name is too long for the header, point to it to see the full name, or press Escape and read it in the Name field.

The save state is one word: Saving…, Saved, or Offline. When the connection drops, the header shows Offline and the editor keeps your changes on this device. Point to Offline, or move to it with the Tab key, to read that message. The editor saves your changes when the connection returns. While another person's newer draft waits, the banner under the header says who saved it, and the header shows no save state.

A published request type shows its public link with a copy button. On a screen narrower than 1280 pixels the header shows only the copy button. Point to it, or move to it with the Tab key, to see the link.

More opens the JSON view, Versions, and Replays. The back arrow returns to Request types. Press Cmd K or Ctrl K to open the command palette.

An agent can open the editor read-only and simulate from saved judgments. Editing needs an owner or manager role. Below 1024 pixels the editor is read-only and shows “Open on a larger screen to edit.”

Concurrent changes

Other people who have the editor open show as avatars in the header. If another person saved first, a banner names them. Select Compare to see their draft beside yours. Select Keep mine only if you want to replace their draft with yours. The editor asks you to confirm.

Find an answer

Try “publish”, “API”, or “human handoff”.