# setEmployeeTriggerForms

Set which forms wake an AI employee when someone submits one. `formIds` REPLACES the set (ids from listEmployeeChannelOptions; every one must be this organization's); `[]` means no form wakes it. A form that is not live yet wakes it once it goes live. On an employee that is switched on it takes effect on its next run: needs their yes; a card’s counts.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "setEmployeeTriggerForms", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `employeeId`: `ID!` (required)
- `formIds`: `[ID!]!` (required)

## Response (data, an example)

```json
{
  "aiEmployeesMutation": {
    "setContactAgentTriggerForms": {
      "id": "<ID>",
      "triggerForms": [
        {
          "id": "<ID>",
          "name": "…",
          "status": "…"
        }
      ],
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "setEmployeeTriggerForms",
    "variables": {
      "employeeId": "<employeeId>",
      "formIds": [
        "<formIds>"
      ]
    }
  }'
```
