# Connecteurs

## RGPD pour les connecteurs externes :

Pour les connecteurs, il est possible de définir une connaissance qui permettra de répondre aux demandes d'export et/ou de suppression de données personnelles.&#x20;

**Etape 1: configurer un web service qui consomme l’api RGPD dydu**

<table data-header-hidden><thead><tr><th width="196"></th><th width="108.33333333333331"></th><th></th></tr></thead><tbody><tr><td><strong>Champs à remplir</strong></td><td><strong>Nom</strong></td><td><strong>Valeur</strong></td></tr><tr><td>Url</td><td>-</td><td>https://<strong>serveur</strong>/servlet/api/chat/gdpr/<strong>uuid_du_bot</strong></td></tr><tr><td>Méthode</td><td>-</td><td>Post</td></tr><tr><td>Type de réponse</td><td>-</td><td>Plain</td></tr><tr><td>Paramètres</td><td><p>clientId</p><p>language</p><p>mail</p><p>object</p></td><td><p>${capture.clientId}</p><p>langue de votre bot (dans notre exemple: French)</p><p>${capture.user_email}</p><p>${capture.object}</p></td></tr></tbody></table>

Exemple:

<figure><img src="https://lh7-eu.googleusercontent.com/UxHstk8zZaIUp3u1wZpD85pTvK7C_Eoho222-Bty4jvxGdXYST4yP3aik7kerH76KeAegOmIw6FG4rsN1tEM7N78Mb0K3U9Pl31ADUEiQ3pMYLYWnbHHNvrWwQRiscvY6MzoUUcgHfn3dHSHmxIFeqY" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-eu.googleusercontent.com/eItnCDCSc0RiE0tZUgDz4wg2UErnHrgI_FShv546kM8QezoSInHLxJHB64iEH9-1yXsVXcwhQwfnCARTTXXpQJglJd0AhY6foVm55NMCGAIR9ZDvBHbjXiMy3kHnkJZXZeznmFFL9FPFSevXRAa9xsw" alt=""><figcaption></figcaption></figure>

**Etape 2 : configurer une condition de contexte qui teste le retour du web service**

<table data-header-hidden><thead><tr><th width="216"></th><th width="250"></th><th width="147"></th><th></th></tr></thead><tbody><tr><td><strong>Nom condition</strong></td><td><strong>Condition</strong></td><td><strong>Opération</strong></td><td><strong>Valeur</strong></td></tr><tr><td>RGPDResultatRecup</td><td>callapi.DemandeRGPD</td><td>Vaut</td><td>{}</td></tr></tbody></table>

**Etape 3 : Créer la connaissance qui va consommer le web service**

<figure><img src="https://1101559743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgMQl4578l4DzuAEhrEii%2Fuploads%2FY5XTM66whubE5LdKiLsy%2FConnaissance-RGPD-Teams.gif?alt=media&#x26;token=e5665c44-5a1d-408f-bdd7-1c791ec1e294" alt=""><figcaption></figcaption></figure>
