Paramètres technique
ETAPE #1
Compilation des classes Apex
Dans la recherche rapide de la configuration, cherchez "Classes Apex".
Cliquez sur "Compiler toutes les classes"
Attendre que la compilation soit finalisée pour passer à l'étape suivante
Création du service de messagerie électronique
Dans la recherche rapide de la configuration, cherchez "Services de messagerie électronique" ou "Email Services"
Cliquez sur "Nouveau service de messagerie électronique" et remplissez avec les instructions suivantes :
Nom de l'email service :
Sign
Classe Apex :
HandlerEmailPingWebhook
Actif
Cocher la case
Cliquez sur "Enregistrer et nouvelle adresse e-mail"
Dans l'écran proposé, renseignez les éléments suivants :
Nom de l'adresse e-mail : Sign
ATTENTION supprimez toutes les informations du champ "Accepter un email de"
Récupérez l'adresse email qui a été créée par Salesforce qui ressemble à l'adresse suivante :

Paramétrez l'expérience du signataire
ETAPE #2
Création du modèle d'e-mail
Accédez via le lanceur d'application aux modèles d'e-mail standards de Salesforce
Créez un nouveau modèle d'email en lui donnant un nom
Sélectionnez un dossier public pour le stocker
Définissez un objet et enregistrez
L'élément essentiel à placer dans le modèle est le lien vers l'interface du signataire. Placez impérativement cette balise dans votre modèle : {{{Recipient.gnx__Last_delivery_link__c}}}
Si vous souhaitez partir d'un modèle pré-conçus, copiez le modèle d'e-mail HTML Gonexa en cliquant sur le bouton ci-dessous
tes Copier HTML<html style="overflow-y: hidden;">
<head>
<title></title>
<style type="text/css">a.button {appearance: button;text-decoration: none;cursor: pointer;padding: 10px 20px !important;border-radius: 30px;background-color: #EAF5FF;color: #428AEF;}
</style>
</head>
<body style="height: auto; min-height: auto;">
<table align="center" bgcolor="#f9fafc" border="0" class="main-template" style="background-color: rgb(249, 250, 252);" width="100%">
<tbody>
<tr>
<td align="center">
<table border="0" class="templateContainer" style="max-width:590px!important; width: 590px;" width="590">
<tbody>
<tr>
<td align="center">
<table border="0" class="rnb-del-min-width" id="Layout_0" name="Layout_0" style="min-width:590px;" width="100%">
<tbody>
<tr>
<td align="center" class="rnb-del-min-width" style="min-width:590px;">
<table border="0" height="38" width="100%">
<tbody>
<tr>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center">
<div style="background-color: rgb(255, 255, 255);">
<table border="0" class="rnb-del-min-width" id="Layout_10" name="Layout_10" style="min-width:590px;" width="100%">
<tbody>
<tr>
<td align="center" class="rnb-del-min-width" style="min-width:590px;">
<table bgcolor="#ffffff" border="0" class="rnb-container" style="background-color: rgb(255, 255, 255); border-radius: 0px; padding-left: 20px; padding-right: 20px; border-collapse: separate;" width="100%">
<tbody>
<tr>
<td height="20" style="font-size:1px; line-height:20px; mso-hide: all;"> </td>
</tr>
<tr>
<td class="rnb-container-padding" style="text-align: center;"><img alt="Logo-64x64" src="https://uploads-ssl.webflow.com/6266bdee7bba3ff58801d972/6290f781b58fd1580bc14d15_Logo-long-x300px.png" style="max-width: 1489.53px; width: 212.995px; height: 47.9948px;" title="Logo-64x64" /></td>
</tr>
<tr>
<td height="20" style="font-size:1px; line-height:20px; mso-hide: all;"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td align="center">
<div style="background-color: rgb(255, 255, 255); border-radius: 0px;">
<table border="0" class="rnb-del-min-width" name="Layout_14" style="min-width:100%;" width="100%">
<tbody>
<tr>
<td align="center" class="rnb-del-min-width">
<table bgcolor="#ffffff" border="0" class="rnb-container" style="background-color: rgb(255, 255, 255); padding-left: 20px; padding-right: 20px; border-collapse: separate; border-radius: 0px; border-bottom: 0px none rgb(200, 200, 200);" width="100%">
<tbody>
<tr>
<td height="20" style="font-size:1px; line-height:20px; mso-hide: all;"> </td>
</tr>
<tr>
<td align="left" class="rnb-container-padding">
<table border="0" class="rnb-columns-container" width="100%">
<tbody>
<tr>
<th class="rnb-force-col" style="text-align: left; font-weight: normal; padding-right: 0px;">
<table align="left" border="0" class="rnb-col-1" width="100%">
<tbody>
<tr>
<td style="font-family: Arial, Helvetica, sans-serif, sans-serif; color: rgb(60, 72, 88);">
<div style="text-align: center;"><br />
<span style="font-size:22px;">Bonjour {{{Recipient.Name}}}</span><br />
Un document vous a été envoyé pour signature<br />
<br />
</div> <div class="align" style="text-align: center;"><a class="button" href="{{{Recipient.gnx__Last_delivery_link__c}}}">Vérifier et signer</a></div> <div style="font-size: 14px; text-align: center;">
<table align="center" border="0" class="rnb-col-1" width="550">
<tbody>
<tr>
<td>
<div style="text-align: center;"> </div> <table align="center" border="0" class="rnb-col-1" width="550">
<tbody>
<tr>
<td>
<table border="0" class="rnb-col-1" width="550">
</table> <div style="text-align: center;"><span style="color:#3c4858;"><span style="font-size:24px;"><span style="font-size:22px;">Merci pour votre confiance !</span></span></span><br />
-<br />
<br />
Toute l'équipe Gonexa</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</th>
</tr>
<tr>
<th class="rnb-force-col" style="text-align: left; font-weight: normal; padding-right: 0px;"> </th>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td align="center">
<table border="0" class="rnb-del-min-width" id="Layout_" name="Layout_" style="min-width:590px;" width="100%">
<tbody>
<tr>
<td align="center" class="rnb-del-min-width" style="min-width:590px;">
<table border="0" height="30" width="100%">
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center">
<div style="background-color: rgb(249, 250, 252);"> </div>
</td>
</tr>
<tr>
<td align="center">
<div style="background-color: rgb(249, 250, 252);">
<table border="0" class="rnb-del-min-width rnb-tmpl-width" id="Layout_7" name="Layout_7" style="min-width:590px;" width="100%">
<tbody>
<tr>
<td align="center" class="rnb-del-min-width" style="min-width:590px;">
<table align="center" bgcolor="#f9fafc" border="0" style="padding-right: 20px; padding-left: 20px; background-color: rgb(249, 250, 252);" width="100%">
<tbody>
<tr>
<td height="20" style="font-size:1px; line-height:20px; mso-hide: all;"> </td>
</tr>
<tr>
<td style="font-size:14px; color:#888888; font-weight:normal; text-align:center; font-family:Arial,Helvetica,sans-serif;">
<div>© 2023 Gonexa</div>
</td>
</tr>
<tr>
<td height="20" style="font-size:1px; line-height:20px; mso-hide: all;"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table><div id="" style="left: 812px; top: 1312px;"> </div><div id="" style="left: 812px; top: 1312px;"> </div><div id="" style="left: 1070px; top: 116px;"> </div><div id="" style="left: 1070px; top: 116px;"> </div>
</body>
</html>
Il suffira ensuite de cliquer sur "Source" en haut à gauche de l'éditeur et de collez le code HTML que vous venez de copier.
En cliquant à nouveau sur le bouton "Source" vous pouvez à présent visualiser le résultat
Personnalisez comme bon vous semble le modèle avec votre logo et les informations nécessaires
Création des paramètres personnalisés "Gonexa Sign"
Veuillez prendre en compte la hiérarchie des paramétres suivante pour faire vos choix de configuration :

Dans la recherche rapide de la configuration, cherchez "Paramètres personnalisés" ou "Custom setting"
Dans la liste proposée, cliquez sur Gérer (Manage) pour la ligne "Gonexa Sign"
Cliquez sur "Nouveau" (premier bouton) ou "Modifier" selon votre cas
Image de marque :
Contactez le support pour personnaliser l'interface de signature. [Facultatif]
Modèle d'E-mail par défaut :
ID Salesforce du modèle d'email utilisé pour les demandes de signature
Service de messagerie - Certifié :
Coller l'adresse email du service de messagerie récupérée précédemment
Champ Téléphone :
Nom API du champ téléphone sur le Contact [MobilePhone si laissé vide]
Double authentification :
3 choix possibles : "SMS by default", "SMS" ou "Email"
Durée de validité :
Nombre de jours avant que le lien de signature expire
Etiquette :
Certified Sign (sensible à la casse)
Nom :
Certified_Sign (sensible à la casse)
URL :
Production : https://api.yousign.app/v3
tes Copier URLURL
Sandbox : https://api-sandbox.yousign.app/v3
tes Copier URLType d'identité :
Principal nommé
Protocole d'authentification :
Authentification par mot de passe
Nom d'utilisateur :
Gonexa
Mot de passe :
[Contacter le support Gonexa]
Générer une entête d'autorisation :
Décocher
Autoriser les champs de fusion dans l'entête HTTP :
Cocher