{
  "version": 1,
  "structures": [
    {
      "name": "social_content_response",
      "description": "Repurposed content for each channel",
      "example": {
        "article_summary": "This guide explains how to automate customer support with AI workflows.",
        "linkedin_post": "We wrote about automating support - here are 3 takeaways.",
        "x_post": "Automate support replies with AI workflows. Thread below.",
        "email_teaser": "A practical guide to automating your support inbox.",
        "suggested_hashtags": [
          "#automation",
          "#customersupport"
        ]
      },
      "schema": {
        "type": "object",
        "properties": {
          "article_summary": {
            "type": "string"
          },
          "linkedin_post": {
            "type": "string"
          },
          "x_post": {
            "type": "string"
          },
          "email_teaser": {
            "type": "string"
          },
          "suggested_hashtags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "article_summary",
          "linkedin_post",
          "x_post",
          "email_teaser",
          "suggested_hashtags"
        ],
        "additionalProperties": false
      }
    }
  ],
  "workflows": [
    {
      "name": "content_repurposer_workflow",
      "description": "Repurposes an article for social channels",
      "provider": "deepseek",
      "model": "deepseek-v4-flash",
      "backups": [
        {
          "provider": "anthropic",
          "model": "claude-haiku-4-5-20251001"
        }
      ],
      "request_type": "chat",
      "system_instructions": "Repurpose the article into marketing content: a 2-3 sentence summary, a LinkedIn post, a short X post, and an email teaser. Suggest a few relevant hashtags. Keep the voice consistent with the article.",
      "structure": "social_content_response",
      "customer_fields": [
        "article_title",
        "article_text"
      ],
      "test_mode": false,
      "cache_window_seconds": 900,
      "backend_pipeline": {
        "enabled": true,
        "events": [
          {
            "name": "article_submitted"
          },
          {
            "name": "snippets_ready"
          }
        ]
      }
    }
  ]
}
