> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/es/aplicaciones/g/google-sheets.md).

# Google Sheets

Google Sheets permite a los usuarios crear, editar y dar formato a hojas de cálculo mientras colaboran con otros en tiempo real. Obtenga más información en workspace.google.com.

### Usa el complemento de Google Sheets para sincronizar datos de ingeniería desde Violet a Sheets

1. Dentro de una hoja de Google, activa el complemento Violet yendo a **Extensiones > Complementos > Obtener complementos**

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FAp5XpDP5nYAWmW9KOCkV%2Fimage%20(7).png?alt=media&amp;token=58565f2e-e0fe-40ec-bbd8-8b74a1a0d117" alt="" width="563">

2. En la parte superior del modal de complementos, escribe “Violet” y presiona “Enter”.

<figure><img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2F9KDuZ247IpssaAEYvDdo%2Fimage%20(8).png?alt=media&amp;token=b9975bad-0f95-46cc-8c44-0982961e2707" alt="" width="563"><figcaption></figcaption></figure>

3. Selecciona la extensión Violet y haz clic en el botón “Instalar”.

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2Fg0Z9UCkxiT9In7fYyVwT%2Fimage%20(9).png?alt=media&amp;token=2e3ded14-6e33-4197-bd26-ef55b1392c8d" alt="" width="563">

4. Autoriza con Google para permitir que el complemento Violet acceda a la hoja.

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FBtM9pg1cyZhSWKScIYNM%2Fimage%20(10).png?alt=media&amp;token=e9f3f9a7-ae07-4d1f-b5f9-ac37e5e267a6" alt="" width="563">

5. Una vez que autorices el complemento y el script adjunto, el complemento Violet estará listo para usar.

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FJ7PwYVtQW0KxnHrM3u19%2Fimage%20(12).png?alt=media&amp;token=a73da8c8-fafe-470f-8479-4563a03250b5" alt="" width="375">

6. El `VIOLET` la función ahora debería estar disponible dentro de la hoja actual.

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FjPekCXhB8DBC0a02NcnN%2Fimage%20(13).png?alt=media&amp;token=12b6eeea-eb3c-4493-ad4c-f99a4cc97ac2" alt="" width="563">

7. Para usar la función y referenciar tus datos en Violet, usa la función así: `=VIOLET("<Violet ID>.<property>")`, donde VL-XXXX es el ID de Violet de la entidad Violet que estás referenciando.

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FmY0eUdW7aJNkrABFL1vv%2FScreenshot%202024-08-16%20at%203.37.13%E2%80%AFPM%20(1).png?alt=media&amp;token=0f343751-fa6d-4a55-a52c-4595b40c4c5b" alt="" width="563">

Entonces, por ejemplo, para referenciar la entidad en la imagen de arriba, podemos usar `=VIOLET("V-DUR-25.mass")`.

![](https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FipRnPuM4bSuOzUcM3BOh%2FScreen%20Recording%202024-08-16%20at%203.40.35%E2%80%AFPM%20\(1\).gif?alt=media\&token=e9282732-4d71-43c4-ae32-f401ccc18a73)

8. Ahora, crea una integración de Google Sheets en Violet con la(s) hoja(s) que quieres importar con el complemento Violet habilitado. Una vez que la(s) hoja(s) se importe(n) en Violet, cualquier referencia que use la `VIOLET` función dentro de la hoja se actualizará con el valor de la propiedad referenciada. Cada vez que la hoja se obtenga dentro de Violet, esta referencia se re-evaluará y se actualizará con el valor actual en Violet.

<img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FtDetY1rywuDEwOdm85a7%2FScreen%20Recording%202024-08-16%20at%204.02.44%E2%80%AFPM%20(1).gif?alt=media&amp;token=5907ca67-1431-4cf0-b25d-fff5caba204b" alt="" width="375">

También puedes realizar este paso primero, antes de los pasos anteriores, ya que la hoja se procesará cada vez que se obtenga en Violet.

9. Con la extensión ya instalada, para importar la función VIOLET en otras hojas, simplemente ve a **Extensiones > Violet > Usar en esta hoja de cálculo**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.violetlabs.com/es/aplicaciones/g/google-sheets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
