Install
Manage Strapi entries, single types, media, users, roles, and authentication, and start a workflow on a Strapi webhook event. Use it to read and write the content of a headless CMS.
- Open System, then Nodes.
- Find Strapi and click Install.
- Use the new nodes at once. You do not restart.
How it works
Strapi Trigger (trigger.strapi) is a trigger node in the Strapi package (@zerodot/strapi): Start the workflow when an entry or a file changes in Strapi.
Starts a run on a webhook event from Strapi. Events:
- Entry: created, updated, deleted, published, unpublished (published and unpublished need Draft & Publish)
- Media: created, updated, deleted
- Review workflows: entry stage changed (Enterprise)
- Releases: published (Growth and Enterprise)
The output has event, createdAt, model, uid, data (the entry, the file, the entity, or the release), workflow, and isPublished. Use Content Types to keep only some content types for entry events.
Setup:
- Strapi has no public API to make a webhook. In the Strapi admin panel, go to Settings > Webhooks and make a webhook with the address of the trigger. Select the same events as in the trigger.
- In the webhook, add a header. Use the name and a secret value. For example:
AuthorizationandBearer a-long-random-text. - Put the same name in Webhook Header Name and the same value in Webhook Header Value of the credential. The default name is
authorization.
The trigger compares the header value in constant time. It refuses a request that has no header or a wrong value. Without the value in the credential, the trigger refuses all requests. Test listening is not available: publish the workflow to get events.
Logins it can use
Strapi API token (strapi.apiToken): url (the address of the server, without /api), apiToken from Settings > API Tokens, and version (Strapi 5 or Strapi 4). The Test button reads the user count. A token that cannot read users also passes: Strapi answers 403 for a good token and 401 for a bad one.
Strapi user login (strapi.password): url, identifier (email or user name), password, and version. The node logs in with POST /api/auth/local one time in each run and uses the JWT. The Test button logs in and reads the current user. Use a user of the Users & Permissions plugin. The permissions of its role limit what the node can do.
Both credentials have the optional webhookHeader and webhookSecret for the trigger. The token, the password, and the webhook value are secret.
Guides and related hubs
Configure webhook URLs, schedules, and polling triggers.
All CMS nodesAutomate content publishing and updates across Ghost, WordPress, Contentful, Strapi, and headless CMS platforms.
Use credentialsAES-256-GCM encrypted API keys and OAuth2 connections.
Compare alternativesCompare zerodot with n8n, Zapier, Windmill, and Activepieces.