WebHooks

How to use WebHooks to push data to RevOS and get insights out of RevOS platform

WebHook - Out (model change notifications)

You can subscribe and be notified about the model changes on RevOS that can be used to trigger automations and/or custom notifications on your side, here you can use popular tools like Microsoft Power Automate, Zapier or Make to handle these WebHooks.

You can add your WebHook via Model Configuration Settings:

Notion image

Please specify the full URL of the WebHook with protocol (we strongly recommend using HTTPS here):

Notion image
⚠️

Please note that WebHooks will only be called once a day (7am CET) so if you want to test your integration please use a test payload below.

We are working on the feature to dynamically trigger a test Webhook call from UI

Here is the sample WebHook payload:

{
    "eventType": "model.scoreChange",
    "payload": {
        "modelId": "7b5498bb-72b2-437e-892a-a269694015dd",
        "name": "Model Name",
        "changes": [
            {
                "object": {
                    "id": "123",
                    "name": "My company name",
                    "someColumnName": "Some column value"
                },
                "features": [
                    {
                        "changed": {
                            "metricValue": false,
                            "points": 0,
                            "score": "low"
                        },
                        "groupId": "7b5498bb-72b2-437e-892a-a269694015a0",
                        "id": "3c54259d-3ae5-4c38-b6d2-2d61bae8ce2e",
                        "name": "Onboarding Completed",
                        "original": {
                            "metricValue": true,
                            "points": 15,
                            "score": "high",
                            "totalPoints": 15
                        }
                    }
                ],
                "groups": [
                    {
                        "changed": {
                            "points": 20,
                            "score": "medium"
                        },
                        "id": "7b5498bb-72b2-437e-892a-a269694015a0",
                        "name": "Product Usage",
                        "original": {
                            "points": 35,
                            "score": "high",
                            "totalPoints": 35
                        }
                    }
                ],
                "total": {
                    "changed": {
                        "points": 57.5,
                        "score": "medium"
                    },
                    "original": {
                        "points": 72.5,
                        "score": "high",
                        "totalPoints": 100
                    }
                }
            }
        ]
    }
}
 
Did this answer your question?
😞
😐
🤩

Last updated on April 2, 2024