Reference
Run a routine now
Start one run now for every account of the routine (the safety gate still decides each action). Returns per-account outcomes.
View MarkdownThis page is generated from the source code on every release.
Start one run now for every account of the routine (the safety gate still decides each action). Returns per-account outcomes.
Overview
| Name | Value |
|---|---|
| Code | routines.run_now |
| Scope needed | automation.write |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
Yes |
| Member roles allowed | owner, manager |
| In the app | Automation → Routines → Run now |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
uuid |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/routines.run_now \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: <unique key per operation>" \
-d '{"id":"00000000-0000-0000-0000-000000000000"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
outcomes |
object[] |
Yes |
Example answer
{
"data": {
"ok": true,
"outcomes": [
{
"accountId": "00000000-0000-4000-8000-000000000000",
"status": "started",
"detail": "text",
"sequenceId": "00000000-0000-4000-8000-000000000000"
}
]
}
}Using it over MCP
Not listed on any profile: call tools_describe then tools_run with code: "routines.run_now". Tool name when listed: routines_run_now.