{
  "workflow_name": "Trigger a workflow from MCP Tool and fetch data for a user from SureCart",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Workflow MCP Tool Triggered",
          "app": {
            "key": "mcp_trigger",
            "fm_app": "mcp_trigger"
          },
          "eventSlug": "mcp_trigger",
          "eventTitle": "Workflow MCP Tool Triggered",
          "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": "mcp_trigger",
        "stepID": "1",
        "action": "mcp_trigger",
        "nodeType": "step",
        "actionAppArgs": []
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Find Customer By Email",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "surecart",
            "fm_app": "surecart"
          },
          "eventSlug": "find_customer_by_email",
          "eventTitle": "Find Customer By Email"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "surecart",
        "action": "find_customer_by_email",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "MCP Tool Response",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "mcp_trigger",
            "fm_app": "mcp_trigger"
          },
          "eventSlug": "mcp_tool_response",
          "eventTitle": "MCP Tool Response"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "mcp_trigger",
        "action": "mcp_tool_response",
        "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": "Trigger a workflow from MCP Tool and fetch data for a user from SureCart",
    "folder": "all",
    "description": "Your AI assistant calls this workflow as an MCP tool, FlowMattic finds the SureCart customer by email, and the customer data is sent back to the assistant as the tool response.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}