Skip to content
Google Gemini

How to use Google Gemini

Artificial intelligenceCost: 1 credit + 2 per runTop 100 · #31Full guide

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

  1. 1Add a Google Gemini action and click "Connect".
  2. 2Open Google AI Studio (aistudio.google.com/app/apikey) and create an API key.
  3. 3Copy the key and paste it into the connection.
  4. 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
FieldTypeRequired
PromptLong textYes
ModelList (from your account)Yes
Built-in ToolFixed listNo
Tool SettingsDynamic fieldsNo
Generate Content with File Search4 fields
FieldTypeRequired
PromptLong textYes
ModelList (from your account)Yes
FileFileYes
File Store NameTextYes
Generate Content from Image3 fields
FieldTypeRequired
PromptLong textYes
ImageFileYes
ModelList (from your account)Yes
Chat with Gemini3 fields
FieldTypeRequired
PromptLong textYes
ModelList (from your account)Yes
Memory KeyTextNo
Text to Speech3 fields
FieldTypeRequired
TextLong textYes
ModelList (from your account)Yes
VoiceFixed listYes
Create Video8 fields
FieldTypeRequired
PromptLong textYes
ModelList (from your account)Yes
Aspect RatioFixed listYes
DurationList (from your account)No
ResolutionList (from your account)No
Start ImageFileNo
End ImageFileNo
People in VideoFixed listNo
Generate Image4 fields
FieldTypeRequired
PromptLong textYes
ModelList (from your account)Yes
Aspect RatioFixed listNo
Image SizeFixed listNo
List Models0 fields

No fields to configure.

Generate Embeddings5 fields
FieldTypeRequired
TextLong textYes
ModelList (from your account)Yes
Task TypeFixed listNo
Document TitleTextNo
Vector DimensionsNumberNo
Count Tokens2 fields
FieldTypeRequired
TextLong textYes
ModelList (from your account)Yes
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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