Loading...
Loading...
Install the Zapier SDK CLI for Zapier Workflows Early Access and bootstrap the workflows companion skills. Use when the user wants to set up Zapier Workflows, get started building durable workflows, install workflow skills, or configure the Zapier SDK CLI.
npx skill4agent add zapier/agent-skills workflows-install@zapier/zapier-sdk-code-substrateflowchart TD
probe["1. Probe environment"] --> envOk{"Node 18+, npm, git OK?"}
envOk -->|no| stopEnv["STOP: tell user what to install"]
envOk -->|yes| installCli["2. Install or update SDK CLI"]
installCli --> verifyExperimental["3. Verify experimental commands"]
verifyExperimental --> commandsOk{"Code Workflows commands visible?"}
commandsOk -->|no| stopCli["STOP: diagnose SDK CLI install"]
commandsOk -->|yes| checkAuth["4. Check Zapier auth"]
checkAuth --> authOk{"JSON has data and no errors?"}
authOk -->|no| login["4b. Ask user to run interactive login"]
login --> checkAuth
authOk -->|yes| checkAccess["5. Check Zapier Workflows EA access"]
checkAccess --> accessOk{"Read-only workflow list succeeds?"}
accessOk -->|no| stopAccess["STOP: closed beta access required"]
accessOk -->|yes| installSkills["6. Bootstrap companion skills"]
installSkills --> report["7. Report success and next steps"]@zapier/zapier-sdk-cli@latestzapier-sdkzapier-sdk-clizapier-sdk-experimentalskillsworkflows/doctorworkflows/createworkflows/listworkflows/historyworkflows/modify@zapier/zapier-sdk-code-substrate@zapier/zapier-durablenode --version
npm --version
git --versionv18.0.0 # or higher
10.x.x # npm version; any current version is fine
git version 2.x.x| Tool | Minimum version | Install if missing |
|---|---|---|
| Node | 18 | |
| npm | any current version | bundled with Node |
| git | any | usually preinstalled on macOS; otherwise |
nodejs.orgbrew install nodenode --versionnpm --versiongit --versionwhich zapier-sdk
zapier-sdk --version
npm view @zapier/zapier-sdk-cli versionzapier-sdknpm install -g @zapier/zapier-sdk-cli@latestzapier-sdkzapier-sdk --versionnpm view @zapier/zapier-sdk-cli versionnpm install -g @zapier/zapier-sdk-cli@latestzapier-sdk --version
npm view @zapier/zapier-sdk-cli version@zapier/zapier-sdk-cliwhich zapier-sdk
zapier-sdk --versionsudo npm install -gzapier-sdk --experimental --help
zapier-sdk --experimental create-workflow --help
zapier-sdk --experimental publish-workflow-version --help
zapier-sdk --experimental run-durable --help
zapier-sdk --experimental list-triggers --help
zapier-sdk --experimental get-workflow-run --help
zapier-sdk --experimental trigger-workflow --help
zapier-sdk --experimental list-workflow-drafts --help
zapier-sdk --experimental publish-workflow-draft --helpcreate-workflow
list-workflows
run-durable
publish-workflow-version
list-workflow-runs
get-workflow-run
list-workflow-drafts
create-workflow-draft
get-workflow-draft
update-workflow-draft
publish-workflow-draft
discard-workflow-draftcreate-workflow --help--privatepublish-workflow-version --help--connections--app-versions--triggerupdate-workflow-draft --help--draft-revisionpublish-workflow-draft --help--draft-revision--enabledrun-durable --help--connections--privatelist-triggers --helpget-workflow-run --helptrigger-workflow --help--inputzapier-sdk-experimental --help@zapier/zapier-sdk-code-substratezapier-sdknpm install -g @zapier/zapier-sdk-cli@latest
zapier-sdk --experimental --help
zapier-sdk --experimental publish-workflow-version --helpzapier-sdk get-profile --jsondataerrors{
"data": {
"email": "user@example.com"
},
"errors": []
}dataerrorszapier-sdk loginnpx zapier-sdk loginzapier-sdk loginzapier-sdk get-profile --jsonzapier-sdk loginZAPIER_CREDENTIALSzapier-sdk --experimental list-workflows --jsonerrorsNone of the security schemes (userJwt) successfully authenticated this requestallowlistnot allowlistednot whitelistedforbiddenpermissionunauthorizedaccess deniedYou're logged in to Zapier as <email>, and the Zapier SDK CLI is installed, but this account does not currently have Zapier Workflows EA access.
Zapier Workflows is currently only available to members of our closed beta.
To request access, fill out the beta sign-up form:
https://next-gen-zaps.zapier.app/
Submitting the form does not grant access immediately. The Zapier team will review your request and let you know once access has been granted.
After your account is allowlisted, rerun the workflows-install skill in this workspace. Reinstalling Node, npm, git, or the SDK CLI will not fix this access check.zapier-sdk get-profile --json<email>skills.shnpxskillszapier/agent-skillsnpx skills add zapier/agent-skills --skill workflows-doctor --yes
npx skills add zapier/agent-skills --skill workflows-create --yes
npx skills add zapier/agent-skills --skill workflows-list --yes
npx skills add zapier/agent-skills --skill workflows-history --yes
npx skills add zapier/agent-skills --skill workflows-modify --yesnpx skills list --jsonworkflows-doctorworkflows-createworkflows-listworkflows-historyworkflows-modifynpx skills add ...skillsworkflows-installworkflows-doctornpx skills update --projectwhich zapier-sdkzapier-sdk get-profile --jsonworkflows/doctorworkflows/createworkflows/listworkflows/historyworkflows/modify| Symptom | Likely cause | Fix |
|---|---|---|
| Old Node | |
| Global npm prefix is not user-writable | Use nvm or Homebrew Node; avoid |
| Old CLI or wrong package installed | Install |
| User has not authenticated the CLI | Run |
| The Zapier account is authenticated but does not have Zapier Workflows EA access | Stop before installing companion skills. Tell the user Zapier Workflows is currently only available to members of our closed beta, include the authenticated email, and ask them to rerun |
| No default browser configured, or remote/SSH session | Try |
| | Ask the user to run it manually in an actual terminal |
| Public skill source is unavailable, the skill has not been published yet, or network access failed | Confirm the |
| Skills do not auto-invoke after install | Agent workspace has not reloaded the skills directory | Reload workspace or restart your agent |