For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generate File

Generate a text, PDF, JSON, or Excel file at run time for upload or open Flows.

Generate file creates a file during the Run. Use it when the journey needs content that is not already on the page, such as an upload, an open-in-browser check, or an SFTP transfer.

Generate file Test Step

When to use it

Example Flow

Generate the file, then upload it with File.

Generate file then File upload

Configure

Basics

Field
What to set

Filename

Text and/or Values

Type

Plain Text (default), PDF, JSON, or Excel (xlsx)

Contents

Body text when Type is Plain Text, PDF, or Excel

JSON Contents

JSON body when Type is JSON (Values can sit inside strings as {{runId}})

Advanced

Field
What to set

Status on fail

When should screenshots be taken?

Always or On Failures (default)

Pro tip: Put dynamic parts in Values inside Contents or Filename so one Flow can produce unique files per Test Case.

Tags: runner, generate, file

Last updated