Templates / Log daily new Spanish companies to Google Sheets or CSV with BORME API

Log daily new Spanish companies to Google Sheets or CSV with BORME API

Ready for 3.0

by BORME API · 1 views · created 2026-11-11 · Market Research

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 24 nodes and runs on a schedule (cron 30 7 * * 2-6). Along the way it connects Google Sheets and Slack. It also calls api.bormeapi.com over HTTP.

How it runs

Trigger: On a schedule (cron 30 7 * * 2-6).

  1. Settings (Edit Fields (Set)): sets 19 fields: borme_date, provinces, legal_forms…
  2. Read the sheet (Google Sheets): uses Google Sheets
  3. Collect known companies (Code): runs custom JavaScript code
  4. Get new incorporations (HTTP Request): calls api.bormeapi.com (GET)
  5. Did the API answer? (If): checks a condition and branches into true / false
  6. Describe the API error (Code): runs custom JavaScript code
  7. Apply your filters (Code): runs custom JavaScript code
  8. Send to (Switch): routes items into 2 branches
  9. Mark the run as failed (Stop and Error): stops the run with an error
  10. Skip companies already in the sheet (Code): runs custom JavaScript code

…plus 13 more steps. See the full node list below.

Services it uses

Google SheetsSlack

HTTP calls to: api.bormeapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (14)

From the author

Quick overview This workflow runs Tuesday to Saturday at 07:30 (Europe/Madrid), fetches the previous day’s Spanish company incorporation events from the BORME API, and writes one row per event to Google Sheets (with optional CSV export on self-hosted n8n).…

Excerpt from BORME API's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.