Unable to configure Contentful node to get entry by entryID

Describe the problem/error/question

The issue is that I am attempting to configure the Contentful node to get an entry by the entryID that I am passing dynamically. I keep getting an error about additionalFields that are expected by n8n but the UI gives me no way to configure these fields when fetching a single entry.

What is the error message (if any)?

Error: Could not get parameter { “parameterName”: “additionalFields” }

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts {
  "meta": {
    "instanceId": "ec0752fd38aeed259dac9432303e5ace51093521a219ce863ca88d68e6666724"
  },
  "nodes": [
    {
      "parameters": {
        "entryId": "={{ $json.entryId }}"
      },
      "id": "1543936d-cf3a-4644-b6fb-11376d941049",
      "name": "Contentful",
      "type": "n8n-nodes-base.contentful",
      "typeVersion": 1,
      "position": [
        1060,
        280
      ],
      "credentials": {
        "contentfulApi": {
          "id": "TlkP3wWKNI0c7ZJ9",
          "name": "Contentful account"
        }
      }
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "/contentful-webhook/:secret",
        "options": {
          "rawBody": false
        }
      },
      "id": "df5d9bb1-1962-4ad1-a9cc-5057a60c12b4",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        520,
        280
      ],
      "webhookId": "a98d21ea-d338-4a62-8159-224ee4338398"
    },
    {
      "parameters": {
        "jsCode": "function processWebhook(items) {\n  console.log('Received items:', JSON.stringify(items, null, 2));\n\n  const expectedSecret = \"tribz-challenge\";\n  const receivedSecret = items[0].json.params.secret;\n\n  console.log('Received secret:', receivedSecret);\n\n  if (receivedSecret !== expectedSecret) {\n    throw new Error('Invalid secret');\n  }\n\n  // Process Contentful data from headers\n  const headers = items[0].json.headers;\n  const contentfulTopic = headers['x-contentful-topic'];\n  const contentfulCRN = headers['x-contentful-crn'];\n\n  console.log('Contentful Topic:', contentfulTopic);\n  console.log('Contentful CRN:', contentfulCRN);\n\n  // Extract entry ID from CRN\n  const entryId = contentfulCRN.split('/').pop();\n\n  // You can add more processing here based on the Contentful topic and entry ID\n\n  return [\n  {\n    json: {\n      entryId: entryId,\n      contentfulTopic: contentfulTopic\n    }\n  }\n];\n}\n\nreturn processWebhook($input.all());"
      },
      "id": "0476f3a2-a3f3-4a6d-a263-5b99dd1bc415",
      "name": "Test_Code_Node",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        800,
        280
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Test_Code_Node",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Test_Code_Node": {
      "main": [
        [
          {
            "node": "Contentful",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {}
}

Share the output returned by the last node

[
{
“entryId”: “75O9DP00cTVR1ndaTwc3uv”,
“contentfulTopic”: “ContentManagement.Entry.create”
}
]

Information on your n8n setup

-version: 1.56.2
-operating system: MacOS - 14.6.1 (23G93)

-I am currently within the trial period. I am using n8n cloud.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

-version: 1.56.2
-database: default
-operating system: MacOS - 14.6.1 (23G93)
-Running: n8n clould
-n8n EXECUTIONS_PROCESS: default