# SENDMESSAGE

## Aperçu

L’application de workflow **SENDMESSAGE** permet aux utilisateurs d’envoyer des notifications par SMS via la plateforme Twilio; pour utiliser cette application, il faut créer un compte sur le site Web Twilio à l’adresse <https://www.twilio.com/sms>.

## Mode de fonctionnement

L’application SENDMESSAGE requiert deux paramètres (`BODY` et `TO`) qui sont liés à leurs identifiants correspondants.

Les valeurs qui correspondent aux paramètres `ACCOUNT_SID`, `AUTH_TOKEN` et `FROM` sont requis pour se connecter à Twilio, mais celles-ci sont habituellement configurés dans la section **Messagerie instantanée** dans l’onglet **Général** du **Panneau de configuration**. Cependant, si ces paramètres ont été configurés dans l’action SENDMESSAGE dans un processus, ces valeurs outrepasseront les valeurs correspondantes configurées dans le **Panneau de configuration**.

## Paramètres

### Paramètres obligatoires

<table data-header-hidden><thead><tr><th valign="top">Paramètre</th><th valign="top">Type</th><th valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><strong>Paramètre</strong></td><td valign="top"><strong>Type</strong></td><td valign="top"><strong>Direction</strong></td><td valign="top"><strong>Description</strong></td></tr><tr><td valign="top"><code>BODY</code></td><td valign="top">Text</td><td valign="top">IN</td><td valign="top">Le texte du message</td></tr><tr><td valign="top"><code>TO</code></td><td valign="top">Text</td><td valign="top">IN</td><td valign="top">Le numéro de téléphone du destinataire, qui doit contenir le code du pays (l’utilisation de <code>+</code> devant le code du pays est facultatif, p.ex. <code>+15551234567</code>)</td></tr></tbody></table>

### Paramètres facultatifs

<table data-header-hidden><thead><tr><th valign="top">Paramètre</th><th valign="top">Type</th><th valign="top">Direction</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><strong>Paramètre</strong></td><td valign="top"><strong>Type</strong></td><td valign="top"><strong>Direction</strong></td><td valign="top"><strong>Description</strong></td></tr><tr><td valign="top"><code>ACCOUNT_SID</code></td><td valign="top">Text</td><td valign="top">IN</td><td valign="top">L’identificateur de sécurité du compte *</td></tr><tr><td valign="top"><code>AUTH_TOKEN</code></td><td valign="top">Text</td><td valign="top">IN</td><td valign="top">Le jeton d’authentification (« auth token ») *</td></tr><tr><td valign="top"><code>FROM</code></td><td valign="top">Text</td><td valign="top">IN</td><td valign="top">Le numéro de téléphone de l’expéditeur, qui doit contenir le code du pays(l’utilisation de <code>+</code> devant le code du pays est facultatif, p.ex. <code>+15551234567</code>) *</td></tr><tr><td valign="top"><code>MESSAGE_SID</code></td><td valign="top">Text</td><td valign="top">OUT</td><td valign="top">Le code alphanumérique retourné pour identifier les messages envoyés avec succès; pour plus d’informations, voir <a href="https://support.twilio.com/hc/en-us/articles/223134387-What-is-a-Message-SID-">https://support.twilio.com/hc/en-us/articles/223134387-What-is-a-Message-SID-</a></td></tr><tr><td valign="top"><code>ERROR_MESSAGE</code></td><td valign="top">Text</td><td valign="top">OUT</td><td valign="top">Le message à retourner en cas d’erreur; pour une liste de codes et de messages d’erreur Twilio, voir <a href="https://www.twilio.com/docs/api/errors/reference">https://www.twilio.com/docs/api/errors/reference</a></td></tr><tr><td valign="top"><code>ERROR_CODE</code></td><td valign="top">Text</td><td valign="top">OUT</td><td valign="top">Le code à retourner en cas d’erreur; pour une liste de codes et de messages d’erreur Twilio, voir <a href="https://www.twilio.com/docs/api/errors/reference">https://www.twilio.com/docs/api/errors/reference</a></td></tr></tbody></table>

\* Ces paramètres doivent être associés à un compte Twilio.


---

# 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.workflowgen.com/admin-fr/applications-de-workflow/application-de-workflow-sendmessage.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.
