Backup Squarespace code Injections to Github
Triggered on a schedule. Connects Code, Condition, GitHub, HTTP request, Loop, Schedule. 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 u
Front matter
name: Backup Squarespace code Injections to Github
description: Triggered on a schedule. Connects Code, Condition, GitHub, HTTP request, Loop, Schedule. ## 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-ba
category: Automation
kind: Workflow
software: Code|Condition|GitHub|HTTP request|Loop|ScheduleBackup Squarespace code Injections to Github
Triggered on a schedule. Connects Code, Condition, GitHub, HTTP request, Loop, Schedule. ## 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-ba
Steps
- On clicking 'execute' (manualTrigger)
- Loop Over Items (splitInBatches)
- Schedule Trigger (scheduleTrigger)
- Sticky Note1 (stickyNote)
- Sticky Note2 (stickyNote)
- Get Squarespace data (httpRequest)
- Sticky Note4 (stickyNote)
- If Node (if)
- Clean up Footers (code)
- Clean up Headers (code)
- Get Footer Injection (set)
- Get Header Injection (set)
- Edit Injection data (github)
- Create Injection data (github)
- Globals (set)
- Sticky Note (stickyNote)
- Merge Injections (merge)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/1844_Code_Schedule_Export_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Manualtrigger Workflow: GitHub, Code and Condition
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (481)
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (493)
- Backup workflows to git repository on Gitea
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (434)
- Restore your credentials from GitHub
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.