Run automation
Run an automation now for the users who already match it.
POST https://cotlet.dev/api/v1/workramp/automations/{automation_id}/run
write Confirm
Does what Run Now in the action menu does. It can enroll many users at once, so check the filters in list_automations first. An automation with New Matches only covers users who qualify after it was activated; Run Now includes past matches. A run that is already going is blocked. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| automation_id string required | string | Automation ID from list_automations. |
Request
curl -X POST https://cotlet.dev/api/v1/workramp/automations/automation_8c41d2/run \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("workramp", "run_automation", {"automation_id":"automation_8c41d2"}) const result = await cotlet.call('workramp', 'run_automation', {"automation_id":"automation_8c41d2"}); cotlet call workramp run_automation --data '{"automation_id":"automation_8c41d2"}' Example response
{
"automation_id": "aut_41d9",
"name": "New hire onboarding",
"started": true
}