Export
Install the CLI and log in, then export:*.flow.yaml), suite (_suite.yaml), and the flows’ and suites’ own setup/teardown hooks (hooks/<slug>.<ext>), adding setup_hooks/teardown_hooks and labels to the flow files and the suite manifests as needed. cURL hooks have no file form, so they’re referenced by slug but stay dashboard-authored.
Review the generated files, run autosana flows validate, commit them under .autosana/, then enable Code-Managed Testing for the repository (see Enabling code-managed flows).
How adoption works
On the first sync, anything whose identity matches an active dashboard definition is adopted: its run history is preserved and it becomes code-managed (read-only), now driven by your files.- A flow or suite is adopted when its
nameexactly matches one active dashboard flow or suite. - A hook is adopted when its slug (its filename) matches one active dashboard hook.