# Instant & On-Demand Generation

Instant & On-Demand Generation creates data-filled documents on the spot, either with a single click from a Salesforce record or automatically through Flows and Apex.

> Kind: Guide · Updated: Jul 30, 2026

Instant & On-Demand Generation generates documents instantly from Salesforce records, screen flows, or actions — delivering data-filled outputs on the spot with no delays.

This covers two ways to trigger that instant creation: a manual, one-click action taken directly on a record, and an automated trigger built into a Flow or Apex process.

## One-Click Record Generation

One-Click Record Generation triggers document creation directly from the CloudFiles widget on any Salesforce record.

Generate polished documents instantly — quick, simple, and Salesforce-native.

## Automated Generation (Flows &amp; Apex)

Automated Generation (Flows & Apex) creates documents through Record-Triggered Flows, Screen Flows, or Apex actions using real-time data and runtime variables.

Add live document creation into any Salesforce automation or guided process.

Part of the Dynamic Document Generation Engine.
