import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const workflows = await client.folders.workflows.list('folder_id');
console.log(workflows);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner_id": "<string>",
"user_id": "<string>",
"app_id": "<string>",
"steps": [
{
"action_id": "<string>",
"parameters": {}
}
],
"system_metadata": {}
}
]
List all workflows associated with a folder.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const workflows = await client.folders.workflows.list('folder_id');
console.log(workflows);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"owner_id": "<string>",
"user_id": "<string>",
"app_id": "<string>",
"steps": [
{
"action_id": "<string>",
"parameters": {}
}
],
"system_metadata": {}
}
]
Successful Response
The response is of type Workflow · object[]
.
Was this page helpful?