{
    "name": "Competitor Price Monitor",
    "flow": [
        {
            "id": 1,
            "module": "builtin:BasicTrigger",
            "version": 1,
            "parameters": {
                "schedule": "every_day_at_2am"
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 0,
                    "y": 0
                },
                "name": "Daily Trigger"
            }
        },
        {
            "id": 2,
            "module": "http:ActionMakeRequest",
            "version": 1,
            "parameters": {},
            "mapper": {
                "url": "https://competitor.com/pricing",
                "method": "GET"
            },
            "metadata": {
                "designer": {
                    "x": 300,
                    "y": 0
                },
                "name": "Scrape Pricing Page"
            }
        },
        {
            "id": 3,
            "module": "openai:actionChatCompletion",
            "version": 1,
            "parameters": {},
            "mapper": {
                "model": "gpt-4o",
                "messages": [
                    {
                        "role": "system",
                        "content": "Extract pricing tiers, costs, and features into strict JSON from the provided text."
                    },
                    {
                        "role": "user",
                        "content": "{{2.data}}"
                    }
                ]
            },
            "metadata": {
                "designer": {
                    "x": 600,
                    "y": 0
                },
                "name": "Structure Pricing Data"
            }
        },
        {
            "id": 4,
            "module": "google-sheets:ActionSearchRows",
            "version": 1,
            "parameters": {},
            "mapper": {
                "spreadsheetId": "your_database_id",
                "query": "CompetitorName = 'Competitor X'"
            },
            "metadata": {
                "designer": {
                    "x": 900,
                    "y": 0
                },
                "name": "Fetch Yesterday's Data"
            }
        },
        {
            "id": 5,
            "module": "slack:ActionCreateAMessage",
            "version": 1,
            "parameters": {},
            "mapper": {
                "channel": "#competitor-intel",
                "text": "🚨 *Pricing Change Detected!* 🚨 \n Old: {{4.price}} \n New: {{3.content.price}}"
            },
            "metadata": {
                "designer": {
                    "x": 1200,
                    "y": 0
                },
                "name": "Send Slack Alert"
            }
        }
    ],
    "metadata": {
        "version": 1,
        "description": "Competitor Price Monitor Blueprint by PremiumAIGuide.com"
    }
}