{
  "id": "template_example",
  "name": "Blog Post to Social Media",
  "description": "Transform blog posts into engaging social media content across multiple platforms",
  "primaryGoal": "repurpose",
  "category": "repurpose",
  "inputFields": [
    {
      "id": "blog_url",
      "label": "Blog Post URL",
      "type": "text",
      "required": true,
      "placeholder": "https://example.com/blog/post"
    },
    {
      "id": "target_platform",
      "label": "Target Platform",
      "type": "select",
      "required": true,
      "options": ["Twitter", "LinkedIn", "Instagram", "Facebook"]
    },
    {
      "id": "tone",
      "label": "Tone of Voice",
      "type": "text",
      "required": false,
      "placeholder": "Professional, casual, humorous, etc."
    }
  ],
  "steps": [
    {
      "id": "step_1",
      "type": "ai",
      "name": "Extract Key Points",
      "model": "gpt-4o-mini",
      "promptTemplate": "Read this blog post: {{blog_url}}\n\nExtract the 3-5 most important key points that would resonate on social media. Focus on actionable insights and interesting facts.",
      "temperature": 0.7,
      "maxTokens": 500,
      "outputField": "key_points"
    },
    {
      "id": "step_2",
      "type": "ai",
      "name": "Create Social Post",
      "model": "gpt-4o-mini",
      "promptTemplate": "Based on these key points from a blog post:\n\n{{key_points}}\n\nCreate an engaging social media post for {{target_platform}}. Use a {{tone}} tone. Include relevant hashtags and a call-to-action.",
      "temperature": 0.8,
      "maxTokens": 300,
      "outputField": "social_post"
    },
    {
      "id": "step_3",
      "type": "ai",
      "name": "Generate Image Caption",
      "model": "gpt-4o-mini",
      "promptTemplate": "For this social media post:\n\n{{social_post}}\n\nSuggest a complementary image or graphic that would enhance engagement. Describe what the image should show in 1-2 sentences.",
      "temperature": 0.7,
      "maxTokens": 150,
      "outputField": "image_suggestion"
    }
  ]
}
