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

# TriggerInput



**Kind**: `input`

## Fields

**`_id`**: `String`

Unique trigger document id.

---

**`ns`**: `String`

Namespace, unique within the parent automation (`{automationNs}:{ns}`).

---

**`type`**: `String`

Trigger category (e.g. `event`, `schedule`, `webhook`). See [`automationCatalog`](/api-reference/queries/automationCatalog)`(input: { view: trigger })`.

---

**`event`**: `String`

Specific event name within `type` (e.g. `customers.tagged`).

---

**`automationId`**: `String`

Parent [`Automation`](/api-reference/types/Automation) `_id`.

---

**`automationNs`**: `String`

Parent automation's `ns`.

---

**`startNodeNs`**: `String`

Node this trigger starts execution at, when different from the automation's default `startNodeNs`.

---

**`config`**: `JSON`

Type-specific settings (schedule cron, webhook filters, integration scoping, etc.).

---

**`style`**: `JSON`

Canvas styling — opaque to execution.

---

**`icon`**: `String`

Icon identifier shown on the canvas.

---

**`isCustom`**: `Boolean`

Whether this trigger was hand-authored vs. generated by a template/import.

---

**`position`**: `JSON`

Canvas `{ x, y }` coordinates. Bulk-update with [`batchSavePositions`](/api-reference/mutations/batchSavePositions).

---

**`workflowId`**: `String`

Reserved for future workflow grouping; not currently populated.

---

**`isActive`**: `Boolean`

Whether the trigger currently fires. Toggle via [`triggersEdit`](/api-reference/mutations/triggersEdit).

---

**`integrationIds`**: `[String]`

Integration ids this trigger listens on, for triggers scoped to multiple integrations.

---

**`integrationId`**: `String`

Single integration id this trigger listens on, for single-integration trigger types.

---

**`integrationKind`**: `String`

Integration channel kind (e.g. `whatsapp`, `facebook`), denormalized for filtering/search.



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