> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/whatsapp4dynamics/features/block-and-unblock-functionality.md).

# Block and Unblock Functionality

The Block / Unblock feature allows CRM agents to manage and control communication with specific WhatsApp numbers directly from Dynamics 365 CRM.&#x20;

Using this feature, agents can block unwanted, restricted, or spam numbers to prevent further communication through WhatsApp4Dynamics. Once a number is blocked, both incoming and outgoing communication with that WhatsApp number is restricted within the CRM.&#x20;

This feature helps organizations:&#x20;

* Manage unwanted conversations efficiently &#x20;
* Prevent spam or unauthorized communication &#x20;
* Improve communication control and compliance &#x20;
* Maintain cleaner and more secure customer interactions &#x20;

{% hint style="info" %}
**Note:** Only CRM users who have the required privileges configured in WhatsApp4Dynamics Settings will be authorized to block or unblock numbers.
{% endhint %}

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fw0wT9FowvWzokQOzYCtT%2F1..png?alt=media&amp;token=aeb87912-893a-4d1c-8edc-015bb7c8a022" alt=""><figcaption></figcaption></figure>

## What Happens When a Number is Blocked?

Once a WhatsApp number is blocked:

* CRM agents will not be able to send messages to the blocked number.
* Incoming WhatsApp messages from the blocked number will not appear in CRM.
* The status of the chat record will be marked as blocked.
* The Status Reason for the related chat session is automatically updated to Cancelled.
* The blocked conversation can still be viewed for reference purposes.

If required, the blocked number can later be unblocked to resume normal communication.

## Ways to Block a Number:

CRM agents can block a WhatsApp number using the following methods:

**Method 1: Block from the Chat Record**

1\.  Open the specific Chat record.

2\.  Click the Ellipsis (⋮) menu available in the Chat UI.

3\.  Select the Block option.

Once selected, the WhatsApp number will be blocked successfully.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FJjVX2nQuowq6a50CFTAR%2F2..png?alt=media&amp;token=b7773c70-7592-44f2-82ec-0226c8ebea19" alt=""><figcaption></figcaption></figure>

**Method 2: Block from the Notification Panel**

1\.  Open the Notification Panel.

2\.  Locate the incoming chat notification.

3\.  Click the Block option for the specific number.

{% hint style="info" %}
**Note:** This option is available only when a new chat notification is displayed in the notification panel.
{% endhint %}

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FPdjdnQzFgZLVgBzKuMJa%2F3..png?alt=media&amp;token=5126f7f1-d560-4afb-bdcd-77f69aee156b" alt=""><figcaption></figcaption></figure>

**Viewing Blocked Numbers:**

After a number is blocked:

* Users can filter and view blocked conversations directly from:

&#x20;     Chat Hub

&#x20;     Chat Entity Grid

* The chat record’s Status Reason is automatically updated to: Blocked

This helps CRM agents quickly identify blocked conversations within Dynamics 365.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F820F0n3umaLAXEF0CrGx%2F4..png?alt=media&amp;token=aab14197-0b3e-488a-a44d-e0999488517a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FWnOqUnGgBQq6S5BP694A%2F5..png?alt=media&amp;token=06b6daa2-d452-457d-83ee-4338ef382235" alt=""><figcaption></figcaption></figure>

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FhSV2t7OssaKLhVOv0jP4%2F6..png?alt=media&amp;token=5e558cf4-6f3f-4568-85a3-33ac475db2af" alt=""><figcaption></figcaption></figure>

## Ways to Unblock a Number:

If communication needs to be resumed, CRM agents can unblock the number using either of the following methods:

**Method 1:**

1\.  Open the blocked Chat record.

2\.  Click the Ellipsis (⋮) menu.

3\.  Select the Unblock option.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FZtWmAcNs2kE6jnTIyP0S%2F7..png?alt=media&amp;token=0f7aeae6-0e0c-4528-a2f2-4dc8b84084d9" alt=""><figcaption></figcaption></figure>

**Method 2:**

1. Open the blocked Chat record.
2. Click the Unblock button available on the Chat UI.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FUqPiT7lfUWN3Ic3f93b1%2F8..png?alt=media&amp;token=32be4f09-b606-4974-b334-9e7c7a9d6e14" alt=""><figcaption></figcaption></figure>

Once unblocked: &#x20;

* Incoming messages will be received again
* Outgoing messaging will be enabled
* Normal WhatsApp communication will resume
