{
    "id": "53df5e5a0f6d4087dea24414",
    "name": "st2.rule1",
    "description": "Some test rule.",

    "trigger": {
        "type": "st2.webhook",
        "parameters": {
            "url": "some"
        }
    },

    "criteria": {},

    "action": {
        "name": "local",
        "parameters": {
            "cmd": "echo \"{{trigger.name}}\""
        }
    },

    "enabled": true
}

{
    "name": "st2.webhook-sample",
    "description": "Sample rule dumping webhook payload to a file.",

    "trigger": {
        "type": "st2.webhook",
        "parameters": {
            "url": "sample"
        }
    },

    "criteria": {
        "name": {
            "pattern": "Joe",
            "type": "equals" 
         }
    },

    "action": {
        "name": "local",
        "parameters": {
            "cmd": "echo \"{{trigger}}\" >> /tmp/st2.rule1.out"
        }
    },

    "enabled": true
}

Update the webhook sample for documentation
Update the webhook sample for documentation

* Documentation changes are coming
