# Copy URL from Power Automate Flow

Before proceeding with the Configuration, you need to copy the URL of Power Automate Flow – “**Real-Time Chat Logging**” which is shipped in our solution and paste it into the Configuration field of Sandbox Setting in Twilio.

{% hint style="info" %}
**Note: If this step is not performed, you will not be able to receive any messages on the CRM.**
{% endhint %}

<figure><img src="/files/rlGiNDFbbSikyjv9K9gW" alt=""><figcaption></figcaption></figure>

* Go to **Power Automate** in Dynamics 365.

<figure><img src="/files/5TMdgSGYdjfNRktM2Hx7" alt=""><figcaption></figcaption></figure>

* Choose the environment in which the **Solution** is imported.

<figure><img src="/files/YpzsYGovAKYG7g7XzKkA" alt=""><figcaption></figcaption></figure>

* In the list of **Solutions**, click **WhatsApp4Dynamics**.

<figure><img src="/files/xIdVnyrTnjnVV1UcdPmj" alt=""><figcaption></figcaption></figure>

* WhatsApp4Dynamics Solution will open, then navigate to **My Flows** and click **Real-time Chat Logging.**

<figure><img src="/files/Bhzph4uWfDJjrLlelZyH" alt=""><figcaption></figcaption></figure>

* Click on the **Edit button** inside **Real-time Chat Logging** in **My Flows.**

<figure><img src="/files/I7U4O9LPInnWnee3PGAR" alt=""><figcaption></figcaption></figure>

* When the flow opens, always click on the first step of the flow.

<figure><img src="/files/J6BtzHY3PdtLXMc2KcgW" alt=""><figcaption></figcaption></figure>

* Copy the **HTTP URL.**

<figure><img src="/files/7hiELWVQqu1fSVkXJImc" alt=""><figcaption></figcaption></figure>

* Paste the URL in the **Sandbox Configuration** section to send and receive messages from the Sandbox to your Application.
* The same URL will be pasted on the “**When a message comes in**” section as well as the **“Status callback URL”**. The Method dropdown menu should be set to POST.

<figure><img src="/files/RKfQlvxinWjUWeVIKHyo" alt=""><figcaption></figcaption></figure>

* Click **Save** to save the URLs pasted.
* Return to the **Twilio Home page.**
* Click on **Services** -> Select **Messaging Service SID**.

<figure><img src="/files/HFKjuohSgubQH9EciYYm" alt=""><figcaption></figcaption></figure>

* A new **Sitemap** will appear -> Choose **Integration**.

<figure><img src="/files/uoYWYyrltSJevRCw4ErK" alt=""><figcaption></figcaption></figure>

* Select the **3rd option** – **Send a Webhook.**

<figure><img src="/files/sBmYaNZXCv7wEQyub6qh" alt=""><figcaption></figcaption></figure>

* Paste the **HTTP URL** in the **Fallback** and **Request URL** fields. Both the Method dropdown tab should be set to **POST**.
* Also, paste the **HTTP URL** in the **Callback URL** field.
* Click **Save** and then **Validate**.

{% hint style="info" %}
**Note: It may take 1 or 2 minutes to validate, and you will receive a notification once the validation is complete.**
{% endhint %}

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# 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.inogic.com/whatsapp4dynamics/configuration/copy-url-from-power-automate-flow.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.
