{
  "workflow_name": "Publish scheduled Socialbee posts to Instagram for Business",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Post Scheduled To be Published",
          "app": {
            "key": "socialbee",
            "fm_app": "socialbee"
          },
          "eventSlug": "post_scheduled",
          "eventTitle": "Post Scheduled To be Published",
          "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": "socialbee",
        "stepID": "1",
        "action": "post_scheduled",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "post_id": "sb_88231",
          "text": "Fresh autumn blend, roasted this morning. Come try a cup this weekend.",
          "media_0_url": "https://example.com/media/autumn-blend.jpg",
          "category": "Product",
          "scheduled_at": "2026-10-23T09:00:00Z"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "post_id": "sb_88231",
              "text": "Fresh autumn blend, roasted this morning. Come try a cup this weekend.",
              "media_0_url": "https://example.com/media/autumn-blend.jpg",
              "category": "Product",
              "scheduled_at": "2026-10-23T09:00:00Z"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Publish photo to Instagram",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "instagram",
            "fm_app": "instagram"
          },
          "eventSlug": "publish_photo",
          "eventTitle": "Publish Photo"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "user_id": "",
          "image_url": "{socialbee1.media_0_url}",
          "caption": "{socialbee1.text}"
        },
        "application": "instagram",
        "action": "publish_photo",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 350,
          "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-main_end_placeholder",
        "source": "2",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Publish scheduled Socialbee posts to Instagram for Business",
    "folder": "all",
    "description": "When a Socialbee post set to use a custom webhook comes due, its image and caption are published to your Instagram for Business account. You keep planning in Socialbee's categories and queue while publishing goes through your own connection. After import, paste the trigger URL into the post's custom webhook setting and connect Instagram.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}