Reference
Save campaign flow (draft)
Save the draft step graph (messages written by people/templates, waits, conditions).
View MarkdownThis page is generated from the source code on every release.
Save the draft step graph (messages written by people/templates, waits, conditions).
Overview
| Name | Value |
|---|---|
| Code | campaigns.save_graph |
| Scope needed | campaigns.write |
| Risk | Write |
| May need confirmation | No |
| Runs as | Answers right away |
Needs Idempotency-Key |
No |
| Member roles allowed | owner, manager |
| In the app | Campaigns → Flow |
Input fields
| Field | Type | Required | Description |
|---|---|---|---|
id |
uuid |
Yes | |
graph |
any |
Yes |
Example request
curl -X POST https://tlg.builera.app/api/public/v2/ops/campaigns.save_graph \
-H "Authorization: Bearer $TELEGRAM_AUTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"00000000-0000-0000-0000-000000000000","graph":"…"}'Output fields (data)
| Field | Type | Required |
|---|---|---|
ok |
true |
Yes |
Example answer
{
"data": {
"ok": true
}
}Using it over MCP
Tool campaigns_save_graph is listed on the profiles: Automation setup (setup). On other profiles, find it with tools_search and run it with tools_run.