{
  "workflow_name": "Summarise new blog posts with AI and email the digest to your editor",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Post Published",
          "app": {
            "key": "wordpress",
            "fm_app": "wordpress"
          },
          "eventSlug": "new_post",
          "eventTitle": "New Post",
          "layoutDirection": "horizontal",
          "stepNumber": 1
        },
        "targetPosition": "bottom",
        "type": "trigger",
        "stepNumber": 1,
        "expanded": true,
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "application": "wordpress",
        "stepID": "1",
        "action": "new_post",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "post_id": "555",
          "post_title": "10 automation ideas",
          "post_url": "https://example.com/blog/10-ideas",
          "post_content": "Long article body...",
          "post_excerpt": "A roundup..."
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "post_id": "555",
              "post_title": "10 automation ideas",
              "post_url": "https://example.com/blog/10-ideas",
              "post_content": "Long article body...",
              "post_excerpt": "A roundup..."
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Summarise with AI",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "openai",
            "fm_app": "openai"
          },
          "eventSlug": "generate_content",
          "eventTitle": "Generate Content"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "prompt": "Summarise this blog post in 3 sentences for a newsletter: {wordpress1.post_content}",
          "ai_model": "gpt-4o",
          "max_tokens": "600"
        },
        "application": "openai",
        "action": "generate_content",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Send Email",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "email",
            "fm_app": "email"
          },
          "eventSlug": "send_email",
          "eventTitle": "Send Email"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "to_email": "editor@yourcompany.com",
          "email_subject": "Summary: {wordpress1.post_title}",
          "email_body": "AI summary of the new post \"{wordpress1.post_title}\" ({wordpress1.post_url}):\n\n{openai2.response}"
        },
        "application": "email",
        "action": "send_email",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 525,
          "y": 0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "main_end_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      }
    ],
    "edges": [
      {
        "id": "e-1-2",
        "source": "1",
        "target": "2",
        "type": "step",
        "data": []
      },
      {
        "id": "e-2-3",
        "source": "2",
        "target": "3",
        "type": "step",
        "data": []
      },
      {
        "id": "e-3-main_end_placeholder",
        "source": "3",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Summarise new blog posts with AI and email the digest to your editor",
    "folder": "all",
    "description": "When you publish a post, OpenAI writes a concise summary and emails it to your newsletter editor for a weekly digest.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}