
- Key user events (connect wallet events, conversions, drop off)
- When whales and high-value users visit your app
- Webhooks
Webhooks
Webhooks allow you to send alerts to your own server or third-party service. You can set up a webhook URL in the project settings, and when an alert is triggered, a POST request will be sent to that URL with the alert data. Here’s an example of the JSON payload that will be sent to your webhook:How to set up your first alert
Get real-time notifications when high-value users interact with your app. This guide walks you through creating alerts for whale detection and key events.Step 1: Navigate to Alerts
- Go to the Formo Dashboard
- Select your project
- Click Settings in the left navigation (gear icon)
- Select the Alerts tab
Step 2: Create a new alert
- Click Create Alert
- Configure your alert:
| Setting | Description |
|---|---|
| Name | Descriptive name (e.g., “Whale Alert”) |
| Event Type | Which event triggers the alert |
| Conditions | Filter conditions (optional) |
| Notification | Email or Webhook |
Step 3: Choose an event type
Select which events should trigger notifications:| Event Type | When it fires |
|---|---|
| connect | User connects their wallet |
| transaction | User submits a transaction |
| page | User visits a specific page |
| custom | Your custom tracked events |
Step 4: Add filter conditions (optional)
Make alerts more targeted by adding conditions: Example: Alert only for whales- Event type:
connect - Condition:
net_worth > 100000
- Event type:
transaction - Condition:
contract_address = 0x...
Step 5: Configure notifications
- Email
- Webhook
- Slack (via Webhook)
- Select Email as the notification type
- Enter the email addresses to notify
- Alerts arrive in real-time as events occur
Step 6: Test your alert
- Save your alert configuration
- Trigger a test event:
- Visit your app in a browser
- Connect a wallet
- Perform the action that matches your alert
- Check your email or webhook endpoint for the notification
Example: Whale detection alert
Here’s a practical alert configuration to notify you when high-value users visit:| Setting | Value |
|---|---|
| Name | Whale Alert |
| Event type | connect |
| Condition | net_worth > 100000 |
| Notification | Slack webhook |
Example: Failed transaction alert
Track when users encounter issues:| Setting | Value |
|---|---|
| Name | Failed TX Alert |
| Event type | transaction |
| Condition | status = failed |
| Notification |