Use Case — Custom Data Webhooks

Trigger Ad Automation from Any Data Source

Your business data should drive your ad spend. AdTrigger's webhook engine lets you POST data from any system — inventory, CRM, pricing feeds, internal dashboards — and automatically pause, enable, or adjust campaigns when your conditions are met.

How Custom Webhooks Work

Create a data source in AdTrigger, define the fields you expect, and start POSTing data from any system. When your conditions are met, AdTrigger acts on your campaigns.

1

Create a data source

Name it and define the fields (e.g. stock_count as number, status as string).

2

Get your endpoint

AdTrigger generates a unique webhook URL and API key for authentication.

3

POST your data

Send JSON from your system — inventory platform, CRM, cron job, or anything with HTTP.

4

Build rules

Set conditions on your fields and choose what happens to your campaigns when they're met.

Capabilities

POST any JSON payload to your unique webhook endpoint
Define field schemas — number, string, or boolean fields
Set conditions with numeric comparisons (gt, lt, eq) or string matching (contains, equals)
Combine multiple fields with AND / OR logic
API key authentication per data source (Bearer token)
Automatic data expiration (TTL) for stale webhook data

Example Webhook Payload

POST a simple JSON object to your webhook endpoint. AdTrigger evaluates the fields against your rule conditions.

POST https://api.adtrigger.io/webhooks/<your-source-id>

Authorization: Bearer <your-api-key>

Content-Type: application/json

{

"product_sku": "UMBRELLA-001",

"stock_count": 7,

"status": "low_stock"

}

How Businesses Use Webhook-Triggered Ads

Any system that can make an HTTP request can drive your ad spend. Here are real-world examples across industries.

Shopify Store — Inventory-Based Ads

Scenario: A small online store selling limited-stock products needs to stop advertising items that are almost out of stock.

Rule: When a webhook sends stock_count < 10 for a product SKU, pause Google Ads campaigns for that product. Re-enable when stock_count > 50.

Result: Ad spend stops before customers click through to "out of stock" pages — eliminating wasted clicks and protecting customer experience.

Read full guide

Small Recruitment Agency

Scenario: A local recruitment agency runs ads for open roles and needs to stop advertising positions that have enough applicants.

Rule: When a webhook sends application_count > 50 for a job listing, pause that listing's Meta Ads campaign.

Result: Ad spend stops flowing to roles that already have enough applicants, freeing budget for harder-to-fill positions.

Read full guide

Estate Agent — Property Listings

Scenario: A local estate agent advertises individual properties and needs to react when a property goes under offer.

Rule: When CRM sends listing_status = "under_offer" via webhook, pause ads for that specific property. Re-enable if status returns to "available".

Result: No wasted spend on properties that can't be sold — buyers see only available listings, improving click-to-enquiry conversion.

Read full guide

Subscription Box — Capacity Limits

Scenario: A subscription box business can only fulfil 500 orders per month and needs to stop advertising when close to capacity.

Rule: When a webhook sends active_subscriptions > 450, pause sign-up campaigns. Re-enable when active_subscriptions drops below 400.

Result: New sign-up ads are paused before the business over-commits — protecting fulfilment quality and customer satisfaction.

Read full guide

Independent Mortgage Broker

Scenario: An independent mortgage broker wants to advertise more aggressively when interest rates are favourable.

Rule: When a webhook sends mortgage_rate < 4.5, increase Google Ads budget by 40%. Reduce by 30% when rate exceeds 5.0.

Result: Ad spend scales with product competitiveness — more budget when rates make the offer attractive, less when they don't.

Read full guide

Small Business — Daily Lead Targets

Scenario: A small business owner tracks daily leads in a CRM and wants to scale ads when the pipeline is looking thin.

Rule: When a webhook sends qualified_leads_today < 5 by 2pm, increase Meta Ads campaign budget by 25%. Reset the following day.

Result: The business's own KPIs drive ad spend — if the pipeline is light by mid-afternoon, ads automatically ramp up to fill the gap.

Read full guide

Your Data, Your Rules

Start free to connect any data source to your ad campaigns via webhook automation.

Start Free