Turn version controlled prompt files into ready AI outputs with one click. Great for marketing and content teams that keep templates in GitHub and want fast, consistent generation.
The flow pulls a selected file from a GitHub repo, reads the text, finds all placeholders inside double braces, and checks if every required variable is set. If anything is missing, it stops and shows which keys you need. When all keys are present, it replaces the variables, builds the final prompt, and sends it to an AI agent powered by an Ollama chat model. The response is captured as a clean field you can pass to other steps or export. This design keeps prompts organized, prevents broken runs, and makes content generation repeatable at scale.
Set up a GitHub repo with your prompt templates and define variables in the set node. Connect your Ollama server that n8n can reach from the cloud. Expect faster content prep, fewer mistakes, and a clear audit trail in GitHub. Use it for blog drafts, product copy, ad variations, or campaign briefs that need standard formats.