# Déclencheurs

![Exemple de déclencheur (un message est créé sur Slack quand l'utilisateur reçoit un message sur son téléphone).](/files/Pi5A9FneBfmJRmJRbXWn)

## Déclencheur Abby

1. Ajoutez le module "Nouvel évènement" dans votre scénario

![](/files/de8LwQEmu5m3a9VwK9pM)

2\. Cliquez sur "Add" puis sélectionnez un évènement dans la liste déroulante.

<figure><img src="/files/RyJQkdB2FW80GFl7GmYf" alt="" width="563"><figcaption></figcaption></figure>

3\. Connectez votre évènement à une autre action

![Envoyer un e-mail avec Gmail lorsqu'un évènement Abby survient](/files/pA3ITp0LkyQoh5a2byg9)

### Liste des évènements

<details>

<summary>Projet créé</summary>

```json
{
  "location": {
    "address": "string",
    "additionalAddress": "string",
    "zipCode": "string",
    "city": "string",
    "country": "string"
  },
  "client": [
    {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "role": "string",
      "language": "string",
      "website": "string",
      "phone": "string",
      "keywords": "string",
      "notes": "string"
    }
  ],
  "customerCompany": {
    "name": "string",
    "vatNumber": "string",
    "siren": "string",
    "siret": "string",
    "nafCode": "string",
    "language": "string",
    "website": "string",
    "phone": "string",
    "keywords": "string",
    "notes": "string"
  }
}
```

</details>

<details>

<summary>Projet modifié</summary>

```json
{
  "location": {
    "address": "string",
    "additionalAddress": "string",
    "zipCode": "string",
    "city": "string",
    "country": "string"
  },
  "client": [
    {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "role": "string",
      "language": "string",
      "website": "string",
      "phone": "string",
      "keywords": "string",
      "notes": "string"
    }
  ],
  "customerCompany": {
    "name": "string",
    "vatNumber": "string",
    "siren": "string",
    "siret": "string",
    "nafCode": "string",
    "language": "string",
    "website": "string",
    "phone": "string",
    "keywords": "string",
    "notes": "string"
  }
}
```

</details>

<details>

<summary>Projet supprimé</summary>

```json
{
  "location": {
    "address": "string",
    "additionalAddress": "string",
    "zipCode": "string",
    "city": "string",
    "country": "string"
  },
  "client": [
    {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "role": "string",
      "language": "string",
      "website": "string",
      "phone": "string",
      "keywords": "string",
      "notes": "string"
    }
  ],
  "customerCompany": {
    "name": "string",
    "vatNumber": "string",
    "siren": "string",
    "siret": "string",
    "nafCode": "string",
    "language": "string",
    "website": "string",
    "phone": "string",
    "keywords": "string",
    "notes": "string"
  }
}
```

</details>

<details>

<summary>Tâche créée</summary>

```json
{
  "location": {
    "address": "string",
    "additionalAddress": "string",
    "zipCode": "string",
    "city": "string",
    "country": "string"
  },
  "client": [
    {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "role": "string",
      "language": "string",
      "website": "string",
      "phone": "string",
      "keywords": "string",
      "notes": "string"
    }
  ],
  "customerCompany": {
    "name": "string",
    "vatNumber": "string",
    "siren": "string",
    "siret": "string",
    "nafCode": "string",
    "language": "string",
    "website": "string",
    "phone": "string",
    "keywords": "string",
    "notes": "string"
  }
}
```

</details>

<details>

<summary>Tâche modifié</summary>

```json
{
  "location": {
    "address": "string",
    "additionalAddress": "string",
    "zipCode": "string",
    "city": "string",
    "country": "string"
  },
  "client": [
    {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "role": "string",
      "language": "string",
      "website": "string",
      "phone": "string",
      "keywords": "string",
      "notes": "string"
    }
  ],
  "customerCompany": {
    "name": "string",
    "vatNumber": "string",
    "siren": "string",
    "siret": "string",
    "nafCode": "string",
    "language": "string",
    "website": "string",
    "phone": "string",
    "keywords": "string",
    "notes": "string"
  }
}
```

</details>

<details>

<summary>Tache supprimée</summary>

```json
{
  "location": {
    "address": "string",
    "additionalAddress": "string",
    "zipCode": "string",
    "city": "string",
    "country": "string"
  },
  "client": [
    {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "role": "string",
      "language": "string",
      "website": "string",
      "phone": "string",
      "keywords": "string",
      "notes": "string"
    }
  ],
  "customerCompany": {
    "name": "string",
    "vatNumber": "string",
    "siren": "string",
    "siret": "string",
    "nafCode": "string",
    "language": "string",
    "website": "string",
    "phone": "string",
    "keywords": "string",
    "notes": "string"
  }
}
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abby.fr/sans-code/declencheurs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
