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

# Using Here Action Templates

[Back to Actions Integrations](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions)

Use prebuilt Here action templates to auto-create dialog tasks.

**Prerequisites:** Configure [Here](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-here-action) and install templates before proceeding.

To access templates:

1. Go to **Automation AI > Use Cases > Dialogs** and click **Create a Dialog Task**.
2. Under **Integration**, select **Here** to view action templates.

   ![Integration-Here](https://mintcdn.com/koreai/YXxlo8yJ3uYP2xuC/ai-for-service/integrations/actions/images/here-action-img11-tem-img2.png?fit=max\&auto=format\&n=YXxlo8yJ3uYP2xuC\&q=85\&s=903376bfc933a6785cfdd55aeac50e1c)

If no integration is configured, click **Explore Integrations** to go to the Actions page.

![Explore Integrations](https://mintcdn.com/koreai/YXxlo8yJ3uYP2xuC/ai-for-service/integrations/actions/images/here-tem-img3.png?fit=max\&auto=format\&n=YXxlo8yJ3uYP2xuC\&q=85\&s=1bc018f3cb890b69994042a6b9704d9d)

***

## Supported Actions

| Action | Description | Method |
| - | - | - |
| Get Location | Finds a location by free text | POST |

***

## Get Locations

1. Install the template from [Here Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-here-action#install-here-action-templates).

2. The **Get Location** dialog task is added with:

   ![Dialog task added](https://mintcdn.com/koreai/YXxlo8yJ3uYP2xuC/ai-for-service/integrations/actions/images/here-action-img12-tem-img4.png?fit=max\&auto=format\&n=YXxlo8yJ3uYP2xuC\&q=85\&s=33cabff91f21f1a1f81b854c8cbb32f5)

   * **getLocation** - User intent to find a location.

   * **location** - Entity node to enter a location.

   * **getLocationService** - Bot action service to find the location. Click **+Add Response**:

     ![Add response](https://mintcdn.com/koreai/YXxlo8yJ3uYP2xuC/ai-for-service/integrations/actions/images/here-tem-img5.png?fit=max\&auto=format\&n=YXxlo8yJ3uYP2xuC\&q=85\&s=3203818f9876695a11388bbfa4546896)

     **Sample Response:**

     ```json theme={null}
     {
       "items": [
         {
           "title": "DS Road, Nagarathpete, Bengaluru 560002, India",
           "id": "herestreet:Ivcd5Wbnv3Xdt4.XXX",
           "resultType": "street",
           "address": {
             "label": "DS Road, Nagarathpete, Bengaluru 560002, India",
             "countryCode": "IND",
             "countryName": "India",
             "state": "Karnataka",
             "city": "Bengaluru",
             "district": "Nagarathpete",
             "street": "DS Road",
             "postalCode": "560002"
           },
           "position": { "lat": 12.96564, "lng": 77.58555 },
           "scoring": {
             "queryScore": 0.99,
             "fieldScore": { "streets": [0.9] }
           }
         }
       ]
     }
     ```

   * **getLocationMessage** - Message node to display the result.

3. Click **Train** to complete training.

4. Click **Talk to Bot** to test.

5. Enter a free text location when prompted.

   ![Enter location](https://mintcdn.com/koreai/YXxlo8yJ3uYP2xuC/ai-for-service/integrations/actions/images/here-tem-img6.png?fit=max\&auto=format\&n=YXxlo8yJ3uYP2xuC\&q=85\&s=2d96fd68f718822e80a7a4285cae99d2)

6. A location is identified based on your text.

   ![Location identified](https://mintcdn.com/koreai/YXxlo8yJ3uYP2xuC/ai-for-service/integrations/actions/images/here-tem-img7.png?fit=max\&auto=format\&n=YXxlo8yJ3uYP2xuC\&q=85\&s=26dba7e50fed2b1709d2c3e7f884bf1c)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.