safe_mind_create_location
Create a company location and return its id and name for comparing results across multiple sites. Existing locations with the same name are reused, so no duplicates are created.
Instructions
Create one location (Standort) of the company and return its id and name. Use it for companies with several sites whose results should be compared; single-site companies do not need locations. Idempotent: if a location with exactly this name exists, that one is returned and nothing is duplicated. Not needed before safe_mind_create_survey, which creates missing locations by name itself. Locations 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 site as employees know it, e.g. "Hamburg" or "Werk Süd". Matched exactly (case-sensitive) against existing locations. |