Automating your workflows with Metrikia webhooks
Create powerful automations by connecting Metrikia webhooks to Zapier, Make, n8n, or Systeme.io. Complete guide with concrete examples.
Why automate with webhooks?
Metrikia webhooks let you create automations that react in real time to your business events. Instead of manually checking your data every day, let machines work for you.
Popular automation examples:
- Slack notification when a deal > 5,000 EUR is won
- Automatic welcome email when a new lead arrives from Meta
- Google Sheet update with daily performance metrics
- Asana/Trello task creation when a lead is qualified
- Bidirectional sync with Systeme.io for online courses
- SMS alert when an ADS sync fails
Prerequisites
- A Metrikia account with at least one active integration
- An account on your automation platform of choice (Zapier, Make, n8n, or other)
- Metrikia webhooks configured (see the "Configure webhooks" guide)
Automation 1: Slack "Deal won" notification
Goal: Receive an automatic Slack message with details when a deal is won.
With Zapier
- Trigger: Webhooks by Zapier > Catch Hook
- Copy the webhook URL into Metrikia (event
deal.won) - Test: Mark a deal as won in Metrikia, verify Zapier receives the event
- Action: Slack > Send Channel Message
- Configure the message with payload variables:
- Channel: #sales
- Message: "Deal won! {data.title}, {data.amount} EUR by {data.leadName} (source: {data.source})"
- Enable the Zap
With Make
- Create a scenario with Webhooks > Custom webhook
- Copy the URL into Metrikia (event
deal.won) - Run a test so Make detects the structure
- Add a Slack > Create a Message module
- Map webhook fields to message variables
- Activate the scenario
With n8n
- Add a Webhook node (method: POST)
- Copy the URL into Metrikia
- Add a Slack > Send Message node
- Configure field mapping
- Activate the workflow
Automation 2: Unsupported CRM sync
Goal: Automatically sync new Metrikia leads to a CRM not natively supported (e.g., Pipedrive, Close.io, or an internal tool).
Architecture
Metrikia (webhook lead.created) > Make/Zapier/n8n > Transform > Target CRM API
Detailed steps with Make
- Webhook: Configure the Metrikia webhook with the
lead.createdevent - Router (optional): Filter leads by source if you only want to sync certain sources
- HTTP Module: Call your target CRM's API
- Method: POST
- URL: your CRM's lead creation endpoint
- Headers: your CRM's authentication
- Body: map Metrikia fields to your CRM's fields
- Error handler: Configure an email notification on failure
Typical field mapping
| Metrikia field | Target CRM field | Notes |
|---|---|---|
| data.firstName | first_name | Direct |
| data.lastName | last_name | Direct |
| data.email | Direct | |
| data.phone | phone | E.164 format |
| data.source | lead_source | Adapt values (meta > Facebook) |
| data.status | stage | Adapt to target CRM pipeline |
Automation 3: Automatic Google Sheets reporting
Goal: Automatically populate a Google Sheet with your daily performance metrics.
With Zapier
- Trigger: Schedule by Zapier > Every Day (9am)
- Action 1: Webhooks by Zapier > GET >
https://api.metrikia.io/api/v1/performance?dateFrom=YESTERDAY&dateTo=YESTERDAY&platform=all- Headers: Authorization: Bearer YOUR_KEY
- Action 2: Google Sheets > Create Spreadsheet Row
- Map fields: date, spend, leads, revenue, CPL, CPA, ROAS
- Enable the Zap
Pro tip: Combine this automation with conditional formatting in Google Sheets (ROAS < 2x in red, > 4x in green) for automatic visual reporting.
Automation 4: Systeme.io integration
Goal: Sync Metrikia leads to Systeme.io to trigger automatic email sequences.
Architecture
Metrikia (lead.created) > Zapier/Make > Systeme.io API > Email sequence
Steps with Zapier
- Trigger: Webhooks by Zapier > Catch Hook (event
lead.created) - Filter: Continue only if source = meta or google (filter organic traffic)
- Action: Systeme.io > Add Contact
- Email:
{data.email} - First name:
{data.firstName} - Tag: "lead-metrikia-{data.source}"
- Email:
- The contact automatically enters your Systeme.io email sequence
Automation 5: Performance alerts
Goal: Receive an alert when a KPI exceeds a critical threshold.
With n8n (self-hosted)
- Cron node: Every hour
- HTTP Request node: GET /api/v1/performance (last 24h)
- IF node: ROAS < 1.0?
- Slack node (true branch): "ALERT: ROAS below 1x over the last 24h ({roas}x). Check your campaigns immediately."
- NoOp node (false branch): Do nothing
Recommended thresholds
| KPI | Alert threshold | Critical threshold | Action |
|---|---|---|---|
| ROAS | < 2x | < 1x | Check campaigns |
| CPL | > 2x average | > 3x average | Pause ad sets |
| Sync | Failure | 3 consecutive failures | Check tokens |
| Leads | 0 for 24h | 0 for 48h | Check ads |
Best practices for your automations
- Always test in sandbox before activating in production
- Handle errors: Configure notifications for automation failures
- Document your workflows: Clearly name each step
- Limit actions: Avoid infinite loops (Metrikia > CRM > webhook > Metrikia)
- Monitor costs: Zapier and Make charge per task, optimize your filters
- Secure your secrets: Store API keys in environment variables, not hardcoded in workflows
Pro tip: n8n is free when self-hosted and particularly powerful for complex automations. If you are technical, it is the best option for intensive use without recurring costs.
Previous guide
Managing multiple ad accounts
Next guide
Understanding data calibration and the setup score
To go further, check out our blog, the documentation or contact support.