List workflows
/workflow
Query Parameters
Filter workflows by trigger name.
integrated_account:activeFilter workflows by environment ID.
1ba1f401-7183-47c5-9e39-e8e257e3c795Response Body
Workflow execution configuration.
2 properties
JSONata condition evaluated before executing workflow steps.
integration.name = 'calcom'4 properties
Action executed by the step.
run_sync_jobJSONata expression evaluated at runtime to generate the step execution payload.
(
$sync_job_id := $mapValues(integration.name,{
"calcom": "51b79ace-a7b4-4077-93ba-8048a06ece2b"
});
{
"sync_job_id": $sync_job_id,
"integrated_account_id": integrated_account_id,
"webhook_id": "9fda519d-148f-4cc5-bbac-4e373b16e5d4"
}
)
Optional cron expression for scheduled execution, in UTC. When set, the step creates a sync job cron trigger instead of starting a run, so the trigger's check applies: the step fails if the expression doesn't parse or its next two runs are less than 5 minutes apart.
0 */6 * * *Step execution type.
runrun
05daecaf-4365-42e8-8370-8127de5dd7174a4de828-f4db-4c9e-adfd-434e0864c3c7integrated_account:connectedtruto workflows list -o jsonimport Truto from '@truto/truto-ts-sdk';
const truto = new Truto({
token: '<your_api_token>',
});
for await (const item of truto.workflow.list()) {
console.log(item);
}import asyncio
from truto_python_sdk import TrutoApi
truto_api = TrutoApi(token="<your_api_token>")
async def main():
async for item in truto_api.workflows.list():
print(item)
asyncio.run(main())curl -X GET 'https://api.truto.one/workflow' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/workflow', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/workflow"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())