CopyHero

Test Trigger Route

POST
/api/v1/monday/triggers/{trigger_id}/test

Preview a saved trigger's JobStartInput against a Monday item without starting a workflow.

Uses the board's first item when the caller does not supply one. When folder sync is enabled, an existing active projection is injected read-only.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

trigger_id*Trigger Id

Request Body

application/json
  1. body

Optional override item payload for POST /triggers/{id}/test.

When omitted the route fetches a real sample item from Monday via items_page(limit: 1).

item?|null

Response Body

Successful Response

application/json
  1. response
job_start_input*|

The workflow input row a run would start with; null when a field failed.

fields?
expression_errors?

Per workflow input, why its mapping failed on this item. A run with any error fails instead of starting a workflow.

not_previewable?array<string>

Workflow inputs whose expression reads event, which only a real run has. The preview skips them and leaves job_start_input null.

item_id*|

The item the mapping was rendered against; null when the board has no items and only compile errors could be checked.

item_name?string|null
job_start_payload?|null
Example Request
curl -X POST 'https://app.copyhero.app/api/v1/monday/triggers/0/test' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "job_start_input": {},  "fields": {    "property1": {      "value": null,      "source": "mapped"    },    "property2": {      "value": null,      "source": "mapped"    }  },  "expression_errors": {    "property1": "string",    "property2": "string"  },  "not_previewable": [    "string"  ],  "item_id": "string",  "item_name": "string",  "job_start_payload": {}}