{
    "name": "CreatorOpsMatrix: DIY Attribution Engine",
    "flow": [
        {
            "id": 1,
            "module": "gateway:CustomWebHook",
            "version": 1,
            "parameters": {},
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": -150,
                    "y": 0
                },
                "name": "1. Catch Transaction Webhook",
                "expect": [
                    {
                        "name": "email",
                        "type": "text",
                        "label": "Customer Email"
                    },
                    {
                        "name": "fbclid",
                        "type": "text",
                        "label": "Facebook Click ID"
                    },
                    {
                        "name": "amount",
                        "type": "number",
                        "label": "Purchase Value"
                    }
                ]
            }
        },
        {
            "id": 2,
            "module": "google-sheets:addARow",
            "version": 3,
            "parameters": {},
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 150,
                    "y": -150
                },
                "name": "2. Log to First-Party Data Warehouse"
            }
        },
        {
            "id": 3,
            "module": "http:ActionMakeRequest",
            "version": 3,
            "parameters": {
                "method": "POST",
                "headers": [
                    {
                        "key": "Content-Type",
                        "value": "application/json"
                    }
                ]
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": 150,
                    "y": 150
                },
                "name": "3. Push to Facebook Conversions API (CAPI)"
            }
        }
    ],
    "notes": [
        {
            "text": "\ud83d\udd25 CREATOROPSMATRIX: DIY ATTRIBUTION ENGINE SKELETON \ud83d\udd25\n\nThis is an architectural skeleton. You must authorize your own apps to make it live.\n\n\ud83d\udee0\ufe0f HOW TO DEPLOY:\n1. Webhook (Module 1): Click 'Add' to generate your unique webhook URL. Paste this URL into your Stripe/Shopify Developer Webhook settings.\n2. Google Sheets (Module 2): Click 'Add' to connect your Google account. Select your tracking spreadsheet and map the variables (fbclid, amount, email) to your columns.\n3. Facebook CAPI (Module 3): Add your Meta API Access Token in the Headers. Map the JSON payload to match Meta's standard CAPI formatting.\n\n\ud83d\udcc8 SCALING UP:\nRunning server-side tracking consumes operations quickly. Upgrade your Make.com account here to ensure no data drops: \n\ud83d\udc49 https://www.make.com/en/register?pc=creatorop\n\n\ud83d\uded1 TOO COMPLICATED?\nIf you don't want to build JSON APIs manually, you can deploy a plug-and-play mid-tier SaaS alternative that does this for you.\n\ud83d\udc49 Deploy Cometly: https://www.cometly.com/?fpr=creator18",
            "x": -200,
            "y": -450,
            "width": 550,
            "height": 380
        }
    ],
    "metadata": {
        "version": 1,
        "designer": {
            "orphans": []
        }
    }
}