DashboardSign inStart your trial

Product

AI Workflow Security Needs Bounded Decisions

A new classifier model shows why secure AI workflows need defined choices, deterministic checks, and human approval before consequential actions.

Comical editorial illustration of three robots grading workflow cards on an assembly line, with uncertain work sent to a human review desk
7 min read

Vibe coding has made the first version of a workflow cheap. Someone can describe an outbound process in a chat box, connect HubSpot and Gmail, and have a working draft within minutes.

AI workflow security becomes urgent at the next step: deciding what that workflow may do with live credentials. Can it change a deal stage? Enroll a prospect in a sequence? Send the email it drafted? The person who owns outbound needs answers before a workflow makes a customer-facing mistake under the company’s name.

A new model called Jev offers a useful building block for that moment. It evaluates unstructured evidence and returns probabilities over typed decisions, rather than generating an open-ended response about what should happen. The workflow can give it a narrow job, then send uncertain or consequential work to the controls that are responsible for policy and execution.

Start with the action, not the prompt

Take an inbound-reply workflow. A prospect writes back after a campaign, and the workflow needs to sort the reply into one of a few routes: interest, objection, out of office, wrong person, unsubscribe, or insufficient evidence. That decision can create a CRM task, move an account to a sequence, or suppress the address from future sends.

The prompt is only one input to that setup. The security review starts with the operations that follow the classification. If the reply says, “Please stop emailing me after the conference,” the unsubscribe policy should win before a model tries to interpret the rest of the sentence. If the reply does not include a sender or thread ID, the workflow has nothing reliable to update. If the event has already arrived once, a duplicate check should stop it from enrolling the same person twice.

Those are ordinary checks. They are also the part that lets a non-technical operator review the workflow with some confidence. They can see which fields are required, what an unsubscribe means, and which changes the workflow can propose. The workflow does not need an impressive prompt to make those rules legible.

Jev gives the model a smaller job

Jev is useful here because it is designed for a different shape of work from writing an email or summarizing a call. Give it the reply and the allowed dispositions, and it returns a probability distribution over that set. The workflow gets a result it can validate and route.

That is a better fit for a classification step than asking a general-purpose model, “What should we do with this?” An open prompt invites a paragraph, a new label, or a confident recommendation with no clean route through the rest of the workflow. A closed set gives the application a bounded result. insufficient_evidence can be one of the choices from the beginning, rather than an exception somebody tries to bolt on after a bad run.

The constraint has a practical limit. A model can choose the wrong allowed value. It can see an unsubscribe request as an objection, or mistake a vague reply for interest.

Put an owner on each decision

Before you connect a workflow to live systems, name the owner of each decision it will make. The three owners below have different jobs. Keeping them separate makes the route inspectable for the person who owns outbound.

  1. Classifier

    Sorts ambiguous evidence into an allowed route.

  2. Code

    Applies fixed policy and routes the result.

  3. Reviewer

    Clears a consequential action in its live context.

Now take one reply from a prospect: “I’d like a demo after Dreamforce. Please stop the current sequence until then.”

The classifier reads the message and selects positive_interest from the allowed routes. It also returns the probability behind that choice. It has no authority to schedule a meeting, enroll the prospect in another sequence, or interpret “after Dreamforce” as a calendar date.

Code sees the same reply alongside the workflow policy. It verifies the sender and thread, stops the active sequence, and creates a proposed CRM update that records the prospect’s interest and pause request. A date parser can reject the vague timing rather than guessing at it. The workflow then routes that proposal to review because it includes a customer-record change and an ambiguous follow-up date.

The reviewer sees the original reply, the selected route, and the exact update. They can approve the pause, edit the follow-up date once it is known, or reject the proposed change. That is the point of the separation: the classifier helps sort the message, policy stays predictable, and the person responsible for the account makes the call that affects the customer.

A prompt can tell an agent to avoid unapproved discounts or never change a customer record without asking. The model still interprets those words alongside emails, notes, and documents it reads on a particular run. A system prompt cannot enforce a risky tool-call boundary. The application has to enforce that boundary when the agent asks to use the tool.

Make uncertainty easy to review

A low-confidence high_fit result should not silently enroll an account in a sequence because it happened to rank first. Put the selected disposition, the alternatives, the source evidence, and the proposed CRM change on an approval card. The person responsible for outbound can see what the workflow is asking to do and decide from their phone.

That card gives human review a specific job: deciding whether this prospect should receive this follow-up, or whether this account record should change in this context. The decision record keeps the proposed action, the evidence, the policy result, and the reviewer’s choice together for later.

Routine work can still move faster as a team learns where the workflow lines up with its judgment. Rills scores each run against the review step’s inputs and a threshold the team sets. Runs below that threshold return to review. Validation and policy checks continue to apply even when the score is high, so a proven pattern does not widen the workflow’s authority.

Review the path before you connect live systems

Before an AI-generated workflow gets access to production systems, walk through the path it can take with the people who own the consequences.

  • List the choices. A classifier should select from a small, explicit set of outcomes. Add other or insufficient_evidence when a reply may not fit cleanly.
  • Name every operation. “HubSpot access” hides the important detail. Reading a contact, updating a deal stage, creating a task, and enrolling a sequence are different permissions.
  • Put hard rules where they belong. Recipient consent, allowlists, suppression, amounts, dates, required fields, and thresholds need deterministic checks.
  • Pause before commitments. Review external sends, customer-record changes, financial actions, unusual cases, and low-confidence decisions before they run.
  • Keep the record. Save the evidence, proposed action, policy result, and reviewer decision with the workflow run.

A no-code builder brings the ops person who understands the outbound process into this work directly, instead of translating every decision into a ticket for engineering. It earns that convenience by making authority visible and giving uncertainty a place to go.

Jev is a promising piece of that picture. A model built to return a bounded, probabilistic decision gives a workflow cleaner material to work with than an open-ended recommendation. The surrounding system still decides what is allowed, when a person must look, and how the final action is recorded.

Rills holds consequential AI actions in a mobile approval queue, keeps approvals and workflow logic free, and records every decision. Try the demo to see how a proposed action waits for review before it runs.

Common questions

Can a classifier make an AI workflow safe?

No. A classifier can constrain an AI workflow to defined outcomes and expose uncertainty, but code must still enforce permissions and policy, and people should review consequential actions.

Are no-code AI workflows secure enough for customer data?

They can be, when the workflow limits its data and permissions, validates deterministic rules in code, and requires review before consequential actions. The interface used to build the workflow does not determine its security.

Should AI send outbound emails without approval?

Only when a specific message type has earned that trust under a clear policy. New recipients, unusual claims, and uncertain decisions should pause for review before an email sends.

What should deterministic code control in an AI workflow?

Deterministic code should control permissions, allowed operations, dates, amounts, thresholds, required fields, and the execution of side effects. AI can evaluate ambiguous evidence within those boundaries.

Ready to automate your workflows?

AI proposes the action, you approve it, and the record shows who signed off.

14-DAY TRIAL · NO CREDIT CARD · APPROVALS ARE FREE