> 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/de/personal-account/developer/powerapps-flow-integration/connector-mail-example.md).

# Konnektor- / E-Mail-Beispiel

In diesem Beispiel erstellen wir einen Workflow in Azure Logic Apps, der eine E-Mail sendet, sobald eine neue Antwort erfasst wird.

Beginnen Sie mit einer neuen Logic App in Ihrem Azure-Portal.

![](https://133942686-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)

Wählen Sie im Logic App Designer Ihrer Logic App den ngSurvey-Connector aus, den Sie erstellt haben.

![](https://133942686-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)

Wählen Sie den Trigger On response submission.

![](https://133942686-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)

Stellen Sie eine Verbindung zu Ihrem Connector her. Den API-Key finden Sie im [developer tab](/de/personal-account/developer.md) Ihrer [Kontos ](/de/personal-account/account-settings.md)Seite finden.&#x20;

![](https://133942686-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" %}
Der API-Key muss mit dem Schlüsselwort Bearer vorangestellt werden. z. B.:\
Bearer YourAPIKey
{% endhint %}

Jetzt, da Ihre Verbindung eingerichtet und aktiv ist, können Sie die Umfrage auswählen, die Sie auf neue Einsendungen überwachen möchten.

![](https://133942686-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)

Für dieses einfache Beispiel verbinden wir einen Send Email-Connector; dieser Connector wird jedes Mal ausgelöst, wenn ngSurvey einen neuen Befragten in der ausgewählten Umfrage erfasst.

![](https://133942686-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)

Wie Sie rechts sehen können, können Sie auch beliebige übermittelte Antworten der Befragten in Ihren Connectoren für die weitere Verarbeitung verwenden.


---

# 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/de/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.
