Skip to main content

Monday.com Integration

Connect Agnox to Monday.com to create board items from failed runs (hosted, Playwright reporter or JUnit/Allure upload). You can create them from the Investigation Hub or from the AI Auto Bug modal, so your board tracks your test failure triage.


Capabilities​

FeatureDescription
On-demand item creationCreate a board item from any failed run via the Investigation Hub drawer, the Executions list or the Auto Bug modal
Readable defaultsItem name Failed run: <run name> (falls back to the run group, then the run ID); the description (run metadata, error, log snippet) is posted as an update on the item
Clean textANSI colour codes stripped and secrets redacted in the modal and again on the server
Bidirectional linkageThe item ID and its workspace URL (https://<your-org>.monday.com/boards/…/pulses/…) are written back to execution.mondayItems[]
Test ConnectionChecks the token can see the board (and the group, if set)
Mandatory columnsOptional default column values sent with every new item, for boards with required columns or validation rules
Visual column builderAfter Load Board Columns, pick the default group by name and set default column values with type-aware controls — no JSON or IDs to copy
Per-item fieldsThe Create Item modal shows the group and the default columns, pre-filled and editable for each item, and can add any other writable column
People pickerSet people columns such as Owner by searching for a person or team by name
Stale link clean-upLinked items that were deleted or archived on Monday.com are marked, and any item can be unlinked from the run
Actionable errorsWhen Monday.com rejects an item (DATA_VALIDATIONS_ERROR), the message names each failing column and rule

Prerequisites​

  • A Monday.com account with Member or Admin access to the target board.
  • A Monday.com API token.
  • The numeric Board ID of the board that will receive items.

Step 1 — Generate a Monday API Token​

  1. In Monday.com, click your avatar → Developers → My access tokens (or Administration → Connections → API for admins).
  2. Copy the token. Store it securely.

:::info Token scope Monday personal tokens have access to every board the user can see. Use a dedicated service account for team-wide integrations. :::


Step 2 — Find Your Board ID​

  1. Open the target board in Monday.com.
  2. Look at the URL: https://your-org.monday.com/boards/<BOARD_ID>.
  3. Copy the numeric BOARD_ID.

Step 3 — Configure in Agnox​

  1. In the Agnox dashboard, go to Settings → Connectors.
  2. In the Monday.com card, fill in:
FieldValue
API TokenThe token from Step 1. Leave blank on later edits to keep the stored token
Board IDNumeric board ID from Step 2 (non-numeric values are rejected)
Group ID(Optional) Put new items in a specific group (e.g. topics); letters, numbers, _ and - only. After Load Board Columns this becomes a dropdown of the board's groups
Default column values(Optional) Values for required columns — set them with the visual builder or as JSON — see Mandatory columns
  1. Click Save Configuration. The card shows a Connected badge.
  2. Click Test Connection to check that the token can see the board and group.

You can change the board, group or default column values later without re-entering the token.


Load Board Columns​

After the integration is saved, admins see a Load Board Columns button under Board ID. It reads the board with the stored token (nothing is saved by loading) and turns on:

  • Group dropdown: Group ID becomes a list of the board's groups by name; choose Board's top group to leave it empty.
  • Default column values builder.
  • A collapsible reference list of the board's columns: title, column ID (with a copy button), type and a preview of status / dropdown labels (at most 5, then +N more, so boards with hundreds of options stay compact). Only writable columns are listed by default; tick Show read-only columns to see the rest. Groups are listed with their IDs too.

If the Board ID field holds a different numeric ID than the saved one, that board is loaded instead, so you can check a board before switching to it.

Read-only columns are the ones create_item cannot set: name, mirror / lookup, item_id, last_updated, subtasks, file, doc / direct_doc, board_relation, formula, creation_log, auto_number, button, dependency, progress, item_assignees, time_tracking, vote (including the legacy names older API versions report, e.g. pulse-id).


Default column values builder​

With the board loaded, Default column values shows one row per default column and an Add column search (by title or ID; only writable columns are offered). Each column gets a control for its type:

Column typeControlSaved as
statusSingle choice from the status labels{"label": "Bug"}
dropdownSearchable multi-select (type to find options; at most 8 matches are shown at a time){"labels": ["Checkout"]}
text / long_textText input / text area"Reported by Agnox"
numbersNumber input"5"
checkboxToggle{"checked": "true"}
peoplePeople picker: search by name or email, pick any number of people and teams{"personsAndTeams": [{"id": 123, "kind": "person"}]}
Other writable types (date, email, link, …)Raw value: JSON or textas typed (JSON is parsed)

Advanced JSON (collapsed once the builder is available) holds the same values as JSON. The two are always in sync: edits in the builder rewrite the JSON, and JSON you type or paste updates the builder. If the JSON is invalid, the builder asks you to fix it first. Click Save Configuration to store the values.

People columns​

For a people column (for example Owner), the settings builder and the Create Item modal list the board's subscribers, the account's users and its teams. If the API token may not read one of these lists, the others are still offered. If none can be read, the column takes the raw JSON value instead and a note says so.

In JSON, kind is person or team and id is the numeric Monday.com ID. {"personsAndTeams": []} sets nobody. Malformed entries are rejected when saving and when creating an item.


Mandatory columns​

Boards can have required columns or validation rules (Pro/Enterprise). Monday.com then rejects items created without valid values for them, with DATA_VALIDATIONS_ERROR. To satisfy them, give Agnox default values in Default Column Values (JSON): a JSON object keyed by column ID (from Load Board Columns), in Monday.com's column_values format.

{
"status": { "label": "Bug" },
"text_mm1pecmq": "Reported by Agnox",
"numeric_mm1pddwd": "5",
"date4": { "date": "2026-12-31" },
"dropdown_mm1": { "labels": ["Checkout"] }
}
  • Status columns take a label text ({"label": "Bug"}) or a label ID ({"index": 1}; the ID is shown on hover in the column list).
  • The values are sent with every item Agnox creates on this board, unless the person creating the item changes them (see Creating Items).
  • Rules: a JSON object (not an array or a single value), 16 KB at most, top-level keys must be column IDs (letters, numbers, _ and -). The card checks this before saving and the server checks it again; control characters are removed from text values.
  • Leave the field empty (or remove every row in the builder) and save to stop sending column values.

Creating Items​

Open a FAILED, ERROR or UNSTABLE run and click the Monday.com button in the execution drawer (or Submit to Monday from the AI Auto Bug modal). The shared issue-tracker modal opens; if the run already has linked items it lists them first. Edit the item name and description and click Create Item.

Below the description, the modal loads the board's columns and shows:

  • Group, pre-selected with the saved group.
  • One field per saved default column, pre-filled, using the same type-aware controls as the builder. Click Create Item right away, or adjust values such as Priority, Product, Environment or Expected / Actual result for this bug. Removing a field (×) leaves that default out for this item only.
  • Add field: search any other writable column of the board and fill it for this item only.

Dropdowns with many options are searched inline, so the modal stays compact. The settings are never changed from the modal.

The fields come from GET /api/integrations/monday/form-metadata, which anyone who can create items (Admin and Developer roles) may call. It always uses the organization's saved board and token — never a board ID or token from the request — and returns only writable columns, the groups and the saved defaults. If it cannot be loaded (Monday.com unreachable, integration changed), the modal shows a short note and falls back to item name + description; the saved group and defaults still apply.

Linked items​

When a run already has Monday.com items, the modal lists them first. For Admins and Developers it also checks their current state on Monday.com:

  • Deleted: the item was deleted, or the API token can no longer see it. Open is disabled.
  • Archived: the item was archived. Open still works.

Click Unlink to remove an item from the run. This only removes the link in Agnox; the item on Monday.com is not changed. If the state cannot be checked, the links are shown without badges.

What Gets Created​

Agnox calls the Monday.com GraphQL API (https://api.monday.com/v2) with:

  1. create_item, with the board, the group, the item name and the column values passed as GraphQL variables ($boardId: ID!, $groupId: String!, $itemName: String!, $columnValues: JSON), selecting { id name url }. The group is the one chosen in the modal, else the saved group. The column values are the modal's values merged over the saved defaults (the modal's win; a removed default is left out). Without a group or column values, group_id and column_values are left out entirely. Nothing is pasted into the query text.
  2. create_update on the new item with the description ($itemId: ID!, $body: String!), converted to simple HTML (line breaks and bold kept, HTML escaped). If only this step fails, the item is still created and linked, and the modal shows a warning that the description could not be added.

Load Board Columns runs boards(ids: $boardId) with $boardId: [ID!]! and reads each column's settings (or settings_str when MONDAY_API_VERSION is pinned before 2025-10).

Requests send the required API-Version header. The default is the current stable version (2026-10). Self-hosted deployments can pin another version with the MONDAY_API_VERSION environment variable (format YYYY-MM). Every request times out after 10 seconds.

The item ID and URL are stored on the run (mondayItems[]) so you can go from the dashboard straight to the board item.

The link is the url that create_item returns, which points at your workspace: https://<your-org>.monday.com/boards/<board>/pulses/<item>. Only https links on a *.monday.com workspace subdomain are accepted. If Monday.com returns none, Agnox reads your account slug (account { slug }) and builds the same link. If neither is available the item is still created and linked to the run, just without a link — Agnox never stores a bare monday.com/boards/… link, which opens a 404 page. Items created before this change may still have such links.

API: per-item values​

POST /api/monday/items accepts, besides title, description and executionId:

FieldDescription
groupId(Optional) Group for this item; empty or omitted uses the saved group. Letters, numbers, _ and - only
columnValues(Optional) Object keyed by column ID, merged over the saved defaults (these keys win; null removes a default for this item). Same rules as the defaults: a JSON object, 16 KB at most (also after merging), column-ID keys, no $, . or prototype keys; control characters are stripped

API: linked items​

Both endpoints require the Admin or Developer role.

EndpointDescription
POST /api/integrations/monday/items-statusBody { "itemIds": ["123"] }, 1 to 50 numeric IDs. data maps each ID to active, archived, deleted or unknown (Monday.com could not answer)
DELETE /api/executions/:taskId/monday-items/:itemIdRemoves the link from the run and returns the remaining mondayItems

Troubleshooting​

MessageLikely Cause
Monday.com API error 401: authentication failed — check the API tokenToken is invalid or revoked
Board <id> was not found or is not visible to this tokenBoard ID is wrong, or the token's user doesn't have access
Group "<id>" does not exist on board …The Group ID doesn't exist on that board — leave it blank to use the default group
Monday.com Board ID must be numericPaste only the number from the board URL
Monday.com did not respond within 10 secondsMonday.com was slow or unreachable — try again
Data validation error [DATA_VALIDATIONS_ERROR]: 'Amount' must be at least [5] (column numeric_mm1pddwd)The board has required columns or validation rules. Add a valid value for each listed column in Default Column Values (JSON)
Default column values must be valid JSON / … a JSON object keyed by column IDFix the JSON in the card, or use Load Board Columns and the visual builder
Column values … / Column values (with the saved defaults) must be 16 KB or lessA per-item value sent to POST /api/monday/items broke the same rules; shorten long text values
The modal shows Board columns could not be loadedThe item can still be created with the saved group and defaults. Check the integration with Test Connection
The created item has no Open linkMonday.com returned no workspace link and the account slug could not be read; open the item from the board
The item was created, but its description could not be added: …The item exists and is linked; only the description update failed. Add the details on the item in Monday.com