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

# What can start a campaign

> Every trigger Hamla can start a campaign from — on your website, from your store, from a connected app, or from an event you send.

<Info>This page is generated from the source of truth in code. Edits here are overwritten — change the tool definition or plan config instead.</Info>

A campaign needs a moment to start from. These are all of them. Anything not on this page cannot start a campaign today, however sensible it sounds.

## On your website

Read by the script tag, as it happens. Popups and on-site notifications can only start from these, because they need somebody to be on the page.

| Trigger            | Event name         |
| ------------------ | ------------------ |
| Exit Intent        | `exit_intent`      |
| Idle (No Activity) | `idle`             |
| Scroll Depth       | `scroll_depth`     |
| Time on Page       | `time_on_page`     |
| Time on Site       | `time_on_site`     |
| View Product       | `view_product`     |
| Add to Cart        | `add_to_cart`      |
| Remove from Cart   | `remove_from_cart` |
| Cart Abandoned     | `cart_abandoned`   |
| Click Element      | `click`            |

## From your store or your system

Facts about an order or a customer rather than a browsing session. A connected store reports them for you; on anything else you send them yourself.

| Trigger         | What it means                                                                                       | Comes from                       |
| --------------- | --------------------------------------------------------------------------------------------------- | -------------------------------- |
| Price dropped   | When a product price drops, the message automatically reaches everyone who viewed or wishlisted it. | Salla, Zid                       |
| Back in stock   | When a product is back, the message reaches everyone who viewed it while it was out of stock.       | Salla, Zid                       |
| Low stock       | When a product is about to run out, the message reaches everyone who viewed or carted it.           | Salla, Shopify, WooCommerce, Zid |
| Order shipped   | The message reaches the customer who placed the order.                                              | Salla, Shopify, Zid              |
| Order delivered | The message reaches the customer who placed the order.                                              | Salla, Zid                       |
| Birthday        | The message reaches the contact on their birthday, once a year.                                     | Hamla                            |

<Note>Only triggers that something actually fires are listed. The product defines a few more that no code emits, and a campaign built on one of those would never send anything — so they are left out on purpose.</Note>

## From a connected app

Something happening in a tool you have connected.

| App          | Trigger               | Plan    |
| ------------ | --------------------- | ------- |
| Calendly     | Appointment booked    | Starter |
| Calendly     | Appointment cancelled | Starter |
| Facebook     | Keyword matched       | Starter |
| Google Forms | Form submitted        | Starter |
| Hamla Link   | Hamla Link submitted  | Starter |
| Instagram    | Keyword matched       | Starter |
| Meta Ads     | Lead submitted        | Starter |

## From Hamla itself

Two first-party triggers. Neither needs a connection — they are the product itself.

| Trigger                  | What it means                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------------ |
| Someone enters a segment | Fires the moment a contact starts matching a segment you built.                                        |
| An event you send        | Any event name your system sends. The vocabulary is yours — Hamla does not need to know it in advance. |

## On a schedule, or by hand

For campaigns that do not wait on anybody: a recurring time, a one-off date, or you pressing send.

| Trigger    | What it means                                |
| ---------- | -------------------------------------------- |
| A schedule | A recurring time, or a single date and time. |
| Manual     | You pick the audience and press send.        |
