Show examples in:
List all workflows

Returns

Returns an array of workflow resource objects.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const workflows = await client.workflows.list();
workflows.forEach((workflow) => {
console.log(workflow);
});
}
run();