ACTIONS AS CODE

Define Any Business Action.

Translate your business operations into powerful, executable verbs. Manage, track, and automate any interaction between entities with a simple, declarative API.

Join waitlist

verbs.do

import { Verb } from 'verbs.do';

// Define a 'Follow' action in your system
const follow = new Verb({
  name: 'Follow',
  subject: { type: 'User', description: 'The user who is following.' },
  object: { type: 'User', description: 'The user being followed.' },
  effects: [
    { type: 'createEdge', from: 'subject', to: 'object', label: 'follows' },
    { type: 'notify', user: 'object.id', message: '`{subject.name}` started following you.' }
  ]
});

// Now, any part of your system can execute this action
await follow.execute({ subjectId: 'user-123', objectId: 'user-456' });

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.