Create your first workflow
- Dashboard
- CLI

Open the workflows page
In the dashboard, go to Workflows. Click Create workflow to add a new one.
Describe what you want to test
Write your test in plain English. For example, “Log in and verify the dashboard loads” or “Call the API and check the response.” No code required.
Choose how the workflow runs
- Deterministic (i.e. scripted) - The AI writes a script that runs the same steps every time. Lark keeps the test updated as your product changes (e.g. UI updates).
- AI-driven - The AI performs the test from scratch each run, deciding how to achieve the goal. Best for complex flows like “follow the integration quickstart and verify it works.”
Add secrets if needed
If the test needs credentials (API keys, login credentials, etc.), attach a secret context. Otherwise you can skip this.
View results
After the run completes, open it in the dashboard to see:- Summary - Pass/fail and high-level outcome
- Steps - What the agent did (and, for AI-driven runs, how it chose to do it)
- Logs - Detailed agent output
- Artifacts - Screenshots, recordings, and other generated files
