AutomationPublished 7 min read

Turn Your Own Business Data Into Marketing Actions

Your most useful marketing signal may already live inside your own systems. Here is how to turn inventory, pricing, demand, and availability data into advertising actions.

It usually starts with a message in Slack.

“The blue version is almost out of stock. Can someone pause the ads?”

Or:

“We have empty rooms this weekend. Can we push the city campaign?”

The marketing team knows what to do. The problem is that the information arrives late, somebody has to notice it, and somebody else has to make the change in the ad platform. By the time that happens, you may have spent another few hundred dollars promoting something customers cannot buy.

Many businesses already have the data they need to make better advertising decisions. It sits in an inventory system, booking platform, pricing engine, CRM, analytics service, or an internal API. What is often missing is the connection between that data and the campaign action.

That is what Custom Data Sources in Wehoads are designed to solve.

Your business data is a marketing signal

Advertising platforms know a lot about clicks, impressions, audiences, and conversions. They do not automatically know what is happening inside your business.

They do not know that:

  • a product has only three units left
  • a hotel has 40 empty rooms for Friday night
  • delivery capacity in one city is nearly full
  • a ticket price just crossed a profitable threshold
  • demand for one category is rising faster than expected
  • a service is temporarily unavailable

These facts should affect how you advertise. Yet they are often checked manually, copied into a report, and discussed after the moment to act has passed.

A custom data source lets you treat those facts as live conditions. Instead of asking a person to watch a dashboard, you define the response once:

When stock falls below 5, pause the campaign.

When available rooms rise above 20, increase promotion.

When demand reaches 80, activate the high-intent campaign.

The business data becomes the trigger. The advertising change becomes the action.

A practical example: stop promoting unavailable products

Imagine an online retailer running a Google Ads campaign for a popular item. Its inventory API returns:

{
  "stock": 2,
  "price": 194.76,
  "demand": 25
}

The team normally checks stock a few times a day. That works until the product sells faster than expected. Ads continue sending paid traffic to a page with limited or unavailable inventory, while someone waits for the next report.

With a custom data source, the retailer can map stock as an output and create a rule:

When Stock <= 5, pause the selected campaign.

When inventory recovers and the condition no longer matches, the default action can activate the campaign again. The team is no longer relying on a person to catch the change at the right time.

The same response can use more than one piece of business context. A retailer might advertise only when stock is healthy and the current price supports the campaign's margin. A travel company might increase spend when availability is high and reduce it as rooms fill.

How the connection works

You do not need to move your business data into an advertising platform.

Wehoads requests data from an HTTP endpoint you control and extracts the fields you choose. The setup has four practical parts.

1. Connect the endpoint

Add the URL that returns the data you want to use. Choose the HTTP method and configure any query parameters or headers the endpoint needs.

Authentication values can be stored as secrets, so they remain masked in the interface rather than appearing in request previews.

2. Test the request

Run a test to confirm that the endpoint responds successfully and to inspect the returned JSON.

Testing is useful here because business APIs are rarely designed with advertising in mind. A quick preview makes it clear whether the value you need is available and whether it has the expected shape.

3. Map useful outputs

You do not have to expose every property in the response. Map only the fields that should be available to automations.

For the inventory response above, the useful outputs might be:

  • stock as an integer
  • price as a number
  • demand as an integer

Each output has a name, a type, and a JSON path. The type matters because it determines how the value can be compared. A whole-number stock count behaves differently from a true/false availability flag or a date and time.

4. Build the automation

Create a Location Independent automation, choose Custom Data Source as the condition, and select:

  1. the connected data source
  2. the output field
  3. the comparison operator
  4. the comparison value

Then choose what should happen when the condition matches and what should happen when it does not.

That last part is important. A useful automation is not only a trigger. It is a complete decision with both outcomes defined.

What can you automate?

Inventory is the obvious example, but it is only one category.

Availability

A hotel can promote dates with excess room availability. A clinic can reduce acquisition spend when appointment capacity is nearly full. A marketplace can pause campaigns when too few providers are available to serve new customers.

Pricing and margin

If your pricing system exposes the current price or margin, campaign activity can follow the economics of the offer.

For example, a retailer could pause a product campaign when margin drops below an acceptable level, then resume it after the price changes.

Demand

Internal demand scores can help decide which campaigns deserve attention. A high demand score might activate a campaign for a trending category. A low score could shift spend toward a different product line.

Operational capacity

Marketing should not create demand the business cannot fulfil. Delivery slots, warehouse capacity, call-centre queues, and service availability can all become guardrails for paid acquisition.

Customer or lifecycle signals

If your own system calculates an aggregate customer signal, such as renewal volume or the number of qualified leads waiting for follow-up, it can inform when acquisition campaigns should scale up or slow down.

The strongest use cases usually come from a question your team already asks repeatedly: “If this number changes, what do we always do next?”

If the answer is consistent, it is a good candidate for automation.

Start with one decision, not every data point

It is tempting to connect a large API response and map dozens of fields. That usually makes the first automation harder to understand and harder to trust.

Start with one decision that is:

  • repeated often
  • time-sensitive
  • based on a reliable value
  • expensive when handled late
  • easy to reverse when conditions change

Stock protection is a good first rule because the business impact is obvious. Capacity protection is another. Both prevent spend from creating demand that cannot be served.

Once the team sees the rule working and can review its history, adding more signals becomes much easier.

Keep the data boring

The best automation data is not necessarily clever. It is stable, clearly named, and predictable.

An endpoint that always returns:

{
  "available": true,
  "stock": 42
}

is more useful than a complicated response whose shape changes every week.

Use consistent types. Keep field names understandable. Make sure the endpoint is available when polling occurs. If a value is missing or invalid, fix the source rather than teaching the marketing team to guess what it meant.

Good automation depends on boring, dependable inputs.

The real benefit is a shorter decision loop

Custom Data Sources are not about adding another dashboard.

They shorten the distance between what is happening in your business and what your campaigns do about it.

Inventory changes. Availability changes. Prices move. Demand rises and falls. Your team often knows the correct response already, but manual execution introduces delay.

When your own data can trigger the action directly, advertising becomes part of the operating system of the business rather than a separate channel that is always catching up.

Start with the signal your team checks most often. Connect it, map one useful field, and turn the next manual campaign adjustment into a rule.

Create your first automation and let your business data act while it still matters.

See Wehoads on your accounts

Connect your Meta, TikTok, Google Ads, YouTube, or Google Ad Manager account — or set up a Webhook — define condition rules once, and let automation handle the rest when the world changes.