Build / Reports
Saving reports
A Report is a PDF saved from a Report Blueprint. This page covers checking the PDF before you save, saving a Report from the editor, and creating Reports from a Workflow or Eric.
| Action | Creates a Report? | Report Variable values |
|---|---|---|
| Preview Report | No | Your Working Values, else the Defaults |
| Save Snapshot | Yes | Your Working Values, else the Defaults |
| Download Report PDF in Report history | No, it fetches one you saved | None: you get the file as it was saved |
Preview the PDF
Section titled “Preview the PDF”Use Preview Report to check the layout and data before you save anything.
- Open the blueprint.
- If the report has Report Variables, set the values you want in Variables.
- Click Preview Report on the editor rail.
The editor saves your pending edits, prints the report, and downloads <Report title> — preview.pdf. Nothing is added to Report history.
Save a Report
Section titled “Save a Report”Save Snapshot prints the report, stores the PDF as a Report, and downloads it.
- Open the blueprint.
- If an element is open in the Report Element Workspace, click Save there. Canvas edits save on their own.
- If the report has Report Variables, set the values you want in Variables.
- Click Save Snapshot on the editor rail.
- Wait while the status beside the title moves through saving, generating, and downloading.
The Report appears in Report history, where you can download or email it later.
Preview Report and Save Snapshot both need Report Write Permission. While a required Report Variable has no valid value, both are disabled, and hovering them names the variable. Only one of saving, previewing, and saving a snapshot runs at a time, and editing waits until it finishes. Leaving the editor doesn’t cancel a PDF that has started; a snapshot that finishes is in history even if you left.
Preview PDFs from Eric
Section titled “Preview PDFs from Eric”When Eric builds or changes a report for you, he finishes with a Preview PDF in the Workspace Conversation, marked Not saved. It uses the values Eric passes, otherwise your Working Values for that report, otherwise the Defaults. It adds nothing to Report history.
Eric saves a Report only when you ask him to save, generate, export, download, email, or send one. A saved Report’s card in the conversation has Download and Report history buttons. See Preview PDF and saved Reports.
Connected external AI clients with write access can also create Reports, with the same permissions.
What a Report keeps
Section titled “What a Report keeps”A Report always prints the blueprint as it’s saved at that moment, running every element’s queries as the person saving. It keeps:
- The Report PDF, which is both what you deliver and the record of the data at that time
- Its title: the Report title with your values filled in, or else the blueprint title, followed by the date and time it was created in UTC
- The Report Variable values it used. Relative dates such as
start of last monthare stored as the actual dates - The House Style and revision it printed with
Editing the blueprint or its House Style afterward never changes a Report. The PDF looks the same whatever app theme the person saving uses, and elements that are interactive on the canvas print static.
When a PDF fails
Section titled “When a PDF fails”A Report is created only when every element prints. Preview Report and Save Snapshot fail, name the element, and create nothing when:
- An element’s query fails
- An element’s code fails while it renders
- An element’s content overflows its box and it doesn’t use Element Continuation
- A library an element loads from a CDN can’t load
- A required Report Variable has no value, or a value has the wrong type
- The report would print more than 100 elements, counting each Continuation Page, or its content is too large to print
An element that reaches its Element Page Cap doesn’t fail: the rest of its content is left out and the PDF is still produced. The report’s House Style never makes a PDF fail. See When a House Style has a problem.
How Report Variables resolve
Section titled “How Report Variables resolve”Every way of creating a Report resolves each Report Variable the same way: the value supplied for it, otherwise its Default, otherwise the PDF fails and names the missing variable. A name the blueprint doesn’t declare, or a value of the wrong type, also fails.
- In the editor, the supplied values are your Working Values.
- Relative dates resolve in your Company timezone when generation starts. A scheduled Workflow run resolves them at its scheduled time, so a delayed run still covers the intended period.
- Downloading from Report history never asks for values. It returns the stored PDF.
Scheduled reports in Workflows
Section titled “Scheduled reports in Workflows”A Workflow can create Reports unattended, for example a monthly client pack on a schedule. Each Create Report step creates one Report, which appears in Report history like any other.
-
In the Workflow editor, add a Create Report step.
-
In Report Blueprint slug, enter the blueprint’s slug. Copy it from Report settings in the report editor.
-
In the step’s YAML, map Report Variables under
variables, each to a literal value or to a value from an earlier step:definitionSlug: monthly-summaryvariables:region: Westaccount_id:$from: nodes.manual-input.output.accountIdA variable you don’t map, or whose
$fromhas no value on a run, uses its Default. -
To send the PDF, add an Email step after it and click Add Report attachment. The email attaches the saved Report PDF without printing it again.
-
Save the Workflow.
Saving the Workflow approves each blueprint its Create Report steps name, as it is at that moment. Runs print only that approved version. After someone edits the blueprint, or deletes it and creates another with the same slug, the step fails without running any query until the Workflow is saved again: “The Report Blueprint changed since this Workflow was saved. Someone who can save the Workflow must save it again to approve the change.” The Workflow editor lists those steps under Report changes need approval. See Workflows for approving changes and testing.
When you save the Workflow, its variable mappings are checked against the blueprint. An unknown variable name or a value of the wrong type shows as a warning and doesn’t block the save. When the step runs, the same problems fail it without a retry. If no blueprint has the slug, saving warns, and the step fails with “Report Blueprint not found.”
Workflow tests skip report generation unless you turn on Run live actions. A test’s Starting input fields that feed Report Variables show the report’s Default and whether a value is required.
Troubleshooting
Section titled “Troubleshooting”Preview Report or Save Snapshot is disabled
You need Report Write Permission, and every required Report Variable needs a valid value. Hover the button to see which variable is missing.
The PDF fails and names an element
Open that element. Check its results in the Live preview, look for an In the PDF: error on the canvas, and either fix the content or turn on Element Continuation.
“Snapshot saved; download failed”
The Report was saved. Download it from Report history.
“Snapshot outcome unconfirmed”
The server didn’t confirm whether the Report was saved. Check Report history before you click Save Snapshot again.
Report history is empty after Preview Report
Preview Report never creates a Report. Use Save Snapshot to keep one.