Skip to Content
AutomationsAutomation Basics

Automation Basics

An automation rule answers four questions:

  1. What should Nitoriq watch?
  2. When should it count as a match?
  3. Should Nitoriq alert the team, automate an action, or do both?
  4. What safeguards should prevent a bad or premature action?

If you can answer those questions in plain language, you are ready to build a rule. If the answer feels fuzzy, start with alerts and narrow the scope until the rule is easy to review.

How a Rule Runs

  1. The rule reads the targets and reporting window you selected.
  2. It checks the trigger conditions against eligible, sufficiently fresh data.
  3. If a target matches, Nitoriq records the planned outcome.
  4. Alert outcomes create notifications. Automate outcomes enter the durable execution queue after readiness and safeguards pass.
  5. Provider actions are rechecked before the write and may be confirmed immediately or sent to recovery for verification.
  6. Activity records the result so your team can review it later.

Core Concepts

Parts of a rule

Target

The thing the rule watches, such as a campaign, ad set, ad, keyword, placement, site, or widget.

The target controls which metrics and actions are available.

Trigger

The condition that makes the rule match, such as CPA above target, spend above payout, ROI below 0, or a time window.

A good trigger should read like a decision your team would make manually.

Outcome

Whether the rule sends an alert, automatically runs an eligible action, or runs the action and alerts the team.

Start with Alert Only, then use automation after the evidence, scope, and safeguards are trusted.

Action

What Nitoriq should do after a match, such as notify, tag, pause or resume a mapped provider entity, change a provider budget or bid, update a list, or send a webhook.

Provider actions are real ad-platform changes and require additional readiness.

Account readiness

Whether the connected ad account has the access, permissions, and setup needed for the selected action.

A rule can alert before provider-write setup is complete, but ad-platform changes need the account to be ready.

Campaign identity

The exact account-scoped binding between a Nitoriq campaign and its remote provider campaign.

Nitoriq verifies this relationship from niq_map or a trusted tracking route before it changes a provider entity.

Safeguards

Limits such as action caps, cooldowns, freshness checks, execution windows, numeric guardrails, and safety pauses.

Safeguards keep one broad or stale signal from causing too many changes.

Activity

The record of checks, alerts, actions, and safety decisions.

Use Activity before changing a rule. It usually tells you whether the issue is data, setup, scope, safety, or execution.

Targets And Availability

Target levelTypical use
CampaignStop-loss rules, budget pacing, winner scaling, recovery checks, and mapped provider campaign pause or resume actions.
Ad group or ad setLower-entity stop loss, budget or bid controls, recovery checks, and provider-specific scaling.
Ad or creativeCreative fatigue, provider ad pause rules, and lower-entity monitoring where ad-level reporting is available.
KeywordKeyword monitoring and negative-keyword actions where provider support and permissions allow it.
Placement, site, or widgetPlacement quality checks, exclusions, blacklist or whitelist updates, and provider-specific placement controls.

Workspace, traffic source, flow, offer, lander, and Shopify product targets are not automation targets right now. Current rules focus on campaigns and the entities below them.

How Safeguards Help

Safeguards run before Nitoriq makes a change and are rechecked when queued work executes. They can stop an action when data is stale, a campaign identity is missing, a connection needs attention, the rule acted recently, too many items matched, or the current time is outside the execution window.

This is why a skipped action is not always a problem. Often it means the rule matched, but Nitoriq protected the account from acting too soon or too broadly.

How Results Are Reported

  • queued or pending means eligible work is waiting for durable execution
  • executed means Nitoriq sent or completed the action
  • confirmed means Nitoriq verified the requested state at the provider
  • skipped means setup, identity, safety, freshness, or another eligibility check prevented execution
  • failed means a check, notification, or action did not complete
  • needs attention means an action needs retry, verification, or recovery review

Use Activity before editing the rule. It shows why the outcome reached that state and what to check next.

Checklist

A rule is ready when

  • the target scope is narrow enough to review
  • the trigger uses metrics available for that target
  • the outcome matches the risk: Alert Only, Auto-execute, or Auto-execute + Alert
  • connected accounts and exact campaign identities are ready for provider changes
  • notifications go to the right people
  • caps, cooldowns, numeric guardrails, and execution windows match the possible impact
  • the simulation result makes sense before activation

Was this page helpful?