Docsify example
Triggered by a webhook. Connects Code, Condition, Convert To File, Extract From File, Html, N8N, Read Write File, Respond To Webhook. Main Docsify webhook In response, n8n serves the main html page with the Docsify JS library GET request for the workflow documentation pages POST request for saving man
Front matter
name: Docsify example
description: Triggered by a webhook. Connects Code, Condition, Convert To File, Extract From File, Html, N8N, Read Write File, Respond To Webhook. ## Main Docsify webhook In response, n8n serves the main html page with the [Docsify JS library]({{ $env.WEBHOOK_URL }} ## Single page requests * Docsify may request default pages (i.e. `readme.md` or a `summary.md`) * GET request for the workflow documentation pages * POST request for saving manually edited doc page ## EDIT THIS! * `project_path` to link to a writable directory that is accessible to n8n * update `instance_url` when running in the cloud version. If using in self-hosted mode, mak
category: Automation
kind: Workflow
software: Code|Condition|Convert To File|Extract From File|Html|N8N|Read Write File|Respond To Webhook|Shell command|Sort|Switch|WebhookDocsify example
Triggered by a webhook. Connects Code, Condition, Convert To File, Extract From File, Html, N8N, Read Write File, Respond To Webhook. ## Main Docsify webhook In response, n8n serves the main html page with the [Docsify JS library]({{ $env.WEBHOOK_URL }} ## Single page requests
- Docsify may request default pages (i.e.
readme.mdor asummary.md) - GET request for the workflow documentation pages
- POST request for saving manually edited doc page ## EDIT THIS!
project_pathto link to a writable directory that is accessible to n8n- update
instance_urlwhen running in the cloud version. If using in self-hosted mode, mak
Steps
- CONFIG (set)
- Convert to File (convertToFile)
- HasFile? (if)
- Extract from File (extractFromFile)
- Main Page (html)
- Instance overview (html)
- Sort-workflows (sort)
- doc action (switch)
- Empty Set (set)
- Load Doc File (readWriteFile)
- Respond with markdown (respondToWebhook)
- Respond with HTML (respondToWebhook)
- Save New Doc File (readWriteFile)
- Blank Doc File (set)
- Fetch Single Workflow1 (n8n)
- Fill Workflow Table (set)
- Basic LLM Chain (noOp)
- OpenAI Chat Model (noOp)
- Structured Output Parser (noOp)
- Auto-fixing Output Parser (noOp)
- Respond with main page HTML (respondToWebhook)
- Workflow Tags (html)
- No Operation, do nothing (noOp)
- Merge (merge)
- Fallback file name (html)
- mkdir (executeCommand)
- Merge1 (merge)
- Edit Page (html)
- Workflow md content (html)
- Is Action Edit?1 (if)
- Is Action Edit?2 (if)
- Generate Mermaid Chart (code)
- Merge2 (merge)
- Generated Doc (set)
- Passthrough (noOp)
- Merge3 (merge)
- Merge4 (merge)
- Merge5 (merge)
- Edit Fields (set)
- Is Action Save? (if)
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/1726_Code_Webhook_Automation_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
- Extractfromfile Workflow: Slack, Extract From File and Gmail
- Production Workflow: Notion, Condition and HTTP request
- Webhook Workflow: HTTP request, Respond To Webhook and Webhook
- Production Workflow: Function, Respond To Webhook and Webhook
- Production Workflow: Function, Google Sheets and Respond To Webhook
- Webhook Workflow: Respond To Webhook and Webhook (n8n workflow collection) (Respondtowebhook) (410)
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.