# 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](https://docs.ngsurvey.com/de/personal-account/developer) Ihrer [Kontos ](https://docs.ngsurvey.com/de/personal-account/account-settings)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: 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.ngsurvey.com/de/personal-account/developer/powerapps-flow-integration/connector-mail-example.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.
