How a pause happens
A pause and a resume take the same path: Shopify reports a stock change, Guardified checks the guards for it, changes the ads on each platform, emails the recipients and records the result. This page follows that path and shows where each step appears in the app.
On this page
Section titled “On this page”- The path
- When Guardified pauses, and when it resumes
- Changing the ads
- Manual Pause and Manual Resume
- Timing
- See also
The path
Section titled “The path”- Shopify reports a stock change. When the available stock of an item changes at one of your locations, Shopify sends Guardified the new number for that item and location. Guardified records it in Logs › Webhooks.
- Guardified checks the guards. It looks for the active guards of that variant at that location and compares the new available stockAvailable stockThe quantity Shopify shows as available for a variant at one location, which is the number a guard compares with its pause threshold. Read more → with each guard’s threshold.
- The guard changes state. A guard that needs to act moves to Pause Pending or Resume Pending on Guards.
- Guardified changes the ads. It sends the pause or the resume to each ad targetAd targetA campaign, ad set, ad group or single ad on Meta Ads, Google Ads or TikTok Ads that a guard pauses and turns back on. Read more → of the guard, on each platform.
- Guardified emails the recipients. Each of the guard’s recipients gets one email. See Email notifications.
- The result is recorded. Each target’s result appears in Logs › Platform Actions, each email in Logs › Emails, and the guard moves on to its next state. See Guard states.
When Guardified pauses, and when it resumes
Section titled “When Guardified pauses, and when it resumes”For each active guard of the variant and location:
| The guard is | The new available stock is | Guardified |
|---|---|---|
| Monitoring | at or below the threshold | pauses the targets |
| Paused, with Auto-resume on | above the threshold | turns the targets back on |
| Paused, with Auto-resume off | above the threshold | does nothing; use Manual Resume |
| Pause Pending or Resume Pending | anything | does nothing: an action is already on its way |
Stock changes that don’t cross the threshold change nothing, and inactive guards are skipped.
Changing the ads
Section titled “Changing the ads”What Guardified sends to each platform:
| Platform | Pause sets the ad to | Resume sets the ad to |
|---|---|---|
| Meta Ads | Paused | Active |
| Google Ads | Paused | Enabled |
| TikTok Ads | Disable (off) | Enable (on) |
Guardified sends the change to the level you chose as the target: a campaign, an ad set or ad group, or a single ad.
Before it sends, Guardified renews a platform connection that is about to expire; the row’s Attempt count shows how many times the change was sent.
A resume sets every target of the guard to running, whatever state it was in before the pause.
Manual Pause and Manual Resume
Section titled “Manual Pause and Manual Resume”Manual Pause and Manual Resume on Guards start the same path at step 3, without a stock change. Their email shows Action source manual; a stock change shows shopify.
With Auto-resume on, the next stock change above the threshold turns the targets back on, after a Manual Pause too: if the stock is above the threshold when you pause by hand, the next stock change, a sale included, turns the ads back on. Turn Auto-resume off on the guard to keep them paused.
Timing
Section titled “Timing”Guardified acts shortly after Shopify reports the stock change. How soon Shopify reports a change is up to Shopify. Every step has its time in Logs: the stock update under Webhooks, the result for each ad under Platform Actions.
See also
Section titled “See also”