What it is for
Google Vertex AI in flooows gives you access to Gemini models for text generation and Imagen for image creation, using your own Google Cloud project. Use it to summarize documents, classify messages, extract data or generate product images inside your flows.
This component has no triggers: it is used as an action inside flows started by other triggers, such as a new email or a form.
Set up the connection
Authentication type: Custom credentials
- 1In Google Cloud console create or pick a project and enable the Vertex AI API under APIs & Services.
- 2Under IAM & Admin > Service Accounts create a service account and give it the Vertex AI User role.
- 3Open the account, go to the Keys tab and add a new JSON key; the file downloads.
- 4In flooows click "Connect" and paste the entire file content into Service Account JSON.
- 5Save the connection.
| Connection field | Type | Required |
|---|---|---|
| Service Account JSON | Long text | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Generate Content: choose a Location (for example europe-west1) and Model; put instructions in System Message and map the text to process into User Message.
- You can add Files, Image URLs or a YouTube URL for multimodal analysis.
- Tune Temperature (lower for precise answers), Max Output Tokens and Thinking Level for the task.
- Generate Image creates images with an Imagen model from a Prompt and its Model Configurations.
Tips
- •Pick a European region in Location if you want processing to happen in Europe.
- •Ask for a JSON answer in the System Message so later steps can use it easily.
- •flooows can anonymize confidential data before it is sent to the model.
Actions (3)
Operations available as flow steps. Expand each one to see its fields.
Generate Content12 fields
| Field | Type | Required |
|---|---|---|
| Location | List (from your account) | Yes |
| Model | List (from your account) | Yes |
| System Message | Long text | No |
| User Message | Long text | Yes |
| Files | List of values | No |
| YouTube URL | Text | No |
| Image URLs | List of values | No |
| Temperature | Number | No |
| Max Output Tokens | Number | No |
| Thinking Level | Fixed list | No |
| Thinking Budget (tokens) | Number | No |
| Include Thoughts in Response | Yes / No | No |
Generate Image4 fields
| Field | Type | Required |
|---|---|---|
| Location | List (from your account) | Yes |
| Model | List (from your account) | Yes |
| Prompt | Long text | Yes |
| Model Configurations | Dynamic fields | 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
Permission denied (403)
Grant the Vertex AI User role to the service account and confirm the API is enabled.
Model not available in the region
Change Location to a region where the model is offered.
Quota exceeded (429)
Add retries or a Delay, or request more quota in Google Cloud.
Invalid credentials JSON
Paste the whole file, including the opening and closing braces.
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
