Skip to content

Strapi

Node: strapi · Full type: n8n-nodes-base.strapi · Version: 1

Credentials

strapiApi (alias: @strapi) / strapiTokenApi (alias: @strapi)

CREDENTIAL @strapi = strapiApi "My Strapi"

Operations

Resource: entry

create

Parameter Type Default Details
contentType string "" required
columns string ""

delete

Parameter Type Default Details
contentType string "" required
entryId string "" required

get

Parameter Type Default Details
contentType string "" required
entryId string "" required

getAll

Parameter Type Default Details
contentType string "" required
returnAll boolean false
limit number 50
options collection {} keys: publicationState, sort, where

update

Parameter Type Default Details
contentType string "" required
updateKey string "id" required
columns string ""

Common Parameters

Parameter Type Default Details
authentication options "password" password, token

Parameter Details

options children:

Parameter Type Default Details
publicationState options "" live, preview
sort string ""
where string ""

Example

NODE "strapi" @strapi AS "Strapi" {
  resource: "entry",
  operation: "get",
  contentType: {{ $json.contentType }},
  entryId: {{ $json.entryId }},
  updateKey: {{ $json.updateKey }}
}