The .do platform is designed to empower businesses by enabling "business as code" and "services as software," leveraging the power of agentic AI and workflow automation. At its core lies the concept of integrating and extending existing systems and processes. This is where the .do SDK comes in – the Software Development Kit for unlocking the full potential of the .do platform within your applications.
In this case study, we'll explore how a hypothetical company, "AutomateEverything Inc.", leveraged the .do SDK to build an internal automation tool, significantly streamlining their operational workflows.
AutomateEverything Inc. faced a common challenge: several critical internal processes relied heavily on manual data entry, switching between multiple systems, and repetitive approval workflows. These tasks were time-consuming, prone to human error, and hindered overall productivity. Examples included:
Their goal was to automate these processes to free up employee time and improve accuracy. However, they needed a solution that could integrate with their existing legacy systems and be flexible enough to adapt to evolving business needs.
Recognizing the power of the .do platform's agentic workflows and its ability to interact with external services, AutomateEverything Inc. decided to utilize the .do SDK to build their internal automation tool. The SDK provided the necessary tools to programmatically interact with the .do platform's API, allowing them to:
AutomateEverything Inc. chose to build their internal tool using TypeScript, leveraging the familiarity and type safety it offers. The .do SDK, with its robust TypeScript support, made the integration seamless.
Here's a simplified example of how they might have used the SDK to trigger an employee onboarding workflow:
import { DoSDK } from '@do/sdk';
const sdk = new DoSDK({
apiKey: 'YOUR_API_KEY', // Securely manage your API key
});
interface NewEmployeeData {
name: string;
email: string;
department: string;
// ... other relevant data
}
async function onboardNewEmployee(employeeData: NewEmployeeData) {
try {
const workflowExecution = await sdk.workflows.execute('onboarding-workflow-id', {
input: employeeData,
});
console.log('Onboarding workflow initiated:', workflowExecution.id);
// You might then poll or use webhooks to monitor the workflow status
} catch (error) {
console.error('Error triggering onboarding workflow:', error);
}
}
// Example usage:
const newHire = { name: 'Jane Doe', email: 'jane.doe@example.com', department: 'Engineering' };
onboardNewEmployee(newHire);
This simple code snippet demonstrates the ease with which they could integrate their internal tool with the .do platform's automation capabilities.
By building their internal automation tool with the .do SDK, AutomateEverything Inc. achieved significant results:
The case study of AutomateEverything Inc. highlights the power and flexibility of the .do SDK. It's not just a tool for interacting with the .do platform; it's a key enabler for building robust, integrated, and automated solutions. Whether you're looking to automate internal processes, build customer-facing applications that leverage agentic AI, or connect disparate systems, the .do SDK provides the foundation.
By leveraging the .do SDK, developers can seamlessly integrate and extend the capabilities of the .do platform, transforming complex business processes into efficient, "business as code" workflows. Start exploring the .do SDK today and unlock the potential for automation and innovation within your organization.
Ready to get started? Visit our [developer portal](link to your developer portal) for detailed documentation and installation instructions.
FAQs about the .do SDK:
Q: What is the .do SDK? A: The .do SDK allows developers to programmatically interact with the .do platform, enabling them to build custom applications, automate workflows, and integrate with existing services.
Q: How do I get started with the .do SDK? A: You can install the .do SDK via npm or yarn package managers. Detailed installation instructions and documentation are available on our developer portal.
Q: What programming languages does the .do SDK support? A: The .do SDK is designed to be used with a variety of programming languages. We primarily provide examples and support for TypeScript/JavaScript, but the underlying API can be accessed from any language capable of making HTTP requests.