{"product_id":"n8n-workflow-sync-github-markdown-to-studiocms-pages-taxonomy","title":"n8n Workflow: Sync GitHub Markdown to StudioCMS Pages \u0026 Taxonomy","description":"\u003ch3\u003eSync GitHub Markdown to StudioCMS with taxonomy-aware automation\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n workflow\u003c\/strong\u003e manually deploys a directory of \u003cstrong\u003eMarkdown\/MDX\u003c\/strong\u003e files from \u003cstrong\u003eGitHub\u003c\/strong\u003e into \u003cstrong\u003eStudioCMS\u003c\/strong\u003e, automatically parsing frontmatter, creating missing folders\/categories\/tags, and then creating or updating pages based on \u003cstrong\u003eslug\u003c\/strong\u003e matching—optionally drafting anything missing.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eManual deployment trigger:\u003c\/strong\u003e starts when you trigger a deployment in n8n.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFind source files in GitHub:\u003c\/strong\u003e lists files from your configured GitHub repository directory and continues only when Markdown\/MDX files are present.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParse frontmatter for page fields:\u003c\/strong\u003e downloads each Markdown\/MDX file, decodes it, and parses YAML-style frontmatter to derive fields such as \u003cem\u003etitle, slug, folder, categories, tags\u003c\/em\u003e, and \u003cem\u003edraft status\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidate and detect issues:\u003c\/strong\u003e validates the collection (including \u003cstrong\u003eduplicate slug detection\u003c\/strong\u003e) and loads current StudioCMS folders, categories, tags, and existing pages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreate missing taxonomy:\u003c\/strong\u003e creates any missing StudioCMS folders, categories, and tags required by valid Markdown documents, then refreshes the taxonomy lists.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApply page changes by slug:\u003c\/strong\u003e compares each document to existing StudioCMS pages by \u003cstrong\u003eslug\u003c\/strong\u003e to plan and apply \u003cstrong\u003ecreates, updates, or skips\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptional draft behavior:\u003c\/strong\u003e when configured, missing managed pages can be marked as \u003cstrong\u003edrafts\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeployment report:\u003c\/strong\u003e outputs a summary of \u003cem\u003ecreated\u003c\/em\u003e, \u003cem\u003eupdated\u003c\/em\u003e, \u003cem\u003edrafted\u003c\/em\u003e, \u003cem\u003eskipped\u003c\/em\u003e, and \u003cem\u003eerrored\u003c\/em\u003e items.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eKeep StudioCMS content in sync with a GitHub-based documentation or site content repo (Markdown\/MDX + frontmatter).\u003c\/li\u003e\n  \u003cli\u003eAutomatically maintain taxonomy (folders, categories, tags) as your documentation grows.\u003c\/li\u003e\n  \u003cli\u003eUpdate live StudioCMS pages safely using slug-based comparisons, with optional draft handling for removed content.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGitHub integration:\u003c\/strong\u003e uses GitHub nodes to list repository directory files and fetch each Markdown\/MDX file.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStudioCMS integration:\u003c\/strong\u003e uses StudioCMS API credentials in nodes that read\/write folders, categories, tags, and pages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow building blocks:\u003c\/strong\u003e \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eno op\u003c\/code\u003e, \u003ccode\u003egithub\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, and \u003ccode\u003esticky note\u003c\/code\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIdeal for n8n users, automation engineers, and SaaS operators who want reliable \u003cstrong\u003eGitHub → StudioCMS\u003c\/strong\u003e content sync with taxonomy awareness and slug-based page management.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45974303080627,"sku":"N8N-19306","price":47.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/YNAnsdvVMzvRtzvFPC0cb_ZhhFg54w.png?v=1788771885","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-sync-github-markdown-to-studiocms-pages-taxonomy","provider":"N8N Commerce","version":"1.0","type":"link"}