> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/es/acciones/workflow-concepts/workflow-steps/web-research/google-search.md).

# Búsqueda de Google

Automatiza la investigación con una búsqueda de Google

El paso "Google Search" le permite automatizar una búsqueda de Google y pasar los resultados como entrada a sus Workflows.

## Configurando un paso "Google Search"

Configurar el paso es sencillo con menús desplegables simples. No se requiere carga útil JSON.

<figure><img src="https://3036434873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-cd6cc4b9b8d595ac235dc44a4d4d33df3c6dd86b%2Fgoogle-search-step-01-configuration.png?alt=media" alt="Google Search step with the keyword as the search query, Basic parameters for country, language, search type, number of results, time range, and safe search, and the Raw (JSON) result type"><figcaption><p>Configure el paso de Google Search con campos de formulario, no con JSON.</p></figcaption></figure>

### Consulta de búsqueda

El campo de entrada "Search Query" es la frase exacta que se buscará en Google cuando se ejecute el paso; es decir, ¿qué desea buscar en Google?

{% hint style="info" %}
Para buscar en un sitio específico, puede escribir **site:[www.example.com](http://www.example.com)** seguido de su frase de búsqueda
{% endhint %}

### Parámetros de búsqueda

Configure sus parámetros de búsqueda usando los menús desplegables:

* **Región**: Seleccione la región geográfica para sus resultados de búsqueda
* **Número de resultados**: Elija cuántos resultados devolver
* **Resultados similares/omitidos**: Habilite o deshabilite el filtrado

{% hint style="info" %}
**Configuración avanzada:** Para casos de uso más complejos, aún puede configurar parámetros basados en la [documentación de la API SERP](https://serpapi.com/search-api) usando el formato JSON.
{% endhint %}

Para establecer dinámicamente variables como consulta o parámetros de búsqueda que hagan referencia a una entrada (definida en el paso "Start") o a una variable de salida (generada por cualquier paso), deberá usar la sintaxis Liquid:

{% @arcade/embed url="<https://app.arcade.software/share/ziYB9Ed9nh8CDuLHOHcX>" flowId="ziYB9Ed9nh8CDuLHOHcX" %}

### Tipos de salida

Los siguientes tipos de salida son compatibles actualmente con el paso "Google Search":

<figure><img src="https://3036434873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-82c0e67b33603e0622012451683db5dd79b9716a%2Fgoogle-search-step-02-result-types.png?alt=media" alt="Result type dropdown listing Links Only (List), Title, Snippet, Links (Markdown), Organic Results (JSON), and Raw (JSON)"><figcaption><p>Elija el tipo de salida para los resultados de Google Search.</p></figcaption></figure>

**Solo enlaces**: Una lista con enlaces a los resultados de URL orgánicos.

```json
[
  "https://www.zdnet.com/article/six-skills-you-need-to-become-an-ai-prompt-engineer/",
  "https://en.wikipedia.org/wiki/Prompt_engineering",
  "https://www.mckinsey.com/featured-insights/mckinsey-explainers/what-is-prompt-engineering",
  "https://www.techtarget.com/searchenterpriseai/definition/AI-prompt-engineer",
  "https://www.datacamp.com/blog/what-is-prompt-engineering-the-future-of-ai-communication",
  "https://www.promptingguide.ai/",
  "https://aws.amazon.com/what-is/prompt-engineering/",
  "https://hbr.org/2023/06/ai-prompt-engineering-isnt-the-future",
  "https://www.iit.edu/blog/unlock-career-opportunities-ai-how-become-ai-prompt-engineer",
  "https://www.coursera.org/articles/how-to-become-a-prompt-engineer"
]
```

**Título, fragmento y enlaces (Markdown)**: Título, fragmento y enlaces de cada resultado orgánico en formato Markdown.

```markdown
**Seis habilidades que necesita para convertirse en un ingeniero de prompts de IA**
Seis habilidades que necesita para convertirse en un ingeniero de prompts de IA · 1. Comprender IA, ML y PNL · 2. Definir claramente los enunciados del problema y especificar detalles ...
https://www.zdnet.com/article/six-skills-you-need-to-become-an-ai-prompt-engineer/


**Ingeniería de prompts**
La ingeniería de prompts es el proceso de estructurar texto que puede ser interpretado y comprendido por un modelo de IA generativa. ... Un prompt es texto en lenguaje natural ...
https://en.wikipedia.org/wiki/Prompt_engineering


**¿Qué es la ingeniería de prompts?**
La ingeniería de prompts es la práctica de diseñar entradas para herramientas de IA generativa que producirán resultados óptimos.
https://www.mckinsey.com/featured-insights/mckinsey-explainers/what-is-prompt-engineering

...

```

**Resultados orgánicos (JSON)**: Resultados orgánicos en formato JSON.

```
[
  {
    "position": 1,
    "title": "Seis habilidades que necesita para convertirse en un ingeniero de prompts de IA",
    "link": "https://www.zdnet.com/article/six-skills-you-need-to-become-an-ai-prompt-engineer/",
    "displayed_link": "https://www.zdnet.com › ... › Inteligencia artificial",
    "favicon": "https://serpapi.com/searches/65579a96e815af000b7dab68/images/a5422e713e6bc3f59a76b766eb80117740cc3058315f42d3df7f4337510ce3b6.png",
    "date": "Oct 3, 2023",
    "snippet": "Seis habilidades que necesita para convertirse en un ingeniero de prompts de IA · 1. Comprender IA, ML y PNL · 2. Definir claramente los enunciados del problema y especificar detalles ...",
    "snippet_highlighted_words": [
      "ingeniero de prompts"
    ],
    "about_page_link": "https://www.google.com/search?q=About+https://www.zdnet.com/article/six-skills-you-need-to-become-an-ai-prompt-engineer/&tbm=ilp",
    "about_page_serpapi_link": "https://serpapi.com/search.json?engine=google_about_this_result&google_domain=google.com&q=About+https%3A%2F%2Fwww.zdnet.com%2Farticle%2Fsix-skills-you-need-to-become-an-ai-prompt-engineer%2F",
    "cached_page_link": "https://webcache.googleusercontent.com/search?q=cache:QnozTEs7HoMJ:https://www.zdnet.com/article/six-skills-you-need-to-become-an-ai-prompt-engineer/&hl=en&gl=us",
    "source": "ZDNet"
  },
  ...
]
```

**Sin procesar**: Resultados completos de Serp API en formato JSON.

```
{
  "search_metadata": {
    "id": "65ad949daf5af14fb1f744b3",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/c058cc17ce2a376c/65ad949daf5af14fb1f744b3.json",
    "created_at": "2024-01-21 22:03:09 UTC",
    "processed_at": "2024-01-21 22:03:09 UTC",
    "google_url": "https://www.google.com/search?q=How+does+an+LLM+work%3F%0A%0A&oq=How+does+an+LLM+work%3F%0A%0A&num=1&sourceid=chrome&ie=UTF-8",
    "raw_html_file": "https://serpapi.com/searches/c058cc17ce2a376c/65ad949daf5af14fb1f744b3.html",
    "total_time_taken": 2.5
  },
  "search_parameters": {
    "engine": "google",
    "q": "¿Cómo funciona un LLM?\n\n",
    "google_domain": "google.com",
    "num": "1",
    "device": "desktop"
  },
  ...
```


---

# 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.airops.com/docs/es/acciones/workflow-concepts/workflow-steps/web-research/google-search.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.
