> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-feat-update-styling-docs-for-universal-components.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SendGrid

> Découvrez comment configurer vos actions de flux SendGrid pour envoyer des courriels.

## Configurer la connexion à votre coffre-fort

Pour configurer une connexion au coffre-fort pour vos actions SendGrid, vous aurez besoin d’une **clé API** :

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=99ca342db196624d7ba3c46c4917668d" alt="Dashboard > Actions > Forms > Flows > actions > SendGrid" data-og-width="1404" width="1404" data-og-height="545" height="545" data-path="docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?w=280&fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=65414a72df66740e5e243b623ba4a757 280w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?w=560&fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=f78213d7697efe096319b6d6f820ee48 560w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?w=840&fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=63c9b67cb25f3bb35ac2db00a40d6d46 840w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?w=1100&fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=a7d5a16a9c425ff6d45f08dc53fec58a 1100w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?w=1650&fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=2a1d5acd0314cc784f07c01937e590e4 1650w, https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/wvT9oN4JsDZI9eZR/docs/images/fr-ca/cdy7uua7fh8z/7qruolnilHd2RUvA3dGKfV/a278873b5b0564364bfdd9e15ca1d5cf/sendgrid-vault-connection.png?w=2500&fit=max&auto=format&n=wvT9oN4JsDZI9eZR&q=85&s=e31a54dde4281d3e77a80404dfb57448 2500w" />
</Frame>

Celle-ci peut être trouvée sur la page Settings (Réglages) du [tableau de bord SendGrid](https://app.sendgrid.com/settings/api_keys) sous les clés API.

## Send email (Envoyer un courriel)

Envoyer un courriel en utilisant SendGrid comme fournisseur de messagerie.

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-update-styling-docs-for-universal-components/s235wE4QT_7H_wuN/docs/images/fr-ca/cdy7uua7fh8z/3pT7MZCTVhcL9ueeke0HqQ/8583aedc27af021fe6a62430c6d59adf/sendGrid.png?fit=max&auto=format&n=s235wE4QT_7H_wuN&q=85&s=c9aab5cee6cf8d8073bda4689f0a66ae" alt="" width="1398" height="1229" data-path="docs/images/fr-ca/cdy7uua7fh8z/3pT7MZCTVhcL9ueeke0HqQ/8583aedc27af021fe6a62430c6d59adf/sendGrid.png" />
</Frame>

### Paramètres de saisie

| Paramètre                                      | Description                                                                                                                          |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Nom de l’expéditeur                            | Le nom de l’expéditeur                                                                                                               |
| Courriel de l’expéditeur (obligatoire)         | L’adresse courriel de l’expéditeur                                                                                                   |
| Nom du destinataire                            | Le nom du destinataire                                                                                                               |
| Adresse courriel du destinataire (obligatoire) | L’adresse courriel du destinataire                                                                                                   |
| Objet (obligatoire)                            | L’objet du courriel                                                                                                                  |
| Type de courriel (obligatoire)                 | Envoyer un courriel avec contenu HTML ou un modèle enregistré (optionnel)                                                            |
| Message (obligatoire)                          | Message en format HTML ou un modèle (optionnel).                                                                                     |
| ID du modèle (facultatif)                      | Si vous utilisez un modèle, son ID peut être trouvé dans le [ tableau de bord SendGrid ](https://mc.sendgrid.com/dynamic-templates). |
| Variables personnalisées (facultatif)          | Ajoutez des variables personnalisées à insérer dans votre modèle.                                                                    |

### Paramètres de sortie

Vous trouverez les codes de réponse et d’état attendus dans la [documentation de SendGrid](https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send).
