# Automate without coding

> Do you want your Certificall reports to reach your tools automatically, without calling on a developer? **No-code** and **low-code** automation tools such as Zapier or n8n let you connect Certificall to hundreds of applications: file storage, spreadsheets, messaging, CRM…

This page covers what all the recipes in this section have in common. Each recipe then describes the steps specific to its tool.

## How it works

1. **A case is closed** in Certificall.
2. **Certificall immediately sends a message** (a *webhook*) to the address provided by your automation tool. This message contains the case reference, its template, the collected items and a link to download the PDF report: the `caseUrl` field.
3. **Your automation tool takes over**: it downloads the report using this link, then files it, sends it or copies it wherever you want.

## Available recipes

| Tool | Recipe |
|---|---|
| **Zapier** | [Send the PDF report to Google Drive](./zapier/rapport-pdf-google-drive.md) |
| **n8n** | [Send the PDF report to Google Drive](./n8n/rapport-pdf-google-drive.md) |

### Zapier or n8n?

Both recipes produce the same result. They differ in setup and in the level of control.

| | Zapier | n8n |
|---|---|---|
| **Setup** | The fastest, nothing to host | A few more settings |
| **Webhook protection** | The secret lies in the webhook address | The address **and** a secret checked on every call |
| **If the download or upload fails** | No retry in this recipe | Automatic retries |
| **Hosting** | Zapier service, outside the European Union | n8n service, or **self-hosted**, in the European Union or in your own infrastructure |
| **Cost** | Depends on your Zapier task volume | Depends on the n8n plan, **free when self-hosted** |

## Common prerequisites

| Prerequisite | Details |
|---|---|
| **An account on the automation tool** | With a plan that allows receiving webhooks. |
| **The webhook address registered with Certificall** | Your automation tool gives you an address. It can be registered in two ways: by your technical team through the API (see [Configuration](../api/webhook.md#configuration)), or by your Certificall contact, to whom you send it. In both cases, a **token** is registered with the address: Certificall presents it on every call, in the `Authorization: Bearer <token>` header. |
| **Case sharing enabled** | See the box below. |
| **A test case** | To send a first webhook to your tool during setup. |

:::warning Have case sharing enabled
The `caseUrl` link is only present in the webhook, and downloadable without authentication, if **sharing is enabled** for the case. It is **not enabled by default**: before you start, ask your Certificall contact to enable it for the relevant cases.
:::

:::warning One address per company
Certificall sends the case-closed webhook to **a single address** per company. If your company already receives this webhook in another tool, registering a new address **replaces** the old one. Check with your technical team before you start.
:::

## Webhook content

Here is an example webhook, with dummy values:

```json
{
  "cfRef": "CAS-12345_CMP-42",
  "createdAt": "2026-11-20T09:14:03.000Z",
  "reportId": "CHANTIER-2026-118",
  "frame": "Works acceptance",
  "closed": true,
  "caseUrl": "https://admin.certificall.app/certificall/share/case/<share-token>",
  "items": [
    {
      "createdAt": "2026-11-20T09:20:41.000Z",
      "cfRef": "<item reference>",
      "title": "Photo of the installation",
      "description": "",
      "stepAction": "PHOTOGRAPHY",
      "geolocLatitude": 48.8566,
      "geolocLongitude": 2.3522,
      "imageUrl": "https://admin.certificall.app/certificall/images/<image reference>"
    }
  ],
  "metadata": {
    "agence": "Lyon",
    "typeIntervention": "pompe-a-chaleur"
  }
}
```

| Field | Content |
|---|---|
| `cfRef` | The Certificall reference of the case |
| `createdAt` | The case creation date |
| `reportId` | Your report reference, if you provided one when creating the case |
| `frame` | The template name |
| `closed` | `true`: the case is closed |
| `caseUrl` | The download link for the signed PDF report. Empty if sharing is not enabled for the case. |
| `items` | The collected items: step title, type, date, GPS position, image link… |
| `context` | The context passed when creating the case, if any |
| `metadata` | The free-form metadata passed when creating the case, if any |

The full description of each field is in [Webhook after certificate validation](../api/webhook.md#payload).

## Common limitations

| Limitation | Details |
|---|---|
| **The link is public** | Anyone who has the `caseUrl` link can download the report. Do not share it outside your tools. |
| **No webhook resend** | If your automation tool is unavailable when the case is closed, Certificall does not resend the webhook. The case itself is still closed: you can retrieve its report from the admin interface. |
| **One address per company** | Registering your tool's address replaces any other case-closed webhook already configured for your company. |
| **Duplicates in storage** | If the same case is sent twice, a second file with the same name is created, without overwriting the first one. |
| **Personal data** | Reports, photos and GPS positions pass through the automation tool, then are stored wherever you send them. You remain responsible for this processing: check that it complies with your obligations, in particular under the GDPR. |
