import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const workflowId = 'uJzC2b6YQg-DW2A5edpQYQ';
const workflow = await client.workflows.find(workflowId);
console.log(workflow);
}
run();