Package Information
Available Nodes
Documentation generating…
Documentation
Shtab for n8n
Shtab is a collaboration platform for managing tasks and projects. The @shtabapp/n8n-nodes-shtab package adds two nodes to self-hosted n8n. Use Shtab to read projects and manage tasks. Use Shtab Trigger to start workflows when a team receives a signed webhook event. Shtab website · SDK docs
Install Shtab
Self-hosted n8n
An n8n instance owner or admin can install the npm package from the n8n interface.
- Open Settings → Community Nodes → Install.
- Enter
@shtabapp/n8n-nodes-shtabin Enter npm package name. - Acknowledge the risks of installing unverified code and select Install.
See the n8n GUI installation guide.
To install manually, run these commands as the user running n8n.
mkdir -p ~/.n8n/nodes
cd ~/.n8n/nodes
npm install @shtabapp/n8n-nodes-shtab
If you already have a package tarball, pass its path to npm install. Restart n8n after installation. n8n manual installation guide · Package on npm
Credentials
Create a Shtab API credential. Set Base URL to your Shtab API origin (the cloud default is https://my.shtab.app) and Access Token to a personal or team token. Specify the team ID on each node. Grant only the scopes required for your workflow.
| Resource | Operation | Scope |
|---|---|---|
| Project | Get Many | datasources:read |
| Task | Get, Get Many, Get Labels | tasks:read |
| Task | Create, Update, Add Label, Replace Labels, Remove Label | tasks:write |
| Shtab Trigger | Subscribe to events | webhooks:read and webhooks:write |
Example workflows
Find tasks in a project. Connect Manual Trigger → Shtab. Select Task → Get Many, enter the team ID, add a project ID filter and run the workflow. To look up a project ID, use Project → Get Many. Each result becomes a separate n8n item. Use Limit to cap the number of results or enable Return All to fetch all pages.
Create a task. Select Task → Create and provide the team ID, task name, project ID and task type ID. The output contains the created task. Map its ID to Task → Update to change fields in a later step.
Add a label. Select Task → Add Label and enter the team, task and label IDs. The task keeps its status and its other labels. Use Remove Label to detach one label or Replace Labels to set the full list. Enter [] in Replace Labels to clear it.
Notify a channel about new tasks. Connect Shtab Trigger to a messaging node, select Task Created and activate the workflow. Configure n8n with a public HTTPS webhook URL reachable from Shtab. The trigger registers a subscription for the selected events across the team's projects, checks the delivery signature and timestamp, and emits one item per event. Use event_id to deduplicate events in downstream systems. Deactivating the workflow removes its subscription. When rotating credentials, deactivate the workflow first, update the token, then reactivate it.
See the Shtab API reference and webhook delivery contract.
Local development and tests
With Node.js 24, run the following commands in this directory to test node operations and webhook delivery.
npm ci --ignore-scripts
npm test
Run npm run dev to start the n8n node development server. To build a tarball for a self-hosted instance, run npm pack after installing dependencies and copy the resulting .tgz to the instance.
Release from GitLab for self-hosted n8n
Create a protected npm-n8n-vX.Y.Z tag that matches the version in package.json. Check the tarball from pack:npm:release, then run the manual publish:npm job. The job uses the portal's NPM_TOKEN in the npm/publish environment and publishes the tarball under latest. Verify the published version with npm view @shtabapp/n8n-nodes-shtab@latest version.
Release from GitHub for the n8n catalog
Choose an unpublished version for the release with npm provenance. npm reserves a package version after its first publication. npm registry version policy
Use this package directory as the root of a public GitHub repository, including .github/workflows/publish.yml and the test fixtures. Set repository.url in package.json to the new repository's git+https://github.com/OWNER/REPO.git URL and remove repository.directory. The workflow checks this metadata before building for npm provenance.
Run Publish to npm manually in GitHub Actions to check the package. Push a stable version tag matching package.json, such as v0.1.1, to stage its tarball on npm with provenance. The workflow uses Node.js 24 and requires npm 11.15 or newer for staged publishing. The npm maintainer approves the staged version with 2FA on npmjs.com or with npm stage approve <stage-id>. npm staged publishing · n8n publishing requirements
If this is the first publication of the package, use an npm granular token with stage-only write access to the @shtabapp package scope as the NPM_BOOTSTRAP_TOKEN Actions secret. Once the package exists on npm, configure its trusted publisher with the GitHub owner, repository name and workflow filename publish.yml. Leave the environment field empty and allow staged publishing. If you used a bootstrap token, revoke it and remove the Actions secret to use OIDC for subsequent releases. npm access tokens · npm trusted publishing
Before submission to n8n, check the package with npx @n8n/scan-community-package . locally. After the npm maintainer approves the staged release, verify that the version's npm provenance links to the expected workflow and commit. Run npx @n8n/scan-community-package @shtabapp/n8n-nodes-shtab to include the provenance and attested-source checks. The credential class has a local linter exception because the public Shtab API requires team or resource identifiers and operation scopes. The official scanner currently flags the missing credential test. Resolve this check before submission. npm provenance · n8n verification guidelines
