n8n

How to Automate Scaleway Server Inventory?

Get a live view of all your cloud servers in one place. Request server data on demand, filter by name, tags, public IP, or zone, and receive clean JSON back for your team or app. Ideal for IT and DevOps teams that need a quick way to answer where a server is, who owns it, and what state it is in.

A secure webhook receives a POST request with simple search fields. The flow reads your Scaleway zones, calls the Scaleway APIs for instances and baremetal, and loops through each zone. A code step normalizes every record into the same shape with name, tags, public_ip, type, state, zone, and user. A switch then routes the data to four filter paths, one for tags, one for name, one for public IP, and one for zone. If the filter is not valid, the webhook returns a clear error message.

Setup is simple. Add a Scaleway API token and set the zone lists. Protect the webhook with basic authentication. Expect faster audits and fewer manual checks in the Scaleway console. Use it for asset inventory, service desk lookups, on call support, and reporting. Send a POST with search_by and search when you need a filtered list, or pass no filter to list all servers in scope.

What are the key features?

  • Secure webhook with basic authentication to receive POST requests
  • Zone splitting and batch loops to process each Scaleway zone separately
  • HTTP requests to Scaleway APIs for instances and baremetal with token headers
  • Conditional routing to call the baremetal API only when a zone supports it
  • Data aggregation and normalization in code to return consistent fields
  • Switch based filtering for tags, name, public_ip, and zone
  • Clear error response when a filter type is not supported
  • Immediate JSON reply through respond to webhook nodes

What are the benefits?

  • Reduce manual console checks from 60 minutes to 5 minutes per request
  • Streamline server inventory lookups by 80 percent with one endpoint
  • Improve data accuracy by removing copy paste errors from manual exports
  • Unify instance and baremetal data into one consistent JSON output
  • Handle many zones without extra effort using automated loops

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Scaleway. See the Tools Required section above for links to create accounts with these services.
  3. Open the Webhook node. Set Authentication to Basic Auth. Click the credential dropdown, choose Create new credential, set a username and password, and save.
  4. Open the Edit Fields node. Paste your Scaleway API token into the Scaleway X Auth Token field. Store tokens in n8n credentials when possible and reference them in fields.
  5. In the Edit Fields node, set ZONE_INSTANCE and ZONE_BAREMETAL with the zones you use. Use comma separated values to list multiple zones.
  6. Click the Webhook node and copy the Production URL. Keep this URL private since it is protected by Basic Auth.
  7. Test the endpoint with a POST request. Send JSON like { "search_by": "tags", "search": "Apiv1" } to the webhook URL. You should receive a JSON array of servers.
  8. Try other filters by changing search_by to name, public_ip, or zone. If you send an invalid filter, the endpoint will return a clear error message.
  9. If you get empty results, check your zones and confirm the token has the right permissions in your Scaleway console.
  10. Enable the workflow. Share the webhook URL with internal tools or scripts that need quick server lookups.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Scaleway

Sign up

STARDUST1-S (Learning): €0.00015/hour instance-only (~€0.10 / mo); typical total with IPv4 + 10GB storage €0.0025/hour (~€1.83 / mo), excl. tax

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.