New to Kestra?
Use blueprints to kickstart your first workflows.
Generate a personalized AI learning roadmap with Kestra and n8n. Orchestrate AI planning, validate the output, and export a ready-to-use CSV plan.
Generate a personalized, day-by-day learning roadmap from a plain-language request by orchestrating n8n and an AI model with Kestra. A learner submits a goal such as "I want to learn Kubernetes in 60 days with hands-on practice", Kestra forwards it to an n8n workflow that uses AI to draft a structured plan, then Kestra validates the AI output and exports a ready-to-use CSV. This solves the common problem of trusting raw AI responses: the model handles creative planning while Kestra enforces structure, validation, and reliable file outputs.
prompt trigger (io.kestra.plugin.core.trigger.Webhook) accepts an inbound HTTP request carrying the learning goal, so the flow starts on demand from any app, form, or chatbot.call_n8n task (io.kestra.plugin.n8n.TriggerWorkflow) POSTs the prompt input to your n8n webhook (uri from N8N_WEBHOOK_URL), where AI converts the request into a roadmap as JSON.validate_roadmap task (io.kestra.plugin.scripts.python.Script) parses outputs.call_n8n.body, asserts it is a JSON array, and checks every entry has the keys day, focus, topics, practice, and outcome, failing fast on malformed AI output.create_csv task adds a status column set to Pending, builds a pandas DataFrame, and writes learning-roadmap.csv as a downloadable output file.learning-roadmap.csv with day, focus, topics, practice, outcome, and a status column.n8n is great at chaining AI calls, but its built-in scheduler offers limited retry semantics, validation gates, and execution lineage across systems. Kestra adds event-driven triggers, declarative YAML you can version control, automatic retries, and full run history and outputs for every execution. The validation step turns "the AI usually returns good JSON" into a hard contract, and the CSV becomes a tracked artifact instead of a transient n8n response.
pandas available to the script tasks.N8N_WEBHOOK_URL: Webhook URL of the n8n workflow that returns the roadmap JSON array.prompt and returns a JSON array of roadmap entries.N8N_WEBHOOK_URL as a secret in your Kestra instance.learning-roadmap.csv.validate_roadmap with stricter rules, such as date ranges or topic counts.