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...
🔌 Nodes & Integrations Used (1)
📖 Implementation & Setup Guide
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
- **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: ```json { "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.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Get Scaleway server info with dynamic filtering.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related General Automation Workflows
View All in General Automation →Generate Application Copy
Production-ready n8n automation template for Generate Application Copy built by AhiXLight. Seamlessly connects Execute Workflow Trigger, OpenAI with 4 configured nodes.
2-way sync Google Contacts and Notion
Sync your Google Contacts with your Notion database. You can filter contacts by label or sync all contacts. All contact information is kept in sync between G...
2D Image to 3D Model Automation
Production-ready n8n automation template for 2D Image to 3D Model Automation built by AhiXLight. Seamlessly connects HTTP Request, Google Sheets, Google Drive with 17 configured nodes.
2 way sync assignments completion between Canvas LMS and Notion
Syncs assignments and completion states to and fro between Canvas LMS and a Notion database. Automatically triggers every 2 hours during the schoolday by def...