safe_mind_create_department
Create a company department or area by name and return its ID; if an exact match exists, it returns that area without duplicating it.
Instructions
Create one department/area (Tätigkeitsbereich) of the company and return its id and name. Idempotent: if an area with exactly this name exists, that one is returned and nothing is duplicated. Not needed before safe_mind_create_survey, which creates missing areas by name itself. Areas cannot be renamed or deleted through the API. Requires an API key: set SAFE_MIND_API_KEY or call safe_mind_get_api_key first. Acts on the company of the account behind the key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the area as employees know it, e.g. "Produktion (Halle 1, 2)" or "Verwaltung". Matched exactly (case-sensitive) against existing areas. |