upsert_workflow
Create or update a workflow. Required for new: name, objekt_typ (deal|lead|project|asbest_project|contact|… any object type). Optional: workflow_id (update), beschreibung, zuruecksetzen ('erlaubt'|'mit_grund' (default: going back needs a reason)|'nur_kanten' (only over defined zurueck edges)|'verboten'), aktiv. Pipedrive pipelines/boards are created with import_pipedrive_workflow instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the workflow | |
| aktiv | No | Whether the entry is active | |
| objekt_typ | No | Object type the workflow applies to (e.g. deal, lead); required for new | |
| workflow_id | No | ID of the workflow | |
| beschreibung | No | Free-text description of the workflow | |
| objekt_muster | No | Regex with ONE capture group that finds the object id in mail subjects/texts for signals. Default for deals: \bDN\s*[-–]?\s*(\d{3,6})\b | |
| zuruecksetzen | No | Rule for moving objects back; default mit_grund (needs a reason) |