{
    "format": "atlasxt-template",
    "version": 1,
    "kind": "workflow",
    "template": {
        "name": "Strategic Engagement",
        "description": "Move a relationship from a request into a shared plan: discover the business context, map who decides, define outcomes, test the value hypothesis, and install governance.",
        "nodes": [
            {
                "id": "discover",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 140
                },
                "data": {
                    "taskKind": "hold",
                    "title": "Discover the business context",
                    "description": "Interview the business owner on strategy, what is breaking, and what they will defend in front of their own executive. Capture it in their words.",
                    "customTaskConfig": {
                        "fields": [
                            {
                                "id": "discover-f1",
                                "label": "Business priority",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "discover-f2",
                                "label": "Cost of doing nothing",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "discover-f3",
                                "label": "Who feels the pain",
                                "type": "text",
                                "required": true
                            }
                        ]
                    }
                }
            },
            {
                "id": "map",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 280
                },
                "data": {
                    "taskKind": "meetings",
                    "title": "Map stakeholders and access",
                    "description": "Identify who owns the money, the adoption, and the permission. Note sentiment from evidence, and book the conversations you do not have yet."
                }
            },
            {
                "id": "outcomes",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 420
                },
                "data": {
                    "taskKind": "document-creation",
                    "title": "Write shared outcomes",
                    "description": "Draft two or three outcomes with a measure, a baseline, a target, and a business owner. Drop anything the owner will not sign."
                }
            },
            {
                "id": "hypothesis",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 560
                },
                "data": {
                    "taskKind": "custom",
                    "title": "Test the value hypothesis",
                    "description": "For each outcome, state the factor, the type of value, and how it will be measured. Separate tangible results from relationship results.",
                    "customTaskConfig": {
                        "fields": [
                            {
                                "id": "hypothesis-f1",
                                "label": "Value factor",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "hypothesis-f2",
                                "label": "Baseline",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "hypothesis-f3",
                                "label": "Target",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "hypothesis-f4",
                                "label": "Evidence source",
                                "type": "text",
                                "required": true
                            }
                        ]
                    }
                }
            },
            {
                "id": "review",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 700
                },
                "data": {
                    "taskKind": "approval",
                    "title": "Sponsor confirms the plan",
                    "description": "The executive sponsor accepts the outcomes, the owners, and what will be stopped if capacity is short.",
                    "outcomes": [
                        "Plan accepted",
                        "Rework the outcomes"
                    ]
                }
            },
            {
                "id": "govern",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 840
                },
                "data": {
                    "taskKind": "meetings",
                    "title": "Install governance",
                    "description": "Set the executive cadence, the operating forum, and the escalation path. Put the first review date on the calendar before the meeting ends."
                }
            },
            {
                "id": "share",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 980
                },
                "data": {
                    "taskKind": "stakeholder-review",
                    "title": "Share the relationship plan",
                    "description": "Send the plan to the sponsor and the owners. Ask each owner to correct their outcome in writing.",
                    "outcomes": [
                        "Owners confirmed",
                        "Corrections received"
                    ]
                }
            }
        ],
        "edges": [
            {
                "id": "e1",
                "source": "discover",
                "target": "map",
                "label": "Next"
            },
            {
                "id": "e2",
                "source": "map",
                "target": "outcomes",
                "label": "Next"
            },
            {
                "id": "e3",
                "source": "outcomes",
                "target": "hypothesis",
                "label": "Next"
            },
            {
                "id": "e4",
                "source": "hypothesis",
                "target": "review",
                "label": "Next"
            },
            {
                "id": "e5",
                "source": "review",
                "target": "govern",
                "label": "Next"
            },
            {
                "id": "e6",
                "source": "govern",
                "target": "share",
                "label": "Next"
            }
        ]
    }
}
