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

# Using Here Action Templates

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

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

**Prerequisites:** Configure [Here](/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.

   <img src="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" alt="Integration-Here" width="956" height="891" data-path="ai-for-service/integrations/actions/images/here-action-img11-tem-img2.png" />

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

<img src="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" alt="Explore Integrations" width="892" height="906" data-path="ai-for-service/integrations/actions/images/here-tem-img3.png" />

***

## Supported Actions

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

***

## Get Locations

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

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

   <img src="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" alt="Dialog task added" width="1491" height="898" data-path="ai-for-service/integrations/actions/images/here-action-img12-tem-img4.png" />

   * **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**:

     <img src="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" alt="Add response" width="1919" height="900" data-path="ai-for-service/integrations/actions/images/here-tem-img5.png" />

     **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.

   <img src="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" alt="Enter location" width="597" height="820" data-path="ai-for-service/integrations/actions/images/here-tem-img6.png" />

6. A location is identified based on your text.

   <img src="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" alt="Location identified" width="591" height="820" data-path="ai-for-service/integrations/actions/images/here-tem-img7.png" />
