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

# مثال الموصل / البريد

في هذا المثال سننشئ Workflow في Azure Logic App يقوم بإرسال بريد إلكتروني بمجرد تسجيل استجابة جديدة.

ابدأ بإنشاء Logic App جديدة في بوابة Azure الخاصة بك.

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

في مصمم Logic App لتطبيق Logic الخاص بك، اختر موصل ngSurvey الذي قمت بإنشائه.

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

اختر المشغّل On response submission.

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

قم بإرفاق اتصال بموصلك. يمكن العثور على API key في [علامة Developer](/ar/personal-account/developer.md) لـ [الحساب ](/ar/personal-account/account-settings.md)الصفحة.&#x20;

![](https://848173432-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" %}
يجب أن يسبَق API key بكلمة Bearer. على سبيل المثال:\
Bearer YourAPIKey
{% endhint %}

الآن بعد أن أصبح اتصالك قيد التشغيل، يمكنك تحديد الاستبيان الذي تريد مراقبته للحصول على تسجيلات إرسال جديدة.

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

لهذا المثال البسيط سنربط موصل Send Email، سيتفعَّل هذا الموصل في كل مرة يسجل فيها ngSurvey مستجيبًا جديدًا في الاستبيان المحدد.

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

كما ترى على اليمين، يمكنك أيضًا استخدام أي من الإجابات المرسلة من المستجيبين في موصلاتك لمعالجة إضافية.


---

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