Create a Flow file
Last updated: February 18, 2026
Liquibase Flow files transform your database change management from running individual commands one at a time into executing comprehensive, automated workflows with a single command. Instead of manually running separate commands for quality checks, updates, rollback tests, and reporting—risking missed steps or inconsistent processes across environments—you can define your entire deployment workflow once and run it reliably everywhere. Once you review the What is a flow file article, you are ready to create your first file.
Procedure
In the CLI, run the liquibase flow command.
liquibase flowSelect options 1, 2, or 3 listed in the output.
WARNING: No flow file detected. Would you like to create and automatically use 'liquibase.flowfile.yaml' ?
[1] Yes, create and use sample flow file in the Current Working Directory
[2] Yes, create and use sample flow file at a path I will specify
[3] Just create sample flow file in the CWD, do not use, and exit command
[n] No, do not create sample file, and exit command.
[1]: