In the world of software development, data is the new oil. But raw data, like crude oil, is messy, unwieldy, and not very useful on its own. The real value lies in refining it—transforming vast, unstructured streams of information into clean, actionable insights. For years, this refinement process has been a complex tangle of brittle scripts, cumbersome ETL pipelines, and a patchwork of disparate services. It's time for a better way.
What if you could define your entire data processing pipeline as a single, version-controlled piece of code? What if you could orchestrate complex tasks without managing servers or writing glue code?
Welcome to devs.do. It's time to transform your operations into code.
Imagine you need to analyze customer feedback from a daily CSV export. A typical approach might look like this:
This pipeline is fragile. If the script in step 1 fails, the entire chain breaks. If you need to change the cleaning logic in step 2, how do you version and deploy that change without affecting the other parts? This isn't just automation; it's a maintenance nightmare waiting to happen.
devs.do introduces the concept of an Agentic Workflow. Instead of writing complex, imperative code to handle every step, you simply declare a sequence of tasks to be performed by specialized, autonomous agents.
An Agentic Workflow is a cornerstone of Business-as-Code. You treat your operational logic just like any other software artifact. It can be version-controlled in Git, tested, and deployed reliably. The devs.do platform acts as the runtime for this new paradigm, handling all the orchestration, error handling, and scaling behind the scenes.
Let's rebuild our customer feedback pipeline using devs.do. The core building block on the platform is a "Doer"—a single-purpose, autonomous service that performs a task via an Agentic Workflow. We'll define a Doer that turns a file of raw feedback into a sentiment analysis report.
First, we'll outline our service. It will take a URL to a CSV file as input and execute a workflow to process it.
import { Doer, Client } from '@do-inc/sdk';
// Configure your client with an API key
const client = new Client({ apiKey: 'YOUR_API_KEY' });
// Define a new service (a "Doer") to analyze customer feedback
const feedbackAnalyzer: Doer = {
name: 'feedback-analyzer.devs.do',
description: 'Analyzes a CSV of customer feedback for sentiment.',
input: {
type: 'object',
properties: {
csvUrl: { type: 'string', description: 'The public URL of the CSV file.' },
},
},
// Define the agentic workflow
workflow: [
{ agent: 'data.fetch', params: { url: '{{input.csvUrl}}' } },
{ agent: 'data.parse-csv', params: { content: '{{data.fetch.body}}' } },
{ agent: 'nlp.sentiment-analysis', params: { documents: '{{data.parse-csv.rows}}', text_field: 'feedback_text' } },
{ agent: 'report.summarize', params: { data: '{{nlp.sentiment-analysis.results}}' } },
],
};
// ... deploy the service
Let's break down that workflow:
The platform intelligently pipes the output of one agent to the input of the next. You're not writing logic for retries, data transfer, or service discovery—you're just declaring your intent.
With your Doer defined, deploying it is a single function call.
// Deploy your new service to the .do platform
async function deployService() {
const deployedDoer = await client.create(feedbackAnalyzer);
console.log(`Service deployed successfully!`);
console.log(`API Endpoint: ${deployedDoer.url}`);
console.log(`Now you can call your workflow with a simple POST request.`);
}
deployService();
That's it. Your complex data pipeline is now a scalable, resilient Service-as-Software, available via a simple API endpoint. You can call it from your application, a webhook, or another Doer.
By defining your workflow in code, you unlock all the benefits of modern software development for your business operations:
Stop wrestling with brittle scripts and complex infrastructure. With devs.do, you can leverage powerful developer tools to build intelligent workflows that turn raw data into valuable insights. By adopting the Business-as-Code mindset, you can create robust, scalable, and manageable services faster than ever before.
Ready to build your first intelligent workflow? Explore the docs and sign up for devs.do today. It's time to develop, automate, and deliver.