# Kommo

Este tutorial explica cómo traer contactos desde el CRM Kommo usando un flujo en Dapta a través de un nodo de tipo GetContacts.

***

{% embed url="<https://www.loom.com/share/855caaf79eae4794a5fcb6b1b68af8fe?sid=d851e97d-b392-41f8-910a-9776eef9f832>" %}

### 🧩 1. Crear flujo en Dapta

1. Ingresa a tu cuenta de Dapta.
2. Dirígete a la sección de Flujos.
3. Haz clic en “Crear nuevo flujo”.
4. Asigna un nombre al flujo (ejemplo: Kommo - Traer contactos).

***

### 🧠 2. Agregar el nodo GetContacts

1. En el panel derecho del editor en la sección “Templates”, busca Kommo y arrastra el nodo GetContacts.

   <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfJsib-0J0OatCvkI7jwcMThlcIkCi-EQ1uAYTa2HtllDz2HrRKZYpTpc3BdlyslS9N4WflBGbO0bDV4LmLpugbydTfy_tj5TM40x4rWqfVw0ND60AzOL-bLp7X1hagzg1XAWVlOg?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>
2. Conecta el nodo de inicio (trigger) al nodo GetContacts.![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXe-cAdIP3bUpaAyzFHNyHtGoG_v4ftujt6jy90ZcOwm3l8eN2Swv_dRm9rP8CUResvAkznwyX3SDLmlOVbiAzzMkw9GXra48LgDhtiaGjx-QYySHS0ZKBXbpaDpinenbItzqqLx?key=-sAEeq0pNLnOQkfCff7gOPav)

***

### 🔐 3. Generar token de integración en Kommo

1. Accede a tu cuenta de Kommo.
2. En el menú izquierdo, haz clic en “Ajustes”.
3. En la parte superior derecha, selecciona “Crear integración”.\ <br>

   <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf1BqhnBGUYZdAM2VQPSvd03FAHzKlxEMR-JXphMWSjoi6SK4-GrwXX2bLNw37YWDnKOE1ouwFqBlus-0bLKqlHCzZCG68fsLeoj_9U2JoFpB0MhAmgG51gFbBBhmJrbmgpjfLGTQ?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>
4. Llena los campos requeridos:
5. * Nombre de la integración: Ej. Dapta.\
     Llaves y alcances: Selecciona los permisos necesarios para leer contactos.\
     Fecha de caducidad del token: Selecciona la fecha que prefieras.\ <br>

     <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfy98z7dPTezJDGXFPKHliuQnDC0QVybbju3DaIluWwMYo89uCNv4MOhVIxdwfd84OlNKI3zUHmFfcUaw70bKReKA2r8gpnSBjgHh-ZCVTjF4qINNs7k-6T-0wxk5E3-Ce878tvcQ?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>
6. Haz clic en “Generar Token”.

\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcZuGHttRkvYC_hJFq2nMI3QoryiGRO8Gb61ZaM8XRnHFIEv91A0slz3msvF5d3t8u8Ds_cW5Ck37-KjRSdgcwhhkm10DbGDnRlUQuhCLXoeaQ4ktjv2EtXbtCk8V505MIMrlYSCQ?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>

6. Copia el token generado.\ <br>

***

### 🌐 4. Configurar nodo en Dapta

Completa los campos del nodo GetContacts:

* Subdominio:
* * Ve a tu URL de Kommo (ejemplo: <https://miempresa.kommo.com>)
  * Copia solo el subdominio (miempresa) y pégalo en este campo.<br>

    <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXextKUu737HDmh6vG0GKlN6pSLZaBmkVeUAZQIEZ9ju4viNwidp9qqWA5YMqEzhUBOKqBTU2kxIGIteyZDW5VML8RSF2DvgSCiTalYhrfsFyXwIvne-btQW6LlkusnRku5lzgP3sQ?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>
* Token: Pega el token generado anteriormente.

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeYfUi88I3AiRC0TfNLxlsAeXqfUgyGJ0urqytf0Chgl7fpTCaeNWJK9RSL91b-k5H6zRh0IqjvxOzfhHpPS7pUe6x95LiNnQiuIMvu9MbWeNkXoI5gIWgef-K2Qdm4TcA_mOhpPw?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>
* Página: Deja por defecto 1 (para paginación).
* Limit: Número de contactos que deseas traer (ejemplo: 100).\ <br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfNHkJZzmtHgE_vl9h7l5KZ5zXz53tnjDjLNC-krFQZp60FlxO6Da39N3uQYIejuVvfhCTa5wrLt-jqIp7MEapPUnKwwWxzoChZty8S2XkdCQyCJoRUUlAd9Amk8jF2VV-4OH8S?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>

***

### 👀 5. Validar la integración

1. Haz clic en “Ejecutar flujo” o usa el botón de prueba en el nodo.
2. Dirígete a la salida del nodo GetContactsResponse.
3. Verás los contactos traídos desde Kommo (en el video se muestran inicialmente 2).<br>

   <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf9uSkY9UzFGXIv-Gq0G-vMj3Z5leNvE-Xqvb0bmlKcJEX65vxHM_BpbTFRFBKYKfKx_5hAey_Ul6g6-hUwWAt21OLt_upvRp-iMzfywYJueVxkKUgERAePhNBKsHqHLKJxAmiWQA?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>

***

### ➕ 6. (Opcional) Crear contacto en Kommo y probar

1. Ve al menú “Listas” en Kommo.
2. Crea un nuevo contacto de prueba (ej: Kevin).\
   Guarda el contacto.
3. Regresa a Dapta y vuelve a ejecutar el nodo.
4. Verifica que el nuevo contacto también sea traído.\ <br>

***

### 🔄 7. Usar la información en tu flujo

Después del nodo GetContacts, puedes:

* Conectar un nodo Response para visualizar los datos.
* Usar nodos condicionales, de transformación o envío según la lógica de tu flujo.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe2Gr9c21BGIBQnx7oPZvf_746WeWKF-_hYsoNVzVLFki8n87vaw1iYHh8_Dqz3grBQG07KoYLHaAzQC1QX8wWJPanWdlIT-q2vs9DgIAGwGZ44sifZTwNmjy1h3d4tKYoXEodKjg?key=-sAEeq0pNLnOQkfCff7gOPav" alt=""><figcaption></figcaption></figure>

<br>


---

# 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.dapta.ai/dapta-docs-es/integraciones/kommo.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.
