Stop being a human API
You know the routine. Someone needs something done, they @tag you. Define those requests as actions — and let your team trigger them directly.
First action live in under an hour.
delego.register({ name: 'process-refund', handler: async () => { ... } })
@delego refund order #4521
You built it. Now you're stuck running it.
Support needs a refund processed?
@youOps needs a feature flag toggled?
@youSomeone needs data pulled from prod?
@youWhat if they tagged @delego instead?
Let them @delego instead
Define the action once. Your team asks in plain English — delego figures out what they need and runs it.
import { Delego } from '@delego/sdk';
const delego = new Delego({
apiKey: process.env.DELEGO_API_KEY
});
delego.register({
name: 'process-refund',
description: 'Process a refund by order ID',
roles: ['Support', 'Finance'],
parameters: {
orderId: { type: 'string', required: true },
reason: { type: 'string' }
},
handler: async ({ orderId, reason }) => {
await stripe.refunds.create({ order: orderId });
return `Refund processed for ${orderId}`;
}
});I'll process a refund for order #4521 with reason "damaged item". Should I proceed?
You've already built this stuff before.
Permissions. Audit logs. Confirmation dialogs. Rate limiting. And you'd have to wire it up again for every new action — then maintain it all.
Just define the handler. The rest is covered.
No slash commands. Just ask.
Your team doesn't need to learn syntax or remember command formats. They just talk to @delego like they'd talk to you.
DM the bot directly. Tag it in a channel. Or mention it mid-thread after a decision's been made — it'll read back and pick up the context.
- DM @delego for quick requests
- Tag in a channel for team visibility
- Mention mid-thread — it reads the context
Based on this thread, I'll process a 50% refund for order #4521 ($44.50 of $89.00) — reason: late delivery, partial use. Should I proceed?
See what they're actually asking for
Every request that doesn't match an action gets logged. You'll see exactly what your team needs — no more guessing what to build next.
Get started in 3 steps
Install the SDK
npm install @delego/sdk
Register your actions
delego.register({
name: 'process-refund',
handler: async (params) => {
// your code here
}
})Connect to Slack
One-click workspace auth
Reclaim your focus
An hour to set up. Then every @you becomes @delego.
npm install @delego/sdkFree to start. No credit card.