Retrieve Data from Cockpit CMS Collections - n8n Workflow

Use this n8n workflow to automatically retrieve entries from specific Cockpit CMS collections. A simple n8n node template for quick data extraction and synchronization.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Developers and technical users who rely on Cockpit CMS as a headless content source.

  • Users seeking pre-built n8n templates for data extraction or backup processes.

  • Automation specialists who need a reliable n8n workflow foundation for integrating Cockpit data with other services.

  • Anyone learning how to set up API interactions using a manual n8n trigger.

Overview

This n8n workflow provides a streamlined method for interacting with your Cockpit Headless CMS instance. Data retrieval is a fundamental step in many automation tasks, whether for generating reports, synchronizing content across platforms, or feeding data into other databases.

By leveraging the dedicated Cockpit n8n node, this n8n template simplifies the complexity of API calls into a single, configurable step. This specific n8n workflow uses a manual n8n trigger, making it ideal for testing and controlled executions. If you need to regularly pull content from a collection—like the configured 'samplecollection'—this n8n workflow ensures reliable, automated data extraction.

How it Works

This automation is a straightforward two-step n8n workflow designed for immediate data extraction upon execution.


  1. Starting the n8n workflow: The process begins with the "On clicking 'execute'" manual n8n trigger. This is a common starting point for developing and debugging n8n templates, allowing for full control over when the n8n workflow runs.

  2. Connecting to Cockpit: Once triggered, the flow moves directly to the Cockpit n8n node.

  3. Data Retrieval: Using the stored Cockpit API credential, the n8n node connects to the Cockpit instance. It then executes a request specifically targeting the defined collection, in this case, 'samplecollection'.

  4. Output: The n8n workflow retrieves all entries found within that collection, formatting the results as JSON output, ready for subsequent n8n nodes for filtering, transformation, or further use.

Installation Guide

To deploy and use this n8n workflow template, follow these steps:


  1. Import: Copy the provided JSON code and import it directly into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. Setup Cockpit Credentials: Before running the Cockpit n8n node, you must configure the credentials. Click on the Cockpit n8n node, select 'Cockpit API' under Credentials, and click 'Create New'. You will need to provide your Cockpit base URL and the necessary API key.

  3. Configuration Check: Verify the Cockpit n8n node parameters. Ensure the 'Collection' name matches the collection you intend to query in your Cockpit instance (it is currently set to samplecollection).

  4. Execute: Since this n8n workflow uses a manual n8n trigger, click 'Execute n8n workflow' in the interface to run the automation and test the data retrieval.

Node Details

On clicking 'execute' (Manual Trigger)
Function: Acts as the starting point (the n8n trigger) for this n8n workflow, allowing manual execution via the editor interface. Essential for testing and single-run tasks.
Key Configuration: None (Standard manual n8n trigger setting).

Cockpit (Cockpit Node)
Function: Handles the connection and interaction with the Cockpit Headless CMS. This n8n node is responsible for fetching entries.
Key Configuration:
Resource: Collection
Operation: Get All
Collection: samplecollection (This must be changed to match your target Cockpit collection name).
Credentials: Requires a secure Cockpit API Key setup in n8n.

Related n8n Workflows

Free

Nodes: 2 Nodes
Updated: December 26 2025
View all
Created by
amudhan
amudhan

Featured*