> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/fr/personal-account/developer/powerapps-flow-integration/connector-mail-example.md).

# Exemple de connecteur / e-mail

Dans cet exemple, nous allons créer un workflow dans Azure Logic App qui envoie un e-mail dès qu’une nouvelle réponse est enregistrée.

Commencez par créer une nouvelle Logic App dans votre portail Azure.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MhxQjEb3bqsv1BL1fAS%2F-MhxSxB6udaK38aTOUqF%2Fimage.png?alt=media\&token=366d3540-0ada-4cef-9eaf-8572ecc50f7c)

Dans le concepteur de Logic App de votre Logic App, sélectionnez le connecteur ngSurvey que vous avez créé.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MhxQjEb3bqsv1BL1fAS%2F-MhxUFt8hGPtdtQ749Hv%2Fimage.png?alt=media\&token=c135d819-053a-4e2b-ba73-4823d606b8b1)

Sélectionnez le déclencheur On response submission.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MhxQjEb3bqsv1BL1fAS%2F-MhxUPGI9DHWGzm6qoi8%2Fimage.png?alt=media\&token=16dabb8b-8f2b-4f49-8488-938c3ebf4121)

Attachez une connexion à votre connecteur. La clé API se trouve dans l’onglet [developer tab](/fr/personal-account/developer.md) de votre [compte ](/fr/personal-account/account-settings.md)page.&#x20;

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MhxQjEb3bqsv1BL1fAS%2F-MhxUXzveEvHcQ50lmup%2Fimage.png?alt=media\&token=7f015d54-f2f7-49b4-a86c-b452b3f6771d)

{% hint style="warning" %}
La clé API doit être préfixée par le mot-clé Bearer. ex. :\
Bearer YourAPIKey
{% endhint %}

Maintenant que votre connexion est opérationnelle, vous pouvez sélectionner le sondage que vous souhaitez surveiller pour les nouvelles soumissions.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MhxVLEP30VQmpPrz06g%2F-MhxXzVQkT-Bv_ph1h0-%2Fimage.png?alt=media\&token=32af0571-1ab9-4086-a57a-d7d7fc91595e)

Pour cet exemple simple, nous allons connecter un connecteur Send Email ; ce connecteur sera déclenché à chaque fois que ngSurvey enregistre un nouveau répondant dans le sondage sélectionné.

![](https://186103257-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MhxVLEP30VQmpPrz06g%2F-MhxYRsTNMbsGNimU_e2%2Fimage.png?alt=media\&token=e9d3ceeb-92df-4d91-bead-acf99f365004)

Comme vous pouvez le voir à droite, vous pouvez également utiliser dans vos connecteurs n’importe laquelle des réponses postées par les répondants pour un traitement ultérieur.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/fr/personal-account/developer/powerapps-flow-integration/connector-mail-example.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
