docs/versioned_docs/version-1.9.0/Components/bundles-google.mdx
import Icon from "@site/src/components/icon";
<Icon name="Blocks" aria-hidden="true" /> Bundles contain custom components that support specific third-party integrations with Langflow.
This page describes the components that are available in the Google bundle.
Langflow integrates with Google BigQuery through the BigQuery component in the Google bundle, allowing you to execute SQL queries and retrieve data from your BigQuery datasets.
To use the BigQuery component in a flow, you need the following:
With your service account configured and your credentials JSON file created, follow these steps to authenticate the Langflow application.
With your component credentials configured, query your BigQuery datasets and tables to confirm connectivity.
Connect Chat Input and Chat Output components to the BigQuery component.
Open the Playground, and then submit a valid SQL query.
This example queries a table of Oscar winners stored within a BigQuery dataset called the_oscar_award:
SELECT film, category, year_film
FROM `big-query-langflow-project.the_oscar_award.oscar_winners`
WHERE winner = TRUE
LIMIT 10
film category year_film
The Last Command ACTOR 1927
7th Heaven ACTRESS 1927
The Dove; ART DIRECTION 1927
Sunrise CINEMATOGRAPHY 1927
Sunrise CINEMATOGRAPHY 1927
Two Arabian Knights DIRECTING (Comedy Picture) 1927
7th Heaven DIRECTING (Dramatic Picture) 1927
Wings ENGINEERING EFFECTS 1927
Wings OUTSTANDING PICTURE 1927
Sunrise UNIQUE AND ARTISTIC PICTURE 1927
A successful chat confirms the component can access the BigQuery table.
This component generates text using Google Generative AI models.
Supported models include the Gemini 1.5, 2.0, 2.5, and 3.0 series. The latest Gemini 3.0 models (gemini-3-pro-preview, gemini-3-flash-preview, and gemini-3-pro-image-preview) offer advanced reasoning and multimodal capabilities.
| Name | Type | Description |
|---|---|---|
| Google API Key | SecretString | Input parameter. Your Google API key to use for the Google Generative AI. |
| Model | String | Input parameter. The name of the model to use, such as "gemini-2.5-flash" or "gemini-3-pro-preview". |
| Max Output Tokens | Integer | Input parameter. The maximum number of tokens to generate. |
| Temperature | Float | Input parameter. Run inference with this temperature. |
| Top K | Integer | Input parameter. Consider the set of top K most probable tokens. |
| Top P | Float | Input parameter. The maximum cumulative probability of tokens to consider when sampling. |
| N | Integer | Input parameter. Number of chat completions to generate for each prompt. |
| model | LanguageModel | Output parameter. An instance of ChatGoogleGenerativeAI configured with the specified parameters. |
The Google Generative AI Embeddings component connects to Google's generative AI embedding service using the GoogleGenerativeAIEmbeddings class from the langchain-google-genai package.
For more information about using embedding model components in flows, see Embedding model components.
| Name | Display Name | Info |
|---|---|---|
| api_key | API Key | Input parameter. The secret API key for accessing Google's generative AI service. Required. |
| model_name | Model Name | Input parameter. The name of the embedding model to use. Default: "models/text-embedding-004". |
| embeddings | Embeddings | Output parameter. The built GoogleGenerativeAIEmbeddings object. |
This component allows you to call the Google Search API.
| Name | Type | Description |
|---|---|---|
| google_api_key | SecretString | Input parameter. A Google API key for authentication. |
| google_cse_id | SecretString | Input parameter. A Google Custom Search Engine ID. |
| input_value | String | Input parameter. The search query input. |
| k | Integer | Input parameter. The number of search results to return. |
| results | List[Data] | Output parameter. A list of search results. |
| tool | Tool | Output parameter. A Google Search tool for use in LangChain. |
Langflow includes multiple components that support Google Search, such as the following:
For information about Vertex AI components, see the Vertex AI bundle.
import PartialLegacy from '@site/docs/_partial-legacy.mdx';
<PartialLegacy />The following Google components are in legacy status:
<details> <summary>Google OAuth Token</summary>The Google OAuth Token component was deprecated in Langflow 1.4.0.
To connect your flows to Google OAuth services, use Composio components.
</details> <details> <summary>Gmail Loader</summary>This component loads emails from Gmail using Service Account JSON credentials and label ID filters.
As an alternative, you can use Composio components to connect your flows to Google services.
</details> <details> <summary>Google Drive Loader</summary>This component loads documents from Google Drive using Service Account JSON credentials and document ID filters.
While there is no direct replacement, consider using the API Request component to call the Google Drive API.
</details> <details> <summary>Google Drive Search</summary>This component searches Google Drive using Service Account JSON credentials and various query strings and filters.
While there is no direct replacement, consider using the API Request component to call the Google Drive API.
</details>