When to use it
A line of context under an alert: what a new contract seems to be for, or whether a wallet's move looks routine.
At a glance
| Integration | Google Gemini |
|---|---|
| Credits | 2 |
| Connection | Google Gemini, by pasting a key |
Settings
promptRequiredAccepts event fields- Prompt. The event is given to the model alongside this. Anything written inside the event is treated as data, never as instructions.
model- Model. Leave it on the default, or choose a model your Gemini key can use. Picked from your account's own list, or typed.
max_output_tokens- Answer length limit. The most the model may write, counted the way Google bills it. About 750 words per 1,000. At most 32,000. A whole number. Under More options.
What it hands on
Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.gemini_prompt_1.text }} — the action’s key, then which one it is if you use more than one of the same kind.
text- The model's answer.
model- The model that answered, as Google names it.
Good to know
- Runs on your own Gemini key. Google bills your account for what the model reads and writes.
- A key whose account has run out of credit fails the step with that reason. The flow keeps trying on later events, so it carries on once credit is added, and stops after several failures in a row.
- Token names, symbols and other values in an event can be written by anyone. The model is told to treat the event as data and never to follow instructions inside it.
- An answer that runs past the length limit is handed on as far as it got.