User onboarding is a critical first impression. But for most IT and HR teams, it's a slow, manual, and error-prone process. Juggling tickets, clicking through multiple admin panels, and manually assigning permissions across Active Directory, Okta, and Google Workspace consumes valuable time and introduces security risks. What if you could flip a switch and go from "new hire" to "fully provisioned" in minutes?
This isn't just a dream. With agentic workflows, you can automate the entire user lifecycle. In this guide, we'll show you how to build a lightning-fast automated onboarding workflow that creates accounts, assigns permissions, and notifies teams—all through a single, simple API.
Welcome to directory services, reimagined.
The traditional onboarding checklist is a productivity killer. A new engineer might need access to a dozen different systems, each with its own admin interface. This manual grind leads to:
The core problem is fragmentation. Your user identities live in a dozen different silos. To fix it, you don't need another directory—you need a unified layer to manage them all.
Directories.do is an AI-powered platform that turns complex identity operations into simple, automated workflows. We provide a single, universal API to manage users, groups, and access across any directory service.
Whether you're running on-prem Microsoft Active Directory, cloud-based Azure AD, LDAP, Okta, or Google Workspace, our platform connects to them all. This allows you to abstract away the complexity and manage your entire identity infrastructure as code.
At the heart of our platform are agentic workflows. Think of them as intelligent agents that you can command via API. You define the "what," and our platform handles the "how," securely executing operations across all your connected systems.
Ready to build your 10-minute onboarding workflow? Here’s how you can automate user provisioning using the directories.do API.
First, securely connect your existing identity providers to directories.do. Our platform is designed for universal compatibility. Security is paramount; we store your credentials encrypted and use them only to execute the workflows you define. All API traffic is encrypted end-to-end.
An automated workflow needs a trigger. This could be anything:
Once triggered, your code makes one simple API call to directories.do. This single call contains all the information needed to provision the new user across all relevant systems.
Look how simple it is to create a new user, add them to multiple groups, and set custom attributes:
import { directories } from 'sdk.do';
// Create a new user in your primary directory
const newUser = await directories.users.create({
firstName: 'Jane',
lastName: 'Doe',
email: 'jane.doe@example.com',
groups: ['engineers', 'product-team'], // Add to AD groups, Okta groups, etc.
attributes: {
employeeId: 'E12345',
costCenter: 'CC-987'
}
});
console.log(newUser);
// { id: 'usr_abc123...', status: 'provisioned' }
With this one command, our agentic workflow gets to work. It connects to your underlying directory (like Active Directory), creates the user account, assigns the correct employeeId, and adds 'Jane Doe' to the 'engineers' and 'product-team' security groups. No more manual clicking. No more context switching.
The best part? This workflow is extensible. You can easily add more steps:
User provisioning is just the beginning. directories.do is a complete Business-as-Code platform for the entire identity lifecycle. Use our unified API to automate:
By treating user management as code, you create a system that is transparent, repeatable, and secure by design.
Stop wasting time on manual directory tasks. It’s time to automate your identity management.
Ready to streamline your user provisioning and access control? Visit directories.do to learn more and turn your complex identity operations into simple, automated workflows.