A Salesforce CLI plugin that generates design document from Lightning Flow metadata. If you're not familiar with CLI, try the web app version.
- Trigger based Process
- Platform Event based Process
- Invocable Process
- Chatter Post
- Quick Action
- Apex (Invocable Action)
- Sub flow/process
- Record Create
- Record Update
- Approval Process
- Word (.docx)
- JSON
sfdx plugins:install sfdx-flowdoc-plugin
Clone this repo and run npm install
. Then run,
sfdx plugins:link .
Specify an API name of your process
sfdx flowdoc:pdf:generate Example_Process -o dest
sfdx flowdoc:docx:generate Example_Process -o dest
sfdx flowdoc:json:generate Example_Process
You can also use the display command and redirect the output. Use --nospinner
option if you don't need spinner while the command execution.
sfdx flowdoc:json:display Example_Process --nospinner > example_process.json
Add -l (--locale) ja
option to export Japanese document.
sfdx flowdoc:pdf:generate Example_Process -l ja
Feature requests, bug reports and pull requests are welcome!
- Flow Builder
- Diagram