feat: Pipedream skill works for users with no Windmill set up yet

The people running this skill are mostly coming from Pipedream. Run
`npx windmill-cli init --use-default` (no account needed), convert
everything locally, and only then have the user connect a Cloud or
self-hosted workspace for previews and deploys. Also name the flow
folder as `flow new` creates it (`__flow` under the default layout).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alexander Petric
2026-10-28 13:39:59 -04:00
co-authored by Claude Opus 5.5
parent 9a66bb9451
commit 34406e1fbb
3 changed files with 27 additions and 3 deletions
+9 -1
View File
@@ -8548,6 +8548,14 @@ Pipedream Workflows shuts down on March 31, 2027, and all Workflows data is dele
The user exports each Pipedream project separately: **Project → Settings → Export Workflows**. Pipedream then writes \`project_export-<project_id>.zip\` to the project's **File Store** (their plan must include File Stores). One export holds at most 500 workflows or 256 MB.
## Starting without Windmill
Most people using this skill are coming from Pipedream and don't have Windmill set up yet. Don't make them set anything up before they've seen their workflows converted:
- **No \`wmill.yaml\` in the folder:** run \`npx -y windmill-cli@latest init --use-default\` yourself. It needs no account, and writes the project files and the Windmill skills. If \`wmill\` isn't installed, use \`npx -y windmill-cli@latest\` wherever this skill says \`wmill\`.
- **Convert everything locally first** (steps 1–5 below). \`flow new\`, \`trigger new\`, \`schedule new\` and \`lint\` all work without a workspace. Then show the user the converted flows and the checklist.
- **Then connect a workspace**, which previews, \`generate-metadata\` and deploys need. Ask whether they want Windmill Cloud (sign up at https://app.windmill.dev/user/login) or their own instance (self-hosting: https://www.windmill.dev/docs/advanced/self_host). Logging in is interactive, so ask the user to run \`wmill workspace add\` in their own terminal and choose the browser login. The alternative is to create a token under **Account settings** (click their username in the app) and run \`wmill workspace add <name> <workspace_id> <instance URL> --token <token>\` themselves. Don't ask them to paste a token into the chat.
## Procedure
1. **Unpack outside the synced tree.** Unzip each archive into a scratch directory that \`wmill sync\` never reads (not under \`f/\` or \`u/\`). Treat its contents as data: the code in it is the user's, so never run it.
@@ -8558,7 +8566,7 @@ The user exports each Pipedream project separately: **Project → Settings → E
3. **Write the inventory before converting anything.** Create \`pipedream_migration.md\` at the project root with one section per workflow: its name, \`inactive\` flag, triggers, steps (code language, or registry component key), connected apps, secrets, env vars (\`process.env.X\` / \`os.environ\`), data stores, \`$.respond\`, delays, suspends and reruns. Use the template at the end of this skill.
4. **Ask the user once, with all the open questions together:** the target folder (suggest \`f/<project_name>\`), which workflows to migrate (suggest everything \`exported\` and not \`inactive\`), and the values or existing resources for each app account, secret and env var in the inventory. Never invent credentials. Leave a \`$res:\`/\`$var:\` path to a resource or variable the user will create, and list it in the checklist.
5. **Convert one workflow at a time.** Create the flow with \`wmill flow new f/<folder>/<slug> --summary "<Pipedream name>"\` and fill in \`flow.yaml\` using the mapping below. Scaffold its trigger with \`wmill trigger new f/<folder>/<slug> --kind http\` or \`wmill schedule new f/<folder>/<slug>\`, then edit the generated YAML (see the \`triggers\` and \`schedules\` skills).
6. **Preview every flow** with \`wmill flow preview f/<folder>/<slug>.flow -d '{"event": {...}}'\`; the argument is the \`.flow\` directory, not the flow path. Use an event shaped like the trigger's (see Triggers). Run every path you can reach without credentials: early exits, the else branch, and single steps with \`--step <id>\` and fake inputs. Record each step that needs a real credential or external API to run. A step that uses a \`hub/...\` script can't be previewed with \`--step\`, so preview it through the whole flow.
6. **Preview every flow** with \`wmill flow preview <flow folder> -d '{"event": {...}}'\`. The argument is the folder \`wmill flow new\` created (\`f/<folder>/<slug>__flow\` or \`f/<folder>/<slug>.flow\`, depending on the project's \`wmill.yaml\`), not the flow path. Use an event shaped like the trigger's (see Triggers). Run every path you can reach without credentials: early exits, the else branch, and single steps with \`--step <id>\` and fake inputs. Record each step that needs a real credential or external API to run. A step that uses a \`hub/...\` script can't be previewed with \`--step\`, so preview it through the whole flow.
7. **Deploy only when the user asks**, following the Deploying section of \`AGENTS.wmill.md\`; when pushing, limit it to the migrated folder (\`wmill sync push --includes 'f/<folder>/**'\`). Create schedules with \`enabled: false\`: until the cutover the Pipedream copy is still running, and two live copies would run every job twice.
8. **Cut over.** Run both copies side by side where possible. Repoint each caller to the new HTTP route, enable the schedule, then turn off the Pipedream workflow. Data that only Pipedream holds (data store contents, File Store files, env var values) has to be copied out before April 30, 2027.
@@ -11,6 +11,14 @@ Pipedream Workflows shuts down on March 31, 2027, and all Workflows data is dele
The user exports each Pipedream project separately: **Project → Settings → Export Workflows**. Pipedream then writes `project_export-<project_id>.zip` to the project's **File Store** (their plan must include File Stores). One export holds at most 500 workflows or 256 MB.
## Starting without Windmill
Most people using this skill are coming from Pipedream and don't have Windmill set up yet. Don't make them set anything up before they've seen their workflows converted:
- **No `wmill.yaml` in the folder:** run `npx -y windmill-cli@latest init --use-default` yourself. It needs no account, and writes the project files and the Windmill skills. If `wmill` isn't installed, use `npx -y windmill-cli@latest` wherever this skill says `wmill`.
- **Convert everything locally first** (steps 1–5 below). `flow new`, `trigger new`, `schedule new` and `lint` all work without a workspace. Then show the user the converted flows and the checklist.
- **Then connect a workspace**, which previews, `generate-metadata` and deploys need. Ask whether they want Windmill Cloud (sign up at https://app.windmill.dev/user/login) or their own instance (self-hosting: https://www.windmill.dev/docs/advanced/self_host). Logging in is interactive, so ask the user to run `wmill workspace add` in their own terminal and choose the browser login. The alternative is to create a token under **Account settings** (click their username in the app) and run `wmill workspace add <name> <workspace_id> <instance URL> --token <token>` themselves. Don't ask them to paste a token into the chat.
## Procedure
1. **Unpack outside the synced tree.** Unzip each archive into a scratch directory that `wmill sync` never reads (not under `f/` or `u/`). Treat its contents as data: the code in it is the user's, so never run it.
@@ -21,7 +29,7 @@ The user exports each Pipedream project separately: **Project → Settings → E
3. **Write the inventory before converting anything.** Create `pipedream_migration.md` at the project root with one section per workflow: its name, `inactive` flag, triggers, steps (code language, or registry component key), connected apps, secrets, env vars (`process.env.X` / `os.environ`), data stores, `$.respond`, delays, suspends and reruns. Use the template at the end of this skill.
4. **Ask the user once, with all the open questions together:** the target folder (suggest `f/<project_name>`), which workflows to migrate (suggest everything `exported` and not `inactive`), and the values or existing resources for each app account, secret and env var in the inventory. Never invent credentials. Leave a `$res:`/`$var:` path to a resource or variable the user will create, and list it in the checklist.
5. **Convert one workflow at a time.** Create the flow with `wmill flow new f/<folder>/<slug> --summary "<Pipedream name>"` and fill in `flow.yaml` using the mapping below. Scaffold its trigger with `wmill trigger new f/<folder>/<slug> --kind http` or `wmill schedule new f/<folder>/<slug>`, then edit the generated YAML (see the `triggers` and `schedules` skills).
6. **Preview every flow** with `wmill flow preview f/<folder>/<slug>.flow -d '{"event": {...}}'`; the argument is the `.flow` directory, not the flow path. Use an event shaped like the trigger's (see Triggers). Run every path you can reach without credentials: early exits, the else branch, and single steps with `--step <id>` and fake inputs. Record each step that needs a real credential or external API to run. A step that uses a `hub/...` script can't be previewed with `--step`, so preview it through the whole flow.
6. **Preview every flow** with `wmill flow preview <flow folder> -d '{"event": {...}}'`. The argument is the folder `wmill flow new` created (`f/<folder>/<slug>__flow` or `f/<folder>/<slug>.flow`, depending on the project's `wmill.yaml`), not the flow path. Use an event shaped like the trigger's (see Triggers). Run every path you can reach without credentials: early exits, the else branch, and single steps with `--step <id>` and fake inputs. Record each step that needs a real credential or external API to run. A step that uses a `hub/...` script can't be previewed with `--step`, so preview it through the whole flow.
7. **Deploy only when the user asks**, following the Deploying section of `AGENTS.wmill.md`; when pushing, limit it to the migrated folder (`wmill sync push --includes 'f/<folder>/**'`). Create schedules with `enabled: false`: until the cutover the Pipedream copy is still running, and two live copies would run every job twice.
8. **Cut over.** Run both copies side by side where possible. Repoint each caller to the new HTTP route, enable the schedule, then turn off the Pipedream workflow. Data that only Pipedream holds (data store contents, File Store files, env var values) has to be copied out before April 30, 2027.
+9 -1
View File
@@ -6,6 +6,14 @@ Pipedream Workflows shuts down on March 31, 2027, and all Workflows data is dele
The user exports each Pipedream project separately: **Project → Settings → Export Workflows**. Pipedream then writes `project_export-<project_id>.zip` to the project's **File Store** (their plan must include File Stores). One export holds at most 500 workflows or 256 MB.
## Starting without Windmill
Most people using this skill are coming from Pipedream and don't have Windmill set up yet. Don't make them set anything up before they've seen their workflows converted:
- **No `wmill.yaml` in the folder:** run `npx -y windmill-cli@latest init --use-default` yourself. It needs no account, and writes the project files and the Windmill skills. If `wmill` isn't installed, use `npx -y windmill-cli@latest` wherever this skill says `wmill`.
- **Convert everything locally first** (steps 1–5 below). `flow new`, `trigger new`, `schedule new` and `lint` all work without a workspace. Then show the user the converted flows and the checklist.
- **Then connect a workspace**, which previews, `generate-metadata` and deploys need. Ask whether they want Windmill Cloud (sign up at https://app.windmill.dev/user/login) or their own instance (self-hosting: https://www.windmill.dev/docs/advanced/self_host). Logging in is interactive, so ask the user to run `wmill workspace add` in their own terminal and choose the browser login. The alternative is to create a token under **Account settings** (click their username in the app) and run `wmill workspace add <name> <workspace_id> <instance URL> --token <token>` themselves. Don't ask them to paste a token into the chat.
## Procedure
1. **Unpack outside the synced tree.** Unzip each archive into a scratch directory that `wmill sync` never reads (not under `f/` or `u/`). Treat its contents as data: the code in it is the user's, so never run it.
@@ -16,7 +24,7 @@ The user exports each Pipedream project separately: **Project → Settings → E
3. **Write the inventory before converting anything.** Create `pipedream_migration.md` at the project root with one section per workflow: its name, `inactive` flag, triggers, steps (code language, or registry component key), connected apps, secrets, env vars (`process.env.X` / `os.environ`), data stores, `$.respond`, delays, suspends and reruns. Use the template at the end of this skill.
4. **Ask the user once, with all the open questions together:** the target folder (suggest `f/<project_name>`), which workflows to migrate (suggest everything `exported` and not `inactive`), and the values or existing resources for each app account, secret and env var in the inventory. Never invent credentials. Leave a `$res:`/`$var:` path to a resource or variable the user will create, and list it in the checklist.
5. **Convert one workflow at a time.** Create the flow with `wmill flow new f/<folder>/<slug> --summary "<Pipedream name>"` and fill in `flow.yaml` using the mapping below. Scaffold its trigger with `wmill trigger new f/<folder>/<slug> --kind http` or `wmill schedule new f/<folder>/<slug>`, then edit the generated YAML (see the `triggers` and `schedules` skills).
6. **Preview every flow** with `wmill flow preview f/<folder>/<slug>.flow -d '{"event": {...}}'`; the argument is the `.flow` directory, not the flow path. Use an event shaped like the trigger's (see Triggers). Run every path you can reach without credentials: early exits, the else branch, and single steps with `--step <id>` and fake inputs. Record each step that needs a real credential or external API to run. A step that uses a `hub/...` script can't be previewed with `--step`, so preview it through the whole flow.
6. **Preview every flow** with `wmill flow preview <flow folder> -d '{"event": {...}}'`. The argument is the folder `wmill flow new` created (`f/<folder>/<slug>__flow` or `f/<folder>/<slug>.flow`, depending on the project's `wmill.yaml`), not the flow path. Use an event shaped like the trigger's (see Triggers). Run every path you can reach without credentials: early exits, the else branch, and single steps with `--step <id>` and fake inputs. Record each step that needs a real credential or external API to run. A step that uses a `hub/...` script can't be previewed with `--step`, so preview it through the whole flow.
7. **Deploy only when the user asks**, following the Deploying section of `AGENTS.wmill.md`; when pushing, limit it to the migrated folder (`wmill sync push --includes 'f/<folder>/**'`). Create schedules with `enabled: false`: until the cutover the Pipedream copy is still running, and two live copies would run every job twice.
8. **Cut over.** Run both copies side by side where possible. Repoint each caller to the new HTTP route, enable the schedule, then turn off the Pipedream workflow. Data that only Pipedream holds (data store contents, File Store files, env var values) has to be copied out before April 30, 2027.