Are you looking to unlock new levels of efficiency and create programmable value for your business? The concept of delivering your core business processes as Services-as-Software (SaaS) is a powerful way to achieve this. Imagine transforming complex operational tasks into simple, API-driven services that can be integrated anywhere.
This is where service.do comes in. We provide the platform to build, deploy, and manage these programmable services, powered by agentic workflows and AI. Instead of manual processes or rigid internal tools, you can create flexible, intelligent agents that handle tasks on demand.
In this post, we'll walk you through the fundamental steps of building your very first Service-as-Software using service.do.
At its core, Service-as-Software on service.do means taking a specific business process (like generating an invoice, onboarding a new user, or processing a payment) and encapsulating it as a programmable unit. This unit is then exposed through easy-to-use APIs and SDKs, allowing other systems or applications to interact with and trigger that process programmatically.
The magic happens under the hood, where service.do utilizes agentic workflows to power these services. An agent acts as an intelligent orchestrator, capable of executing a sequence of predefined actions to achieve the service's objective. These actions can involve fetching data, performing calculations, interacting with external APIs, generating documents, and much more.
Transforming your internal processes into programmable services offers significant advantages:
Let's consider a common business process: generating and sending an invoice based on sales data. We can transform this into a Service-as-Software on service.do.
Here's a conceptual breakdown and how it maps to service.do:
Here's how this looks in a simplified code snippet using a hypothetical service.do SDK (similar to the example provided on the website):
import { Agent } from '.do';
// Define our Agent named 'InvoiceGenerator'
const serviceAgent = new Agent({
name: 'InvoiceGenerator',
description: 'Generates and sends invoices based on sales data.',
actions: [
'fetchSalesData', // Action to get sales data
'calculateInvoiceTotal',// Action to calculate total
'generatePdf', // Action to create the PDF
'sendEmail' // Action to send the email
]
});
// Define a function that triggers the agentic workflow
async function generateInvoice(orderId: string) {
// Use the agent to perform actions in sequence
const invoiceDetails = await serviceAgent.do('fetchSalesData', { orderId });
const total = await serviceAgent.do('calculateInvoiceTotal', invoiceDetails);
const pdf = await serviceAgent.do('generatePdf', { ...invoiceDetails, total });
await serviceAgent.do('sendEmail', { to: invoiceDetails.customerEmail, attachment: pdf });
return { success: true, message: 'Invoice generated and sent' };
}
// Now you can call generateInvoice(orderId) from any application or system
// to programmatically trigger the invoice generation and sending process.
This code demonstrates how you can orchestrate a business process by telling your InvoiceGenerator agent to perform specific actions in a defined order. The beauty of service.do is that it provides the infrastructure to define these agents, their actions, and expose them as reliable, programmable services.
To build your first Service-as-Software on service.do, you would typically:
Transforming your business processes into programmable Services-as-Software is a strategic move towards greater efficiency, automation, and integration. service.do provides the platform and the power of agentic workflows to make this transformation achievable. By following the steps outlined above, you can start building your first programmable service and unlock the potential of delivering your business capabilities as software.
Ready to transform your business processes? Explore service.do and start building your first Service-as-Software today!