> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autoadify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Triggers

> Decide when a workflow runs: on a schedule, with a random product, or when your store adds a product.

Click the **Trigger** card at the top of a workflow to choose one.

| Trigger | Runs | Best for |
| - | - | - |
| Schedule | Daily, weekly, biweekly or monthly at a set time | Engagement posts, tips, quotes, brand updates, posts from your library |
| Random product | On a schedule, featuring a different store product each run | Product of the day, keeping your catalog visible |
| Shopify: New product | The moment a product goes live in Shopify | Launch announcements |
| WooCommerce: New product | The moment a product is published in WooCommerce | Launch announcements |
| Wix: New product | The moment a product is added to your Wix store | Launch announcements |
| Square: New item | The moment an item is added to your Square catalog | Launch announcements |
| Monitor post | When a post's likes, comments or other numbers grow | Following up on a post that's taking off |

## Schedule

Pick the **Frequency** (Daily, Weekly, Biweekly, Monthly), the **days** for weekly and biweekly, the **Time**, and your **Timezone**.

![Schedule trigger](https://mintcdn.com/autoadify/3D-Du4b-F2I1oS_q/help/images/07-trigger-schedule.png?fit=max\&auto=format\&n=3D-Du4b-F2I1oS_q\&q=85\&s=04a01558ca09e349bdc354ada82f14ed)

Schedule trigger: daily at 8:00 AM Eastern

A schedule on its own has no product or photo. Use the steps to make everything: an AI caption, an AI image, or a photo from your library. See [Recipes](https://docs.autoadify.com/help/features/workflows/recipes.md).

## Random product

A schedule that features **one product from your store each run**. Every product gets a turn before any repeats, and each one is checked with your store first, so you never post something that's gone.

![Random product trigger](https://mintcdn.com/autoadify/3D-Du4b-F2I1oS_q/help/images/07-trigger-random-product.png?fit=max\&auto=format\&n=3D-Du4b-F2I1oS_q\&q=85\&s=60e2d3acd2ce55d100c5c8c402204947)

Random product trigger: pick the store and keep it to products in stock

* **Store:** Any, or one of Shopify, WooCommerce, Wix, Square or Other store.
* **Only products in stock:** on by default.
* The product's name, price, description, link and photo are available to every step (see [variables](https://docs.autoadify.com/help/features/workflows/steps.md#product-variables)).

**Post the product's own photo:** set the **Include image** step's source to **Product image**. Each run then posts that day's product with its real store photo, and costs only the caption and hashtags (about 4 credits).

![Include image using the product image](https://mintcdn.com/autoadify/3D-Du4b-F2I1oS_q/help/images/07-random-product-image.png?fit=max\&auto=format\&n=3D-Du4b-F2I1oS_q\&q=85\&s=0d6cf750d75d5a01eb61fb7bdb78664c)

Include image set to Product image: every run posts the featured product's own photo

Want a video instead? Add **Include video → Animate an image → Product image**. See [Product of the day as a video](https://docs.autoadify.com/help/features/workflows/recipes.md#4-product-of-the-day-as-a-video).

## New product (Shopify, WooCommerce, Wix, Square)

Runs the moment a new product appears in your connected store, so a launch post goes out without you lifting a finger.

![New product trigger](https://mintcdn.com/autoadify/3D-Du4b-F2I1oS_q/help/images/07-workflow-steps.png?fit=max\&auto=format\&n=3D-Du4b-F2I1oS_q\&q=85\&s=9275a87400b60cbfbe7d030201ff5340)

A Product Launch workflow on the Shopify new-product trigger

**1. Connect your store**

Connect it under **Your store** first. See [Your store](https://docs.autoadify.com/help/features/your-store.md).

**2. Pick the store's trigger**

Shopify, WooCommerce, Wix or Square.

**3. Use the product in your steps**

Set **Include image** to **Product image**, and mention `{{trigger.product.name}}` in your caption prompt.

> [!TIP]
>
> Adding a lot of products at once? Set Publish timing to **Delay** or **Save as draft** so your feed isn't flooded in one go.

## Monitor post

Watches one of your published posts and runs the workflow when it starts getting attention. Use it to hear about a post that's taking off while it's still hot, or to follow it up automatically.

### Set it up

**1. Pick the trigger**

Click the **Trigger** card and choose **Monitor post**.

**2. Choose the post to monitor**

Under **Post to monitor**, pick one of your posts. Only posts that have been **published** are listed, because drafts and scheduled posts have no numbers yet.

**3. Set how often to check**

**Check every** sets the gap between checks, from 1 to 168 hours (one week). The default is 6 hours.

**4. Choose what counts as growth**

Under **Alert when these grow**, pick one or more of **Likes**, **Comments**, **Shares**, **Impressions**, **Reach** and **Clicks**. Likes, comments and shares are picked by default.

**5. Set the threshold**

**Minimum increase to alert** is how much a number must grow **between two checks** for the workflow to run. The default is 1.

**6. Add your steps and activate**

Add what should happen, for example **Send alert**, then click **Activate**.

### How the checks work

* **The first check only takes a reading.** It records the post's current numbers and doesn't run anything. Runs can start from the second check.
* **Each check compares with the one before**, not with the day you published. With *Check every 6 hours* and a threshold of 20 likes, the workflow runs when the post gains 20 or more likes in a 6-hour window.
* **It can run more than once.** As long as the post keeps growing by the threshold, it runs again at each check. It stops on its own when growth slows.
* **Any one picked number is enough.** If you watch likes and comments, either one reaching the threshold runs it.
* **A post on several platforms** is measured as the total across all of them.
* **Checking is free.** You only pay credits for steps that generate something, such as a caption or image.

> [!TIP]
>
> Pick a threshold that means something for your account. If your posts usually get 10 likes in a day, *+25 likes in 6 hours* is a real spike. A threshold of 1 runs at almost every check.

### Variables you can use in steps

| Variable | Becomes |
| - | - |
| `{{trigger.post.title}}` | The first line of the watched post |
| `{{trigger.triggered.metric}}` | The number that grew most, for example *likes* |
| `{{trigger.triggered.increase}}` | How much it grew since the last check |
| `{{trigger.delta.likes}}`, `{{trigger.delta.comments}}`… | Growth of one specific number since the last check |
| `{{trigger.metrics.likes}}`, `{{trigger.metrics.comments}}`… | The post's current totals |

Use `{{trigger.triggered.metric}}` and `{{trigger.triggered.increase}}` in alerts. They always describe whatever actually grew, while `{{trigger.delta.likes}}` reads 0 when it was comments that moved.

**Example alert:** *"`{{trigger.post.title}}`" just got +`{{trigger.triggered.increase}}` `{{trigger.triggered.metric}}`. It now has `{{trigger.metrics.likes}}` likes and `{{trigger.metrics.comments}}` comments.*

### Good to know

* **One post per workflow.** To watch several posts, make a workflow for each.
* **Numbers depend on the platform.** Some platforms don't share every number; Bluesky has no impressions, for example. Pick metrics you can see for that post under **Analytics**.
* **Numbers arrive with a delay.** Platforms update their counts over time, so a check may not see a like from a minute ago.

See the [Monitor post recipes](https://docs.autoadify.com/help/features/workflows/recipes.md#9-alert-me-when-a-post-takes-off) to get started.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.