Use this robust n8n workflow to automatically publish generated HTML content as a GitHub Gist and retrieve a direct, previewable URL using the htmlpreview service. Perfect for report sharing.
Download this n8n workflow template and start using it instantly.
This specialized n8n workflow solves the common problem of sharing dynamic HTML content generated during an automation run. Instead of requiring access to a dedicated web server, this solution leverages GitHub Gist as a secure, temporary storage location. By using the When Executed by Another Workflow n8n trigger, this component acts as a highly effective utility. When executed, it receives raw HTML content, calls the GitHub API to create a new Gist (effectively hosting the file), and then uses the file's raw URL combined with the htmlpreview.github.io service to generate a live, rendered preview URL. This reusable n8n node combination is ideal for simplifying report distribution and integrating seamlessly into larger n8n automation pipelines. The efficiency of this n8n workflow makes distributing complex, generated data straightforward.
This powerful n8n workflow operates as a callable sub-routine, designed to be executed by a parent workflow.
When Executed by Another Workflow n8n trigger, which listens for incoming execution calls and expects the raw HTML content to be passed in via a variable named html.html data to populate the content of a file named report.html within the new, private Gist. Authentication is managed via a dedicated GitHub API credential.raw_url of the newly created file and strategically prepends the URL with https://htmlpreview.github.io/? to create a direct link that automatically renders the HTML content, providing a polished preview URL.To install and utilize this n8n template, follow these steps:
gist scope permissions.html when executing this sub-workflow.html, which carries the raw HTML document content.https://api.github.com/gists, and defining the JSON body to include the input HTML data within a file named report.html. It uses generic HTTP authentication.URL. The value uses an expression to combine the static URL preview service (htmlpreview.github.io) with the dynamic raw_url returned from the GitHub Gist creation step, ensuring a publicly viewable, rendered HTML result.Automate content publishing across Instagram, TikTok, and Threads using this powerful n8n workflow. Integrate Google Sheets and Google Drive with PostPulse for seamless scheduling using our n8n templates.

Use this custom n8n workflow template to instantly look up public holidays for any country and year worldwide. It uses a custom n8n trigger webhook that proxies requests to the Nager.Date API and returns data immediately.

Use this powerful n8n workflow template to deploy an IP2Proxy MCP server, allowing AI agents to check proxy status and threat levels via a specialized n8n node.

Deploy a powerful n8n workflow integrating a Telegram bot, Google Gemini AI, and vector memory (RAG) to automate drafting and publishing social media posts on LinkedIn and X.

Use this powerful n8n workflow to automatically read RSS feeds, repurpose content using an AI agent, publish articles to WordPress, and syndicate them across five social media platforms, saving time and maximizing reach.

Open Paws is a nonprofit building open-source AI tools to accelerate animal advocacy. We create machine learning models and automation workflows trained on real-world campaign data to help end industrial animal exploitation. All tools are free, transparent, and designed for real-world impact.







































