It doesn't run unattended.
Windsurf automation means saved, slash-command Cascade workflows, backed by rules and hooks, and it suits repeatable tasks a person starts inside the editor; anything that has to fire on its own schedule or in response to an outside event belongs in a separate trigger-based tool such as Activepieces.
Anything shipped after 2 December 2026 isn't reflected here. The claims below reflect Windsurf's documentation, pricing page and changelog as of that date. Confirm any behavior you plan to depend on against the current docs.
Create saved Cascade workflows with rules and hooks
Workflows, rules, memories and hooks compared
People lump four mechanisms together as "automation," and they differ in what starts them. The table shows that only workflows are deliberately invoked by a person, while rules, memories and hooks all act as part of a Cascade session.
Choose by the question that matters to your controls: who pressed the button, and what record exists afterward.
| Mechanism | What triggers it | Where the file lives | Must a person be present? |
|---|---|---|---|
| Workflows | You type a slash command in Cascade | Markdown files in the workspace's .windsurf/workflows folder |
Yes, someone has to run the command |
| Rules | Applied automatically, or when you mention them, depending on how each rule is set | Markdown files in the workspace's .windsurf/rules folder |
Yes, they only apply inside a Cascade session |
| Memories | Cascade creates and recalls them as you work | Stored locally by Windsurf, outside your repository | Yes, they are recalled during a session |
| Hooks | Cascade actions, such as running a command or writing code | A hooks configuration file under .windsurf |
Yes, they fire only when Cascade is acting |

Where the files live decides what you can review. Workflows and rules sit in the repository, so changes go through your normal pull request and approval chain.
Don't rely on a memory for a control that an auditor will ask you to evidence, because memories aren't in the repository. Hooks are the integration to use when you need a log of what Cascade did.
What Windsurf automation cannot do on its own
Nothing in the table starts itself. A month-end export that must run at a fixed hour with nobody at a keyboard has no trigger here. Neither does a job that moves data between Windsurf and a billing system or a ticket queue.

When a job like that has to run, it needs a separate scheduler or workflow tool. Activepieces is one, with its code public on GitHub at 25,840 stars, and Windsurf handles only the editing work inside it.
- Windsurf installed, with a workspace folder where the
.windsurffiles can be committed. - The task written down as discrete steps, including any approval point where a human must confirm before Cascade continues.
- A named owner for the workflow files, so changes to them get the same review as changes to code.
Once those three exist, building the first workflow is mostly a matter of turning the written steps into a slash command.
Everything below works on Activepieces' free plan. Start without code or a credit card.
Five stages to a working Windsurf workflow
Type a slash command and Cascade, Windsurf's built-in AI agent, runs a markdown file of titled steps. That file is a Windsurf workflow, and you can build the first one in five moves.
The pre-PR review is a good first target because the checklist already exists on paper.
Follow the five steps below once, in order, from the customizations menu to a finished /pre-pr-review command, and you'll have a reusable command, not a prompt you retype.
- Open the Cascade customizations menu.
- Open the Workflows tab.
- Create a workflow in
.windsurf/workflows. - Write titled steps in the markdown file.
- Run it with
/pre-pr-review.
Each step needs more detail than that list gives, and the stages below supply it.
Open the Cascade panel and click the customizations icon. If the Workflows tab is missing, update the editor first, then check your plan.
A missing tab means the install is out of date or the plan doesn't include it, and you should settle that before writing anything.
Stage 2: Create the workflow file in .windsurf/workflows
Create a new workflow from the Workflows tab. A workspace workflow is saved in .windsurf/workflows inside the repo, so it travels with the code and the whole team gets it.
Saved globally, a workflow lives in your own Windsurf configuration and follows you across projects. Put the PR checklist in the workspace, because reviewers should all run the same steps.
Give each step a title and one instruction Cascade can verify. Vague steps produce vague runs.
## Example Windsurf pre-PR review workflow file
## Write the PR description step in a workflow
Write a PR description: what changed, why, and how it was tested.
Because each step ends in something you can check, a reviewer can see which step failed.
In the Cascade input, type /pre-pr-review. The file name becomes the command. Cascade works through the steps in order and reports as it goes. A person starts it from inside the editor, and nothing here runs on a schedule.

You can have one workflow call another by name, so a release checklist can invoke /pre-pr-review as its first step. Keep auto-execution for terminal commands tight.
Allow read-only commands such as running tests, and leave anything that writes or deploys on manual approval, because your audit trail depends on a human confirming those actions.
Fix workflow limits and errors
When a workflow misbehaves, it usually comes down to a character cap or an approval setting. Windsurf's documented caps are 6,000 characters for global rules and 12,000 per file for workspace rules and workflows.
When a rule or workflow behaves strangely, suspect anything longer than its cap first, since an oversized file may not load as written. The table shows each limit as I recorded it.
| Limit | Value | Source page | Date checked |
|---|---|---|---|
| Global rules | 6,000 characters | Windsurf docs, rules | 2026-12-02 |
| Workspace rules | 12,000 characters per file | Windsurf docs, rules | 2026-12-02 |
| Workflows | 12,000 characters per file | Windsurf docs, workflows | 2026-12-02 |
| Terminal auto-execution | Four levels: Disabled, Allowlist Only, Auto, Turbo | Windsurf docs, Cascade terminal | 2026-12-02 |
Check your longest file against these numbers first, then the approval level, because the failures below follow from them.
Symptom: typing / doesn't list your workflow. Cause: the file sits outside the workflows folder (.windsurf/workflows), or it exceeds 12,000 characters. Fix: move it, or split it into two workflows that each stay under the cap.
Symptom: step four runs before step two, which means steps aren't executing in their intended order. Cause: a long file with loose prose, or global rules near the 6,000-character cap competing with the workflow.
Fix: number the steps, one action each, and move standing preferences out of the workflow into a rule.
Symptom: the run freezes mid-task. Cause: the terminal level is Disabled or Allowlist Only, and the command isn't on the list.
Fix: allowlist the read-only commands, such as test runs, and keep writes and deploys manual. The stall is the approval control doing its job, so don't switch to Turbo just to clear it.
Fix Windsurf workflows running out of credits
Symptom: a workflow stops partway. Cause: every Cascade prompt spends credits, and a multi-step workflow spends several. The usage docs list 25 credits a month on Free, so a few runs of a ten-step workflow can exhaust the month.
500 a month on Pro is enough for routine daily use. Teams also lists 500 per user, so moving from Pro to Teams buys administration, not more credits.
Enterprise lists 1,000, double the others. Fix: shorten the workflow, or move up to the plan whose allowance covers your monthly run count.
Easier to see it running than to read about it: set it up free, no card.
Automating beyond the editor with Activepieces
No bigger allowance will start a workflow at 3 a.m.
Activepieces, an automation platform with an MIT-licensed core and unlimited flows on every plan, including free, can, because it runs flows on a schedule or from a webhook, and Cascade can also call those flows over MCP.

When a Windsurf workflow is enough
When a person is already in the editor, a saved slash-command workflow fits. It suits a repeatable task done the same way each time: a release-notes draft, a test-and-fix loop, a standard code review.
Someone presses the key, so nobody has to ask what started the run or who owns the result.
Once the job must start without that person, such as a month-end export or a reaction to a payment failure, the workflow has no trigger to offer.
Options for scheduled or event-driven work
There are four common routes. A CI pipeline is the build-and-test service attached to your repository. A cron job is a timed command on a server you maintain.
An MCP server is a small program that exposes tools to an AI client over the Model Context Protocol. Activepieces runs scheduled and webhook-triggered flows across its 751 integrations, so the cross-app work Windsurf can't start is covered in one place.
To choose between them, put them side by side in the table below on the five questions that decide the choice. Read the last two columns first, because setup effort and the main trade-off are what teams underestimate.
| Can run on schedule | Can take a webhook | Cross-app reach | Setup effort | Main trade-off | |
|---|---|---|---|---|---|
| CI pipeline | Yes | Yes, via repository events | Mostly code and deploy systems | Low if CI already exists | Built around repositories, awkward for business apps |
| Cron job | Yes | No, not on its own | Whatever your script calls | Moderate, you own the server | No run history unless you build it |
| MCP server | No, it waits to be called | Not by itself | Whatever tools you wrap | High, you write and host it | Only acts when a client asks |
| Activepieces | Yes | Yes | 751 integrations | Moderate, visual builder | Another system to host or pay for, and to review |
Activepieces covers schedule, webhook and multi-app reach in one place, and roughly 60% of its integrations are community-contributed, meaning you have access to integrations beyond what the platform officially develops. That convenience is the reason to pick it.
The cost is one more system to secure.
Start workflows to skip manual pasting
Because Activepieces can publish flows as MCP tools and Windsurf can connect to MCP servers, Cascade can start a flow, such as filing a ticket or posting a summary, instead of you pasting results between apps.
Each Activepieces project runs its own MCP server, so once Windsurf is pointed at that endpoint, you can ask Cascade to build or modify a flow, and the run trace lists the tool calls it made and the changes to the flow that resulted.
That separates a flow that was actually edited from a chat that only described the edit. The core is MIT-licensed, with 751 integrations in the open source repository, and MoneyGram, Moneypenny, Alan and FundingSocieties run it.
With or without you at the keyboard, the same logic runs, because the flow keeps its own schedule and webhook triggers.
Before you rely on it, check the run history for each flow and decide who approves changes to it. An unattended flow with no audit trail is the problem you were trying to avoid.
A Monday plan for Windsurf automation
Start with the one task your team repeats most, and save it as a slash-command workflow in the repository. Let a visible review trail tell you what to tighten, because a workflow someone starts and reads is the audit trail the unattended version lacks.
An unattended flow with no audit trail is the problem you were trying to avoid.
Work through the six actions below in the order they pay off, since each produces something a reviewer can inspect before the next one begins.
- Pick the most repeated task, the one people already do by hand the same way each time.
- Write it as a workflow, with the steps spelled out the way you would brief a new hire.
- Commit
.windsurf/workflowsso the workflow is versioned and reviewed like any other change. - Review after three runs, comparing what the workflow did with what the person wanted, so you can tell if the problem repeats.
- Move stable guardrails into rules, once the same correction has appeared in every review.
- Recheck the docs and changelog monthly, since the behavior of a tool that changes underneath you is your risk to track.
| Mechanism | What it holds | What starts it |
|---|---|---|
| Workflow | An ordered set of steps for one task | A person typing a slash command |
| Rule | A standing instruction about how to work | Loaded by the editor as Cascade works |
| Memory | Context Cascade has picked up | Cascade, from earlier sessions |
| Hook | A command that runs around Cascade's actions | An action inside the editor |
Commit the workflow first, because only the workflow carries a procedure. Memories are the weakest basis for a control, because nobody approved them in a pull request.
Every step above begins with a person inside the editor. Nothing here wakes up at the close of the month, watches a mailbox, or moves data between your ticketing system and your ledger.
If the job must run with nobody present, or must cross several applications, it belongs in a separate scheduler or integration tool. Use Windsurf to build and maintain the logic, and let the other tool run it.
Requirements before building a Windsurf workflow
You need a repository the team already shares, so the workflow files get reviewed. You need one named owner for each workflow, who signs off after the third run.
And you need a written definition of a correct result, because without one the review has nothing to compare against. With those in place, the first workflow can be live by the end of Monday.
Frequently asked questions
Can Windsurf run a workflow on a schedule?
No. A Windsurf workflow runs only when a person types its slash command in Cascade, the editor's assistant panel. Nothing fires at 6 a.m. or at month-end close without someone sitting there.
If a job has to run unattended, such as a nightly reconciliation pull, put it in a scheduler or a separate automation tool. Treat Windsurf as the place where you build and test the logic.
Are Windsurf workflows available on the free plan?
I can't confirm the plan-by-plan breakdown, so check Windsurf's current pricing page before you commit a team to it.
Before you buy seats, create one workflow on a trial or free account and confirm it saves and runs. That takes minutes and answers the question for your own account, which is the one your finance team will be billed on.
Do Windsurf workflows work in the JetBrains plugin?
I can't confirm that either, and the answer may differ from the Windsurf editor. The workflows described in this article were built and run inside the editor itself.
If your team lives in a JetBrains IDE, test one saved workflow there first. Don't roll out a process that depends on slash commands until you've seen it work in the environment people actually use.
How is a Windsurf workflow different from a rule?
Start a workflow on demand and it runs a saved sequence of steps; a rule is standing guidance Cascade applies without being asked.
Use a workflow for a task with a beginning and an end, like "prepare the variance summary." Use a rule for a constraint that should always hold, like "never write to the ledger tables directly."
Put your approval and audit requirements in rules, because rules shape every session, and keep the task steps in workflows.
Can I share Windsurf workflows with my team?
Yes, in practice, because a workflow is a saved file and can be shared the way other project files are. The usual route is to keep it in the repository so everyone who opens the project gets the same version.
That also gives you a change history.
For audit purposes, you can show who edited a workflow and when, and require the same review for that edit as for any other change to a controlled process.



