set_workflow_kanten
Set the edges (allowed transitions) of a workflow. kanten: [{von, nach, art?('vor'|'zurueck'|'sprung', default vor), bedingung?, name?, prioritaet?, nach_workflow?}] with von/nach as node schluessel. With nach_workflow (id or exact name of ANOTHER workflow of this tenant) the edge is a hand-over into that workflow ('uebergang', e.g. Vertrieb ANGEBOT AKZEPTIERT → Abwicklung TERMIN FINDEN); nach is then a node of that workflow. Condition JSON over the object's data: {} = always; {feld, op, wert} with op eq|ne|in|nicht_in|enthaelt|exists|leer|gt|gte|lt|lte (feld is a column/field name or dotted path; for Pipedrive deals custom fields work by their NAME, e.g. 'Experte'); combine with {alle:[…]}, {eines:[…]}, {nicht:{…}}. ersetzen=true replaces ALL edges (default: add/update only the given pairs). Without any edges a workflow simply goes forward by node order.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow_id": "<workflow_id>",
"kanten": "<kanten>"
},
"name": "set_workflow_kanten"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kanten | Yes | Erlaubte Uebergaenge als [{von, nach, art?, bedingung?, name?, prioritaet?, nach_workflow?}] | |
| ersetzen | No | true ersetzt ALLE Kanten; sonst nur die angegebenen Paare ergaenzen/aendern | |
| workflow_id | Yes | Workflow-ID |