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

Parameters: run_automation
NameTypeDescription
automation_id string required string Automation ID from list_automations.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/workramp/automations/automation_8c41d2/run \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("workramp", "run_automation", {"automation_id":"automation_8c41d2"})
Node.js
const result = await cotlet.call('workramp', 'run_automation', {"automation_id":"automation_8c41d2"});
CLI
cotlet call workramp run_automation --data '{"automation_id":"automation_8c41d2"}'

Example response

JSON

{
  "automation_id": "aut_41d9",
  "name": "New hire onboarding",
  "started": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.