Generate text, emails, structured data, or images with AI
The AI Generate step sends data to an AI model and returns text, structured data, email content, or a generated image. It supports four actions, each built for a different output type.
Generate a single text output from a prompt. Write a prompt with references to data from previous steps, choose an output format (plain text, HTML, or Markdown), and the AI returns the result in a single output field. Choose between OpenAI and Anthropic models.
Configure a provider and model, set the output mode (Text, HTML, or Markdown), and write your prompt. Input fields are defined by you and appended to the prompt as context. The AI returns a single string written to an "output" field.
Generate structured data with custom output fields. Define the fields you need (e.g., sentiment, category, score) and the AI populates each one, returning structured data instead of a single text string.
Define your output fields and the AI will populate each one. Your field definitions guide what the AI generates, and the response is parsed into your custom fields. The prompt is required and can include references to data from previous steps.
Generate an email subject line and HTML body with purpose-aware prompting. Pick a purpose (marketing campaign, cold outreach, follow-up, newsletter, etc.), describe the audience and goal, and the AI writes the email following best practices for that email type.
Configure a purpose, audience description, and email goal. Optional settings control greeting lines, signatures, and additional tone guidance. The output is always two fields: subject_line and body (HTML). Wire these directly to a Send Email step. When multiple email steps run in sequence, previous subject lines are provided automatically to avoid duplication.
Generate an image from a text prompt. Describe the image you want, pick a model, set the quality and aspect ratio, and the AI returns an image saved to your workflow as a file. Use that file wherever a step accepts one: an email attachment, a social post, or a PDF.
Choose a provider and model (OpenAI GPT Image Mini is the cheapest, GPT Image is higher quality; Google Gemini is also available), set the quality and aspect ratio, and write a prompt describing the image. The image is generated and saved as a file, and the output "image" field holds a reference to it. Wire that field into a Send Email attachment, a social image, or a PDF the same way you would any other file.