Generate Text
Generate text with GPT, Claude, or Gemini in an Edgaze workflow: write the prompt, pick the model, and feed in inputs from earlier steps.
Workflow creators.
Overview#
Generate text with GPT, Claude, or Gemini.
Use this block when its responsibility is clear in the graph. Give it a name that describes the work it performs, then test it with representative input before publishing.
Working examples#
These are complete starting points, not decorative diagrams. Every graph is also available in the main template library and is checked by the workflow compiler.
1. Meeting notes to decisions#
You will build: Owners, decisions, deadlines, and unresolved questions.
A focused extraction prompt is more dependable than a generic summary. A bounded output format makes missing owners and dates visible.
Open this template and adapt the labels, prompts, or credentials to your own workflow.
2. Policy plain-language rewrite#
You will build: A faithful rewrite that preserves obligations.
Separates clarity work from legal review. The prompt instructs the model not to invent or remove requirements.
Open this template and adapt the labels, prompts, or credentials to your own workflow.
3. Lead qualification memo#
You will build: Fit signals, risks, and the next discovery question.
Turns inconsistent notes into a repeatable sales handoff. Explicit evidence fields keep the assessment traceable to the input.
Open this template and adapt the labels, prompts, or credentials to your own workflow.
Return data as fields#
By default Generate Text returns text. When later steps need specific values, open Return data as fields and list them: a name and a type for each (text, number, yes or no, or a list). A list has its own fields, for example a transactions list whose items each have a date, a description and an amount.
The step then returns exactly those fields instead of text. Later steps show them by name and type: Calculate can total transactions › amount, and Make Spreadsheet offers the item fields as columns. Numbers are read the way Calculate reads money, so $1,234.56 arrives as 1234.56. A value the model leaves out arrives empty. If the reply is not data at all, the step fails instead of passing on something wrong, and a failed run is not charged.
Ports#
- Input: Input (
in):any, optional, single. - Output: Response (
out):string, optional, single.
Inspector#
- Prompt: key
prompt; textarea; default:"". - Style / System (optional): key
system; textarea; default:"". - Model: key
model; select; options:gpt-6.2-astra,gpt-6-sol,gpt-6.2-sol,gpt-6.1-terra,gpt-6-luna,Kimi-K3.1-Pro,DeepSeek-V4.1-Flash-1017,grok-4.7,mistral-large-4-latest,claude-sonnet-5-5,claude-opus-5-5,gemini-4-carbon,gemini-4-argon,gemini-4-hydrogen; default:"gpt-6-sol". - Reasoning: key
reasoning; switch; default:true; The model thinks before it answers. On by default; turn it off for faster, cheaper answers on simple steps. - Timeout (ms): key
timeout; number; range: 30000 to 600000; default:120000. - Stream: key
stream; inline switch; default:true. - expanded-text editor: manages
prompt,systemwith edit, expand support. - output-fields editor: manages
outputFieldswith edit, validate support.
Behavior#
- Input requirement: Provide one of ports
inor config fieldsprompt,system. - Execution: Handled by the handler using
llm-chat. - Timeout: 120000 ms by default (30000 to 600000 ms).
Cost#
Uses a language-model provider and contributes model usage to the run cost.
Security#
- The step has no key setting of its own. The model key follows the listing's credential mode: Edgaze-hosted platform keys by default (or, for an Edgaze Plus runner who turns on Use my API keys, their own API Vault key for this step's provider), the creator's API Vault keys for a creator-connected listing, or the buyer's own keys for a buyer-BYOK listing. Some models are Edgaze-hosted only; see API Vault. Secret values are not part of the published graph.
- The node reads from an external service without intentionally mutating it.
Retry#
The runtime may retry this node according to the compiled execution policy.
Production checklist#
- Test the happy path and one malformed or empty input.
- Keep credentials out of prompts and published graph configuration.
- Set a timeout that matches the operation's side effects.
- Name the final result so a runner can tell what success looks like.
Was this useful?
Your response helps us improve the documentation.
More blocks
Ask one question or collect several related answers when the workflow starts.
Generate images with Gemini or OpenAI from a text prompt in an Edgaze workflow, with working examples, model settings, and ports.
Bring in content from a public web page or a YouTube video.