Gemini: generate text
Этот контент еще не доступен на вашем языке.
The Gemini: generate text Point template asks a Google Gemini model for a short piece of text and saves it as a traveler attribute, so a later step can drop it into a push, an email, or an SMS.
This point authenticates with its own Gemini API key — it doesn’t use any account-level integration configured elsewhere in Settings.
Configure the point
Anchor link to- Drag Gemini: generate text from the Integrations section of the left panel onto the canvas.
- Double-click the point and enter a Step Name.
- In Gemini API key, enter your Gemini API key. It’s stored masked, like a webhook secret header.
- In Model, choose gemini-2.5-flash-lite or gemini-2.5-flash. Defaults to gemini-2.5-flash-lite. Gemini 2.5 Pro isn’t offered here: it can’t turn off its own reasoning step, so it isn’t guaranteed to finish within the point’s 10-second timeout. Every call bills your own Gemini key for every traveler who reaches this step, and gemini-2.5-flash costs more per token than gemini-2.5-flash-lite.
- In Prompt, write what you want the model to generate. It takes the same macros as any Webhook body, for example
{{device:hwid}}. - Click Save.
Reasoning is turned off and responses are capped at about 300 tokens (roughly a short paragraph) to keep the request inside the Webhook timeout. Ask for something that short. A longer or more detailed prompt doesn’t get more room to answer.
Response
Anchor link toAfter the step runs, the generated text is available in later steps as attribute llm_text — use it the same way you’d use a Webhook response attribute, for example with Dynamic Content in a later message. Attributes llm_input_tokens and llm_output_tokens carry the token counts for that request.
A failed request drops the traveler from the journey — see Errors and failed requests. A response that comes back but isn’t what you expected doesn’t drop the traveler: if the model’s answer runs into the 300-token cap, llm_text holds the truncated text. If the model declines to answer, llm_text holds whatever it replied with instead. Either way, the journey continues with that value.