Skip to content

Contentful

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

Credentials

contentfulApi (alias: @contentful)

CREDENTIAL @contentful = contentfulApi "My Contentful"

Operations

Resource: asset

get

Parameter Type Default Details
environmentId string "master"
assetId string "" required

getAll

Parameter Type Default Details
environmentId string "master"
returnAll boolean false
limit number 100
additionalFields collection {} keys: equal, exclude, exist, select, include, notEqual, ...

Resource: contentType

get

Parameter Type Default Details
environmentId string "master"
contentTypeId string "" required
additionalFields collection {} keys: rawData

Resource: entry

get

Parameter Type Default Details
environmentId string "master"
entryId string "" required
additionalFields collection {} keys: rawData

getAll

Parameter Type Default Details
environmentId string "master"
returnAll boolean false
limit number 100
additionalFields collection {} keys: content_type, equal, exclude, exist, select, include, ...

Resource: locale

getAll

Parameter Type Default Details
environmentId string "master"
returnAll boolean false
limit number 100

Resource: space

get

No additional parameters.

Common Parameters

Parameter Type Default Details
source options "deliveryApi" deliveryApi, previewApi

Parameter Details

additionalFields children:

Parameter Type Default Details
rawData boolean false

Example

NODE "contentful" @contentful AS "Contentful" {
  resource: "asset",
  operation: "get",
  contentTypeId: {{ $json.contentTypeId }},
  entryId: {{ $json.entryId }},
  assetId: {{ $json.assetId }}
}