AI-powered blog post generator with SEO strategy, user review, and asset management.
{
"@context": "https://wrio.io/ns/workflow",
"@type": "Process",
"owner_type": "user",
"@id": "content-generator",
"name": "Content Generator",
"version": "1.0.0",
"description": "AI-powered blog post generator with SEO strategy, user review, and asset management.",
"entry_point_id": "start",
"inputs": [
{
"name": "idea",
"type": "string",
"label": "Topic or Idea",
"required": true
}
],
"steps": [
{
"@type": "Step",
"@id": "start",
"name": "Start",
"step_type": "start",
"transitions": [
{
"target_id": "Task_GeneratePlan"
}
]
},
{
"@type": "Step",
"@id": "Task_GeneratePlan",
"name": "Generate SEO Plan",
"step_type": "service",
"action": "ai.generateText",
"params": {
"prompt": "You are an expert SEO Strategist. Create a detailed content plan for the following topic/idea:\n\n{{idea}}\n\nYour output MUST be a valid JSON object with the following fields:\n- title: Catchy, SEO-optimized title.\n- plan: A markdown formatted outline of the post (H2, H3).\n- suggested_stats: A list of specific numbers, statistics, or data points that would strengthen the post (e.g. 'ROI of X', 'Retention rate').\n- seo_keywords: List of target keywords.\n\nEnsure the plan follows these rules:\n- TL;DR at the beginning.\n- Question-based headers.\n- No fluff.\n",
"jsonMode": true,
"temperature": 0.7
},
"transitions": [
{
"target_id": "Task_RefinePlan"
}
]
},
{
"@type": "Step",
"@id": "Task_RefinePlan",
"name": "Review Plan & Numbers",
"step_type": "user_task",
"description": "Review the generated plan and provide specific numbers/stats.",
"form_id": "refine",
"form_data": {
"title": "{{Task_GeneratePlan.result.title}}",
"plan": "{{Task_GeneratePlan.result.plan}}",
"suggested_stats": "{{Task_GeneratePlan.result.suggested_stats}}",
"seo_keywords": "{{Task_GeneratePlan.result.seo_keywords}}"
},
"transitions": [
{
"target_id": "Task_GenerateContent"
}
]
},
{
"@type": "Step",
"@id": "Task_GenerateContent",
"name": "Generate Draft",
"step_type": "service",
"action": "ai.generateText",
"params": {
"prompt": "You are a professional Content Writer. Write a full blog post based on the following approved plan and user inputs.\n\nTitle: {{Task_RefinePlan.title}}\n\nPlan:\n{{Task_RefinePlan.plan}}\n\nUser Provided Stats/Numbers:\n{{Task_RefinePlan.user_stats}}\n\nKeywords:\n{{Task_RefinePlan.seo_keywords}}\n\nWriting Rules:\n- Use 'We'/'I' for personal touch if appropriate.\n- Keep sentences short and punchy.\n- Include 'Entity Definition' in the first paragraph.\n- Add a 'Key Takeaways' section.\n- STRICTLY follow the markdown structure of the plan.\n",
"temperature": 0.7
},
"transitions": [
{
"target_id": "Task_UploadAssets"
}
]
},
{
"@type": "Step",
"@id": "Task_UploadAssets",
"name": "Upload Assets",
"step_type": "user_task",
"description": "Upload Hero Image and other assets.",
"form_id": "assets",
"form_data": {
"current_content": "{{Task_GenerateContent.result}}"
},
"transitions": [
{
"target_id": "Task_FinalPolish"
}
]
},
{
"@type": "Step",
"@id": "Task_FinalPolish",
"name": "Final Polish",
"step_type": "service",
"action": "ai.generateText",
"params": {
"prompt": "You are an Editor. Finalize this blog post.\n\n1. Insert the Hero Image at the very top: \n2. If the user provided a video URL, embed it after the first section.\n3. Fix any grammar issues.\n4. Ensure formatting is perfect Markdown.\n\nContent:\n{{Task_GenerateContent.result}}\n\nVideo URL (if any): {{Task_UploadAssets.video_url}}\n",
"temperature": 0.3
},
"transitions": [
{
"target_id": "end"
}
]
},
{
"@type": "Step",
"@id": "end",
"name": "End",
"step_type": "end",
"transitions": []
}
],
"outputs": {
"final_content": "{{Task_FinalPolish.result}}",
"title": "{{Task_RefinePlan.title}}"
}
}No instances available in All
