# Uninstallation

To uninstall the solution from Power Apps, follow the simple steps given below:

### Check Dependencies (If Uninstallation Fails)

1. Go to [make.powerapps.com.](https://make.powerapps.com/)
2. Click on **Solutions**.
3. Select **WhatsApp4Dynamics** solution.

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

4. Click **Show Dependencies**.

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

5. Review the listed dependencies and remove them using the steps provided below.
6. Retry uninstalling the solution.

### Step 1: Delete Record Types One by One

1. Open the WhatsApp4Dynamics app.
2. Navigate to **Configuration** → **Record Type**.

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

3. Select each record type created for the solution.
4. Click Delete and confirm.

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

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

5. Repeat until all record types are removed.

### Step 2: Remove Configuration Records

1. Go to Configuration within the app.
2. Select and delete any remaining configuration records related to WhatsApp4Dynamics.

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

### Step 3: Deactivate and Delete Processes

1. Navigate to **Processes** (Workflows/Background Processes).
2. Deactivate any processes related to WhatsApp4Dynamics.
3. Once deactivated, delete them.

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

### Step 4: Remove Custom Automations

1. Check for any Power Automate flows or custom workflows created for WhatsApp4Dynamics.
2. Turn them off.
3. Delete them permanently.

### Step 5: Remove PCF Controls (If Applicable)

1. If the WhatsApp chat UI (PCF control) was added to any out-of-the-box or custom entities, open those entities.
2. Remove the PCF control from the form.
3. **Save and publish** the changes.

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

### Step 6: Turn Off Marketing Toggle (If Enabled)

1. Navigate to the **License page** and ensure the **Enable Marketing** toggle is turned off.
2. Save the changes.

<figure><img src="/files/16lmTrtmnfX2Joa4UyTi" alt=""><figcaption></figcaption></figure>

### Step 7: Delete WhatsApp4Dynamics

1. Navigate to **Solutions**.
2. Select the WhatsApp4Dynamics and click **Delete**.

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


---

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