Templates / Backup Squarespace code injections to Github

Backup Squarespace code injections to Github

Ready for 3.0

by bangank36 ✓ · 406 views · created 2025-03-09 · DevOps

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-10-19.

What this workflow does

This workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects GitHub. It also calls beyondspace.studio over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get Squarespace data (HTTP Request): calls beyondspace.studio
  2. Get Header Injection (Edit Fields (Set)): sets 5 fields: value, id, name…
  3. Get Footer Injection (Edit Fields (Set)): sets 5 fields: value, id, name…
  4. Clean up Headers (Code): runs custom JavaScript code
  5. Clean up Footers (Code): runs custom JavaScript code
  6. Merge: merges the data from its input branches
  7. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  8. Globals (Edit Fields (Set)): sets 3 fields: repo.owner, repo.name, repo.path
  9. Edit Injection data (GitHub): edit (file)
  10. If: checks a condition and branches into true / false

…plus 1 more step. See the full node list below.

Services it uses

GitHub

HTTP calls to: beyondspace.studio

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.

Nodes used (9)

From the author

This workflow backup Squarespace website header and footer injections into Github How It Works The Squarespace injections are fetched when an URL is placed Setup Instructions First, edit HTTP Request's URL to put your Squarespace site URL there Next, to…

Excerpt from bangank36'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.