> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-ai-for-work-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring the Freshdesk Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect the Platform to Freshdesk to create, view, update, search, and delete tickets. See [Freshdesk documentation](https://www.freshworks.com/freshdesk/resources/) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for Freshdesk integration. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Supported |
| ---------------------------------------- | --------- |
| Pre-Authorize the Integration            | Yes       |
| Allow Users to Authorize the Integration | Yes       |

***

## Prerequisites

Before enabling the Freshdesk action:

* Create a [Freshdesk](https://www.freshworks.com/freshdesk/resources/) developer account.
* Copy the **API Key** and **Domain name** of your Freshdesk account.

***

## Step 1: Enable the Freshdesk Action

Go to **App Settings > Integrations > Actions** and select **Freshdesk**.

### Pre-authorize the Integration (Basic Auth)

1. Select **Freshdesk** in the **Available Actions** region.

2. In the **Configurations** dialog, select the **Authorization** tab.

3. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img2.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=ac1186aaf2ae38e22972379f74381b60" alt="Auth type" width="798" height="853" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img2.png" />

4. Enter the following fields:

   | Field           | Description                              |
   | --------------- | ---------------------------------------- |
   | User Sub Domain | Domain name of the Freshdesk account     |
   | API Key         | Secret API key of your Freshdesk account |

5. Click **Enable**. The Integration Successful pop-up appears on first configuration.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img3.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=4be9c1b35876990cafdf5f3f89c1bfdc" alt="Enable integration" width="588" height="240" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img3.png" />

<Note>The Freshdesk action moves from Available to Configured.</Note>

### Allow End Users to Authorize (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

3. Click **Select Authorization** > **Create New**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img4.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=56c873148fd919caa0fb17d675b7c6b6" alt="Create new auth profile" width="797" height="850" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img4.png" />

4. Select the authorization mechanism (for example, **Basic Auth**). See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles).

5. Enter the following credentials:

   | Field                   | Description                                |
   | ----------------------- | ------------------------------------------ |
   | Name                    | Name for the Basic Auth profile            |
   | Tenancy URLs            | Select No                                  |
   | Base URL                | Base tenant URL for the Freshdesk instance |
   | Authorization Check URL | Auth check URL                             |
   | Description             | Description of the auth profile            |

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img5.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=ce4b63c2105cd4df8dd5e92c5f748e7c" alt="Auth credentials" width="998" height="915" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img5.png" />

6. Click **Save Auth**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img6.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=a49a55071358c653d2eba8cec22516bd" alt="Save auth" width="1000" height="907" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img6.png" />

7. Select the new profile.

8. Click **Enable**. The Integration Successful pop-up appears.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img7.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=15a64a9409b78836f0b3bb1206cb0226" alt="Enable integration" width="798" height="850" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img7.png" />

***

## Step 2: Install Freshdesk Action Templates

1. On the Integration Successful dialog, click **Explore Templates**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img8.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=3476f7d2d27d553ef15f5f8f4f1701b2" alt="Explore templates" width="590" height="237" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img8.png" />

2. Click **Install** for the desired template.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img9.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=2eb7fb862b3386d12cf8416bacf85b63" alt="Begin installation" width="591" height="722" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img9.png" />

3. Click **Go to Dialog** to view the dialog task.

4. A dialog task is auto-created for each installed template.

5. Select the desired dialog task and click **Proceed** (for example, **Create a Ticket**).

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=2b0d90d2b5da68829bfa64f102be9d88" alt="Select dialog task" width="797" height="900" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png" />

6. The canvas opens with all required entity nodes, service nodes, and message scripts.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/E9o4BvEXCZ64Lebj/ai-for-service/integrations/actions/images/freshdesk-action-img11.png?fit=max&auto=format&n=E9o4BvEXCZ64Lebj&q=85&s=066a2b1aade1ef76a2b53f0d67580355" alt="Dialog task canvas" width="1693" height="765" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img11.png" />
