# Copy URL from Power Automate Flow

Before proceeding with the Configuration, you need to copy the URL of Power Automate Flow – **“TextSMS4Dynamics Real-time Chat Logging”** which is shipped in our solution and paste it into **“Callback URL”** field in **“Twilio Details”** section in **“Details”** tab in your configuration.

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

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

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FpjC7gJRYO7w2T0w0nJ9x%2F13B.png?alt=media&#x26;token=37650179-0372-4635-a3a6-d67242f5b95e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FxwsNWH2wWWC5FpaZK5ju%2F14A.png?alt=media&#x26;token=cf0fdc8d-2c83-40d5-aa25-dc3f23f7c932" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FLmbDYvGpTKI9rowspsZD%2F14B.png?alt=media&#x26;token=f51ec02a-3e24-4415-b652-bf16c0e3dd9e" alt=""><figcaption></figcaption></figure>

* TextSMS4Dynamics Solution will open, then navigate to **Cloud Flow**s and click **TextSMS4Dynamics Real-time Chat Logging**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FomTwsudmF2fll2bXHL8A%2F15A.png?alt=media&#x26;token=fad895f1-e1f6-4302-b5e8-c6e36485c9ed" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FLzJJeMzOoRbzczJPLRlO%2F15B.png?alt=media&#x26;token=34913619-9676-490a-bab0-baebca0f028e" alt=""><figcaption></figcaption></figure>

* Copy the **HTTP POST URL.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F6PuhZFKw8e61xAwYXIJY%2F16A.png?alt=media&#x26;token=a77c68cf-e9e4-491e-81d4-5ab81fc257a0" alt=""><figcaption></figcaption></figure>

* Paste this **HTTP POST URL** in “**Callback URL**” field.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOMDDY0GDTvWU6o6GhLNG%2F16B.png?alt=media&#x26;token=e20b2cef-8c9a-450f-b527-6d72061e6f40" alt=""><figcaption></figcaption></figure>

* Click on **Save**.

**Once Account Info is added, update the General Setting:**

* **Allow Create To** - In this section you can enable multiple entities such as Case, Order, Opportunity, any OOB or Custom Entities. These entities will be available on “**Create Record**” button in the Message UI and you can easily create any OOB or custom entity record from it.
* **Session Timeout** – This specifies how long will Message session be active (This is by default for 24 hours / 1 day).
* **Idle Timeout** - By default, the message notifications are only visible to the owner of the session. But the message notification becomes visible to all users, if there is no activity for the specified minutes in this field.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FwHRaa0Wxd1bD4A7j9Yui%2F17A.png?alt=media&#x26;token=812393c0-4156-4b1e-aa6b-d1dceaa7477d" alt=""><figcaption></figcaption></figure>

* **Enter is Send:** When set to **"Yes,"** pressing the **"Enter"** key will send the message. When set to **"No,"** pressing **"Enter"** will insert a new line below the written text in message box. This field proves helpful in multi-line messaging within chat UI.
* **Assigned Team:** Choose the team that will have access to and work on the specified conversation. For example, if you assign access to your desired, team then the members of other team will not be able to view, access, or handle communications designated to the desired team.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fq7T75KqFOKCBYqVdDVdO%2Ft4d%201.png?alt=media&#x26;token=dff15834-fd64-472c-b7c2-f9120dea310e" alt=""><figcaption></figcaption></figure>

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