Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

Backup Squarespace code Injections to Github

When you run it, it automates developer work using GitHub.

What it does

## Backup to GitHub This workflow will backup Squarespace header & footer Injections to Github ### Setup 👉 Edit the Squarespace node to place the website URL there 👉 Open Globals node and update the values below 👇 - repo.owner: your Github username - repo.name: the name of your repository - repo.path: the folder to use within the repository. If your username was john-doe and your repository was called n8n-backups and you wanted the injections to go into 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

The steps

  1. On clicking 'execute'
  2. Loop Over Items
  3. Schedule Trigger
  4. Get Squarespace data
  5. If Node
  6. Clean up Footers
  7. Clean up Headers
  8. Get Footer Injection
  9. Get Header Injection
  10. Edit Injection data
  11. Create Injection data
  12. Globals
  13. Merge Injections

Similar automations