Backup Squarespace code Injections to Github

Go to Workflow
315 views
Built by bangank36 bangank36
Created on June 05, 2026

Description

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 configure the Github, update the Globals node with the following values:

repo.owner – Your GitHub username
repo.name – The name of your GitHub repository storing the workflows
repo.path – The folder path within the repository where workflows are stored
For example, if your GitHub username is john-doe, your repository is named n8n-backups, and injections are stored in a squarespace-backup/ folder, you would set:

repo.owner → john-doe
repo.name → n8n-backups
repo.path → squarespace-backup/

Each site's injections will be added into seperate folder

Required Credentials
GitHub API – Access to your repository

Who Is This For?
This template is made for Squarespace users who want to backup their header and footer injections at interval to or on demand

Check out my other templates:
👉 My n8n Templates

Nodes Used (3)

Code
n8n-nodes-base.code
GitHub
n8n-nodes-base.github
HTTP Request
n8n-nodes-base.httpRequest