import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const response = await client.folders.workflows.associate('workflow_id', { folder_id: 'folder_id' });
console.log(response);
{}
Associate a workflow with a folder for automatic execution on document ingestion.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const response = await client.folders.workflows.associate('workflow_id', { folder_id: 'folder_id' });
console.log(response);
{}
Successful Response
The response is of type object
.
Was this page helpful?