He breaks down DevRev’s approach to building those workflow frameworks into six steps.
1. Set goals and define AI’s authority
Companies must understand why a human would benefit from help with the task: Is it a volume problem, or does the work require time-consuming analysis? The answer can help determine whether an operator can handle things solo, if an AI teammate should assist a human to speed things up, or if some combination of the two is the best fit.
When it comes to setting limits on AI’s authority, Bashir cautions against using task complexity as the sole litmus test, because some tasks are simply better suited for human discretion, as with the parental-leave example. Security is another factor; it may be technically straightforward for AI to grant an employee admin-level access to sensitive customer information, but mistakes involve serious consequences.
2. Give AI the right context
The next step is deciding what data AI needs to complete the task at hand. Enterprises tend to hold trillions of tokens of internal data, says Bashir, but agents work best when they have just thousands or tens of thousands to parse.
AI systems must also understand how data points relate to one another across teams and systems. This allows operators to troubleshoot and propose solutions, if, for instance, an AI operator notices multiple customer service complaints about the same issue across multiple departments, or identifies a recurring delay in the new-hire onboarding process across multiple employees.
3. Define what complete looks like
Next, decide what success entails for both AI teammates and AI operators for each workflow. In the context of a software-access request, for example, that might look like:
- An AI teammate provides a recommended action to a person, and the recommended action accurately reflects the employee’s role/entitlements and adheres to company policy.
- An AI operator independently conducts eligibility checks, confirms approval, successfully grants the employee access, and keeps a record of the event.
4. Plan for missing evidence and human handoffs
Both modes of work should draw on the same trusted company information—a foundation DevRev calls “permission-aware enterprise shared memory.” This layer allows both human users and AI teammates/operators to base decisions on the same underlying proprietary dataset, as well as to pinpoint when something is missing (or amiss). For example, if an operator can’t find the required approval for a software-access request, it should pause and refer the case to an authorized person.
And while shared data is important, a selective approach to access is still prudent, says Bashir: “Keep the shared memory broad, but give each reasoning step the least-sufficient context: the identified person or transaction, authoritative current records, applicable policy, and only the relationships needed to resolve the task.”