Show examples in:
Retrieve a workflow

Returns

Returns a workflow resource object.

Examples

Example Basic example
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();