> For the complete documentation index, see [llms.txt](https://www.docpartner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.docpartner.dev/api/sms-partner/hubspot.md).

# HubSpot

## Comment installer SMS Partner sur HubSpot

Rendez-vous sur <https://hubspot.smspartner.fr>, puis cliquez sur **Connecter SMS Partner à HubSpot**.

<figure><img src="https://2528554477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4e8Q5BglDmkxCRHmV0sb%2Fuploads%2Fe9hZwRRKWNiyLggVAO95%2Fimage.png?alt=media&amp;token=06934e76-5dbc-417f-906a-b6762fcc9f2e" alt=""><figcaption></figcaption></figure>

Suivez ensuite les différentes étapes d'autorisation demandées par HubSpot.

Une fois l'installation terminée, vous serez redirigé vers la page des paramètres de l'application SMS Partner dans HubSpot. Si vous n'êtes pas automatiquement redirigé vers cette page, ou si vous souhaitez effectuer la configuration ultérieurement, rendez-vous dans les **paramètres HubSpot**, puis dans **Intégrations → Applications connectées → SMS Partner → Paramètres**.

<figure><img src="https://2528554477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4e8Q5BglDmkxCRHmV0sb%2Fuploads%2FfAGNccDQWX6kidyk2vZ0%2Fimage.png?alt=media&amp;token=c9828196-23c3-4b5e-a459-d50e7090cd07" alt=""><figcaption></figcaption></figure>

Renseignez votre **clé API SMS Partner** afin de finaliser la configuration de l'intégration.

## Comment automatiser l'envoi de SMS avec HubSpot

Dans HubSpot, rendez-vous dans **Automatisation → Workflows**.

Créez un nouveau workflow ou ouvrez un workflow existant, puis configurez votre déclencheur et les différentes étapes selon vos besoins.

Lorsque vous souhaitez envoyer un SMS, ajoutez une nouvelle action puis sélectionnez **SMS Partner → Envoyer un SMS**.

<figure><img src="https://2528554477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4e8Q5BglDmkxCRHmV0sb%2Fuploads%2FkMGeHMKYwBgkBwqJzAIo%2Fimage.png?alt=media&amp;token=c7f8dd84-f594-4a5c-bca4-80a71527c94a" alt=""><figcaption></figcaption></figure>

Renseignez les informations suivantes :

* **Numéro de téléphone** : numéro du destinataire du SMS.
* **Message** : contenu du SMS à envoyer.
* **Expéditeur** : nom affiché comme expéditeur sur le téléphone du destinataire. Si ce champ est laissé vide, un numéro court de type **36XXX** sera automatiquement utilisé.

<figure><img src="https://2528554477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4e8Q5BglDmkxCRHmV0sb%2Fuploads%2F7nflLta2Bi9ssovs3uof%2Fimage.png?alt=media&amp;token=cd21f511-9299-4cb0-a55f-6fead8d74307" alt=""><figcaption></figcaption></figure>

## Comment automatiser vos envois RCS sur HubSpot

Ajoutez l'action d'envoi RCS de SMS Partner à votre workflow HubSpot.

<figure><img src="https://2528554477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4e8Q5BglDmkxCRHmV0sb%2Fuploads%2Fqya6jYSC3PejqW7c0i2b%2Fimage.png?alt=media&amp;token=5c95da93-00a8-4204-b48e-2e958e4209e0" alt=""><figcaption></figcaption></figure>

Vous pouvez choisir entre deux types d'envoi :

* **Modèle RCS**
* **Scénario RCS**

#### Utiliser un modèle RCS

Rendez-vous sur <https://my.smspartner.fr/dashboard/model/list>.

Créez votre modèle RCS, puis récupérez son **identifiant**.

Copiez cet identifiant et renseignez-le dans le champ dédié de l'action HubSpot.

#### Utiliser un scénario RCS

Rendez-vous sur <https://my.smspartner.fr/dashboard/rcs/scenario>.

Créez votre scénario RCS, puis récupérez son **identifiant**.

Copiez ensuite cet identifiant dans le champ dédié de l'action HubSpot.

#### Renseigner le destinataire

Renseignez le **numéro de téléphone du destinataire** du message RCS.

Vous pouvez utiliser une propriété HubSpot afin de récupérer automatiquement le numéro de téléphone du contact concerné par le workflow.

#### Bascule SMS (failover)

La **bascule SMS**, également appelée *failover*, permet d'envoyer automatiquement un SMS lorsqu'un destinataire ne peut pas recevoir le message en RCS.

Si cette option est activée, renseignez :

* **L'expéditeur SMS**
* **Le contenu du SMS**

Si le destinataire n'est pas compatible avec le RCS, SMS Partner basculera automatiquement vers l'envoi du SMS configuré.

<figure><img src="https://2528554477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4e8Q5BglDmkxCRHmV0sb%2Fuploads%2FLQLFxVeLWfDAgJJeK7sU%2Fimage.png?alt=media&amp;token=24d426b4-e4c5-44e2-bf81-e47140e6522d" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://www.docpartner.dev/api/sms-partner/hubspot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
