Generate File
Generate a text, PDF, JSON, or Excel file at run time for upload or open Flows.
Last updated
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.

Create a file to upload with File.
Create a file to open with Open file.
Create a file to send with SFTP Upload.
Generate the file, then upload it with File.

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}})
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