@agenticauto/madeeasy
v0.1.0
Published
Start and follow MadeEasy runs, propose process versions from code, and check MadeEasy webhooks.
Readme
MadeEasy for TypeScript and JavaScript
Start and follow MadeEasy runs, put files in, run a process's tests, propose new versions of a process from code, and check MadeEasy's webhooks. Node 18 or later, no runtime dependencies. Keep the API key on your server, never in a browser.
npm install @agenticauto/madeeasyimport { MadeEasy, verifyWebhook } from "@agenticauto/madeeasy";
const me = new MadeEasy({ baseUrl: "https://madeeasy.agenticauto.net", apiKey: process.env.MADEEASY_API_KEY });
const run = await me.startRun("RECONCILIATION", { inputs: { date: "2026-10-29" } });
console.log((await me.waitForRun(run.execution_id)).status);
const proposal = await me.propose("RECONCILIATION", "process.json", { summary: "Match by amount", reference: sha });
const tested = await me.waitForTests("RECONCILIATION", proposal.id); // an administrator approves it in MadeEasy
const ok = verifyWebhook(rawBody, req.headers["x-madeeasy-signature"], process.env.WEBHOOK_SECRET);