Skip to main content

Get Scaleway server info with dynamic filtering

Workflow preview

Workflow preview
100%
Get Scaleway server info with dynamic filtering preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Get Scaleway Server Info with Dynamic Filtering Description This workflow is designed for developers, system administrators, and DevOps engineers who need to retrieve and filter Scaleway server inf...

Best for

  • DevOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.switch, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Pablo.

Original n8n.io source

1.1 Workflow description

Title
Get Scaleway server info with dynamic filtering
Workflow name
Get Scaleway server info with dynamic filtering

Get Scaleway Server Info with Dynamic Filtering

Description

This workflow is designed for developers, system administrators, and DevOps engineers who need to retrieve and filter Scaleway server information quickly and efficiently. It gathers data from Scaleway instances and baremetal servers across multiple zones and is ideal for:

  • Quickly identifying servers by tags, names, public IPs, or zones.
  • Automating server status checks in production, staging, or test environments.
  • Integrating Scaleway data into broader monitoring or inventory systems.

High-Level Steps

  • Webhook Trigger: Receives an HTTP POST request (with basic authentication) containing the search criteria (search_by and search).

  • Server Data Collection: Fetches server data from Scaleway’s API endpoints for both instances and baremetal servers across defined zones.

  • Data Processing: Aggregates and normalizes the fetched data using a Code node with helper functions.

  • Dynamic Filtering: Routes data to dedicated filtering routines (by tags, name, public_ip, or zone) based on the input criteria.

  • Response: Returns the filtered data (or an error message) via a webhook response.

Set Up Steps

  1. Insert Your Scaleway Token: In the “Edit Fields” node, replace the placeholder Your personal Scaleway X Auth Token with your Scaleway API token.

  2. Configure Zones: Review or update the zone lists (ZONE_INSTANCE and ZONE_BAREMETAL) to suit your environment.

  3. Send a Request: Make a POST request to the workflow’s webhook endpoint with a JSON payload, for example:

    {
      "search_by": "tags",
      "search": "Apiv1"
    }
    
  4. View the Results: The workflow returns a JSON array of servers matching your criteria, including details like name, tags, public IP, type, state, zone, and user.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 4 - Code search Tags

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Code search Name

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Code search public_ip

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Code search zone

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 9 - Respond Error

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 10 - Respond to Webhook1

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 11 - Respond to Webhook2

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 12 - Respond to Webhook3

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 13 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Get Scalway Machines

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 18 - Respond to Webhook4

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 19 - Get scw instance by zone

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Loop Over Zone Instance

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 21 - Get scw baremetal by zone

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Split Out ZONE_INSTANCE

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 23 - If ZONE_BAREMETAL in ZONE_INSTANCE

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 24 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Get Scaleway server info with dynamic filtering
Complexity advanced
Nodes 24
Categories DevOps
Author Pablo
Published 16 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3571/3571.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Get Scaleway server info with dynamic filtering do?

Get Scaleway Server Info with Dynamic Filtering Description This workflow is designed for developers, system administrators, and DevOps engineers who need to retrieve and filter Scaleway server inf...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.