Use Automation AI to create, edit, and debug flows from plain-language or voice instructions.
Automation AI lets you create, edit, and debug flows by describing what you want in plain language or by speaking your instructions. You don’t need to know the flow syntax to get started — the AI writes and updates the code for you.If you’d prefer to write flows manually, see Create a new flow.
Type a plain-language description of what you want the flow to do into the chat box and hit enter. For example: “Log in with a valid email and password and assert that the dashboard loads.”
Select Autonomously complete this test to have the AI generate Playwright code for the flow automatically. While it runs, you can multitask in other flow tabs.
When a flow fails, click Fix with AI in the banner at the top of the editor. Describe the problem or let the AI interpret the error automatically.For manual debugging, see Debug tests & flows.