What it is for
The Google Gemini component brings Google's models into your flooows flows to generate text, analyze images, chat with memory, create images, video and speech, and compute embeddings. Use it to draft content, summarize documents or describe incoming images.
It has no triggers: it is used as an action inside flows started by other triggers.
Set up the connection
Authentication type: API key or token
- 1Add a Google Gemini action and click "Connect".
- 2Open Google AI Studio (aistudio.google.com/app/apikey) and create an API key.
- 3Copy the key and paste it into the connection.
- 4Give the connection a name and save it. Keep in mind Gemini's API is still evolving, so Google may introduce changes.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- In "Generate Content" write the "Prompt" with mapped data and choose the "Model"; "Built-in Tool" enables tools such as search.
- "Chat with Gemini" keeps the conversation if you reuse the same "Memory Key".
- "Generate Content from Image" takes a file from a previous step in "Image".
- "Count Tokens" helps estimate text size before sending it.
Tips
- •Use "List Models" to see which models you can use.
- •Video creation can take a while; test with short durations first.
- •Enable flooows anonymization when sending personal data.
Actions (11)
Operations available as flow steps. Expand each one to see its fields.
Generate Content4 fields
| Field | Type | Required |
|---|---|---|
| Prompt | Long text | Yes |
| Model | List (from your account) | Yes |
| Built-in Tool | Fixed list | No |
| Tool Settings | Dynamic fields | No |
Generate Content with File Search4 fields
| Field | Type | Required |
|---|---|---|
| Prompt | Long text | Yes |
| Model | List (from your account) | Yes |
| File | File | Yes |
| File Store Name | Text | Yes |
Generate Content from Image3 fields
| Field | Type | Required |
|---|---|---|
| Prompt | Long text | Yes |
| Image | File | Yes |
| Model | List (from your account) | Yes |
Chat with Gemini3 fields
| Field | Type | Required |
|---|---|---|
| Prompt | Long text | Yes |
| Model | List (from your account) | Yes |
| Memory Key | Text | No |
Text to Speech3 fields
| Field | Type | Required |
|---|---|---|
| Text | Long text | Yes |
| Model | List (from your account) | Yes |
| Voice | Fixed list | Yes |
Create Video8 fields
| Field | Type | Required |
|---|---|---|
| Prompt | Long text | Yes |
| Model | List (from your account) | Yes |
| Aspect Ratio | Fixed list | Yes |
| Duration | List (from your account) | No |
| Resolution | List (from your account) | No |
| Start Image | File | No |
| End Image | File | No |
| People in Video | Fixed list | No |
Generate Image4 fields
| Field | Type | Required |
|---|---|---|
| Prompt | Long text | Yes |
| Model | List (from your account) | Yes |
| Aspect Ratio | Fixed list | No |
| Image Size | Fixed list | No |
List Models0 fields
No fields to configure.
Generate Embeddings5 fields
| Field | Type | Required |
|---|---|---|
| Text | Long text | Yes |
| Model | List (from your account) | Yes |
| Task Type | Fixed list | No |
| Document Title | Text | No |
| Vector Dimensions | Number | No |
Count Tokens2 fields
| Field | Type | Required |
|---|---|---|
| Text | Long text | Yes |
| Model | List (from your account) | Yes |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Invalid key or API disabled.
Create a new key in AI Studio and update the connection.
429 quota error.
Wait, add retries or review your plan in Google AI Studio.
Model not found.
Pick one from the current list, as names change.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
