{
  "workflow_name": "Create WordPress posts for newly published Qlik apps",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Apps",
          "app": {
            "key": "qlik",
            "fm_app": "qlik"
          },
          "eventSlug": "apps",
          "eventTitle": "Apps",
          "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": "qlik",
        "stepID": "1",
        "action": "apps",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "cloudEventsVersion": "0.1",
          "source": "com.qlik/engine",
          "contentType": "application/json",
          "eventId": "a1f04c3e-8d2b-41a7-b6e0-93c2d7f1e5b8",
          "eventTime": "2026-10-21T15:40:02Z",
          "eventTypeVersion": "1.0.0",
          "eventType": "com.qlik.v1.app.published",
          "extensions_tenantId": "tnt_Q7x2LmP9",
          "extensions_userId": "usr_9pT3vQ1b",
          "data_attributes_id": "3f9a1c2e-5b7d-4e8f-a0c1-2d3e4f5a6b7c",
          "data_attributes_name": "Regional sales Q4",
          "data_attributes_description": "Pipeline, bookings and win rate by region, refreshed every morning.",
          "data_attributes_owner": "Marco Bell",
          "data_attributes_spaceId": "spc_7HqR2w",
          "data_attributes_publishTime": "2026-10-21T15:40:01Z"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "cloudEventsVersion": "0.1",
              "source": "com.qlik/engine",
              "contentType": "application/json",
              "eventId": "a1f04c3e-8d2b-41a7-b6e0-93c2d7f1e5b8",
              "eventTime": "2026-10-21T15:40:02Z",
              "eventTypeVersion": "1.0.0",
              "eventType": "com.qlik.v1.app.published",
              "extensions_tenantId": "tnt_Q7x2LmP9",
              "extensions_userId": "usr_9pT3vQ1b",
              "data_attributes_id": "3f9a1c2e-5b7d-4e8f-a0c1-2d3e4f5a6b7c",
              "data_attributes_name": "Regional sales Q4",
              "data_attributes_description": "Pipeline, bookings and win rate by region, refreshed every morning.",
              "data_attributes_owner": "Marco Bell",
              "data_attributes_spaceId": "spc_7HqR2w",
              "data_attributes_publishTime": "2026-10-21T15:40:01Z"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Filter Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Continue If Condition Meet",
          "customLabel": "Only published apps"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{qlik1.eventType}",
                "condition": "exactly_match",
                "value": "com.qlik.v1.app.published"
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "2",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{qlik1.eventType}",
                "condition": "exactly_match",
                "value": "com.qlik.v1.app.published"
              }
            ]
          }
        }
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create draft post",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "wordpress",
            "fm_app": "wordpress"
          },
          "eventSlug": "new_post",
          "eventTitle": "New Post"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "post_title": "New dashboard: {qlik1.data_attributes_name}",
          "post_content": "{qlik1.data_attributes_description}\n\nOwner: {qlik1.data_attributes_owner}\n\nOpen it in Qlik: https://your-tenant.qlikcloud.com/sense/app/{qlik1.data_attributes_id}",
          "post_status": "draft",
          "post_type": "post",
          "post_category": ""
        },
        "application": "wordpress",
        "action": "new_post",
        "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": "Create WordPress posts for newly published Qlik apps",
    "folder": "all",
    "description": "When a Qlik app is published, FlowMattic creates a draft WordPress post announcing it with the app name, description and a link. Teams that run an internal portal or knowledge base on WordPress can list new dashboards without writing each post. After import, set up the Qlik Apps webhook, replace your-tenant in the link and choose the post category.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}