# Liability Check for Outgoing Correspondence (CH/DE law) (`sensalis/liability-check-ch-de`) Actor

Checks outgoing emails, letters, LOIs, and offers (DE/EN) for binding promises, guarantees, and liability risks under Swiss and German law. JSON verdict per criterion.

- **URL**: https://apify.com/sensalis/liability-check-ch-de.md
- **Developed by:** [Heinz Kubli](https://apify.com/sensalis) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3,000.00 / 1,000 completed liability checks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Liability Check for Outgoing Correspondence (Swiss and German law)

Check an outgoing email, letter, LOI or offer **before it is sent**: does it contain a binding promise, a guarantee, an acknowledgement of debt, an accepted offer or a statement that could create liability? Built for AI agents that draft correspondence and need a gate before sending.

- **Languages:** German and English texts
- **Law:** Swiss law (OR, ZGB) and German law (BGB, StGB), also for English-language texts
- **Output:** JSON with a traffic light per criterion, quotes, legal basis, safer wording and a decision: `SEND_OK`, `REVISE` or `STOP_HUMAN_REVIEW`
- **Price:** USD 3.00 per completed check (event `check-completed`). Runs that end with an error do not trigger this event.

### What is checked (H1–H8)

| ID | Criterion |
|------------------------------------|------------------------------------|
| H1 | Promise to pay or perform |
| H2 | Guarantee, surety, assumption of debt (a guarantee is form-free under Swiss and German law) |
| H3 | Acknowledgement of debt |
| H4 | Binding offer or acceptance |
| H5 | Reliance liability (culpa in contrahendo, Swiss "Swissair" doctrine) |
| H6 | Liability for information and advice |
| H7 | Assurances and promises of success |
| H8 | Statements about third parties |

Decision logic: any RED in H1–H4 always yields `STOP_HUMAN_REVIEW`, enforced in code and independent of the model. RED in H5–H8 stops by default (`allow_soft_red` can turn it into `REVISE`). YELLOW yields `REVISE`, all GREEN yields `SEND_OK`.

### Input

```json
{
  "text": "Dear Mr Meier, I guarantee that you will get your investment back by the end of the year.",
  "jurisdiction": "BOTH",
  "status": "DRAFT",
  "recipient_type": "CONSUMER",
  "recipient_may_dispose": true,
  "output_language": "auto"
}
```

Only `text` is required (max. 30,000 characters). Missing fields take the most cautious value.

### Output (shortened, illustrative)

```json
{
  "schema_version": "2.0",
  "overall": "RED",
  "decision": "STOP_HUMAN_REVIEW",
  "language_detected": "en",
  "criteria": [
    {
      "id": "H2",
      "title": "Guarantee, surety, assumption of debt",
      "light": "RED",
      "findings": [
        {
          "quote": "I guarantee that you will get your investment back",
          "reasoning": "Can be read as a form-free guarantee of the recipient's repayment.",
          "legal_basis_ch": "Art. 111 OR",
          "legal_basis_de": "§§ 311, 241 BGB (guarantee contract, form-free)",
          "alternative": "Our aim is to enable repayment; success cannot be assured."
        }
      ]
    }
  ],
  "recommended_clauses": [4],
  "out_of_scope_flags": [],
  "disclaimer": "Structured preliminary assessment, not legal advice. ..."
}
```

Errors are returned as `{"error": {"code": "...", "message": "..."}}` with codes `EMPTY_TEXT`, `TEXT_TOO_LONG`, `INVALID_VALUE`, `UNSUPPORTED_LANGUAGE`, `MODEL_UNAVAILABLE`, `MODEL_REFUSED`, `MODEL_OUTPUT_INVALID`, `INTERNAL_ERROR`.

### Limits

- Only Swiss and German law. Other jurisdictions (UK, US, AT and others) and financial-market regulation (FinSA/FIDLEG, WpHG) are flagged in `out_of_scope_flags`, not assessed.
- Only German and English texts. Other languages return `UNSUPPORTED_LANGUAGE`.
- Instructions hidden in the checked text are ignored and flagged as `embedded_instructions`.
- This is an automated, structured preliminary assessment. It is not legal advice and it does not replace a review by a lawyer.

### Data processing

The text is sent to Anthropic (Claude API) for assessment and processed on Apify. The service does not write the input text to its logs. The result stored in the run's dataset contains quotes of at most 200 characters per finding. Run storage is retained according to Apify's retention settings.

### Provider

Sensalis GmbH, Bellerivestrasse 59, 8008 Zurich, Switzerland · www.sensalis.com\
Terms of use: see below.

***

### Deutsch: Kurzbeschreibung

Prüft ausgehende E-Mails, Briefe, LOIs und Offerten auf Deutsch oder Englisch nach Schweizer und deutschem Recht auf Bindungswirkung und Haftungsrisiken: Zahlungsversprechen, Garantie, Schuldanerkenntnis, Offerte und Annahme, Vertrauens- und Auskunftshaftung, Zusicherungen und Aussagen über Dritte. Ergebnis als JSON mit Ampel je Kriterium, Fundstellen, Rechtsgrundlagen, Ersatzformulierungen und Freigabeentscheid. Preis USD 3.00 pro abgeschlossener Prüfung. Strukturierte Ersteinschätzung, keine Rechtsberatung. Anbieterin: Sensalis GmbH, Zürich.

***

### Terms of use

Version 1.0, approved 2026-11-22.

#### 1. Provider

The service is provided by Sensalis GmbH, Bellerivestrasse 59, 8008 Zurich, Switzerland, UID CHE-110.041.403 ("Provider"), through the Apify platform.

#### 2. Nature of the service

The service produces an automated, structured preliminary assessment of a text submitted by the user, using an AI model. It is not legal advice, does not establish a client relationship and does not replace the review of an individual case by a lawyer. The assessment can be incomplete or wrong. The user remains solely responsible for the content of the correspondence and for the decision to send it.

#### 3. Scope

The assessment considers selected aspects of Swiss and German law as described in the service documentation. Other legal systems and financial-market regulation are not assessed.

#### 4. Use

The user may only submit texts they are entitled to process. The user must not submit texts whose disclosure to the processors named in section 6 is prohibited to them.

#### 5. Fees

Fees are charged through Apify per completed check at the price shown in the Apify Store at the time of the run. Apify's terms apply to payment.

#### 6. Data processing

Submitted texts are processed by Apify (platform) and Anthropic (AI model) on behalf of the Provider in order to perform the assessment. The Provider does not use submitted texts for other purposes. Details: service documentation, section "Data processing".

#### 7. Liability

To the extent permitted by law, the Provider excludes liability for the accuracy, completeness and fitness for purpose of the assessment and for damages resulting from its use. Liability for intent and gross negligence remains unaffected.

#### 8. Changes

The Provider may change or discontinue the service and these terms. The version published at the time of a run applies to that run.

#### 9. Applicable law and jurisdiction

Swiss law applies, excluding conflict-of-law rules. Place of jurisdiction is Zurich, Switzerland, subject to mandatory consumer jurisdiction.

#### 10. Contact

Sensalis GmbH, www.sensalis.com

# Actor input Schema

## `text` (type: `string`):

Full text of the outgoing email, letter, LOI or offer (German or English, max. 30,000 characters). The service does not log the text; Apify keeps run input and results according to your account's storage retention settings.

## `jurisdiction` (type: `string`):

Which law to assess against.

## `status` (type: `string`):

Draft: alternatives are revision suggestions. Sent: alternatives describe a clarifying follow-up.

## `recipient_type` (type: `string`):

Consumers raise the risk level.

## `recipient_may_dispose` (type: `boolean`):

Could the recipient spend or invest money, or give up rights, based on this text? Central for reliance and information liability.

## `sender_role` (type: `string`):

Whether the sender writes privately, for a company, or this is unclear.

## `allow_soft_red` (type: `boolean`):

If true, red in H5-H8 yields REVISE instead of STOP_HUMAN_REVIEW. Red in H1-H4 always stops.

## `output_language` (type: `string`):

Language of reasoning and alternatives. Auto = language of the text.

## Actor input object example

```json
{
  "text": "Dear Mr Meier, I guarantee that you will get your investment back by the end of the year. Kind regards",
  "jurisdiction": "BOTH",
  "status": "SENT",
  "recipient_type": "UNKNOWN",
  "recipient_may_dispose": true,
  "sender_role": "BOTH",
  "allow_soft_red": false,
  "output_language": "auto"
}
```

# Actor output Schema

## `results` (type: `string`):

Check result or error object as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "text": "Dear Mr Meier, I guarantee that you will get your investment back by the end of the year. Kind regards"
};

// Run the Actor and wait for it to finish
const run = await client.actor("sensalis/liability-check-ch-de").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "text": "Dear Mr Meier, I guarantee that you will get your investment back by the end of the year. Kind regards" }

# Run the Actor and wait for it to finish
run = client.actor("sensalis/liability-check-ch-de").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "text": "Dear Mr Meier, I guarantee that you will get your investment back by the end of the year. Kind regards"
}' |
apify call sensalis/liability-check-ch-de --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sensalis/liability-check-ch-de"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ga3xUaODWD26TE03F/builds/3xlUC2SsyEpJYE5lI/openapi.json
