Monday

Learn how to use Monday with Composio

Overview

SLUG: MONDAY

Description

Monday.com is a customizable work management platform for project planning, collaboration, and automation, supporting agile, sales, marketing, and more

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
string
bearer_token
string

Connecting to Monday

Create an auth config

Use the dashboard to create an auth config for the Monday toolkit. This allows you to connect multiple Monday accounts to Composio for agents to use.

1

Select App

Navigate to the Monday toolkit page and click “Setup Integration”.

2

Configure Auth Config Settings

Select among the supported auth schemes of and configure them here.

3

Create and Get auth config ID

Click “Create Integration”. After creation, copy the displayed ID starting with ac_. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database. This ID will be used to create connections to the toolkit for a given user.

Connect Your Account

Using OAuth2

1from composio import Composio
2from composio.types import auth_scheme
3
4# Replace these with your actual values
5monday_auth_config_id = "ac_YOUR_MONDAY_CONFIG_ID" # Auth config ID created above
6user_id = "0000-0000-0000" # UUID from database/application
7
8composio = Composio()
9
10
11def authenticate_toolkit(user_id: str, auth_config_id: str):
12 connection_request = composio.connected_accounts.initiate(
13 user_id=user_id,
14 auth_config_id=auth_config_id,
15 )
16
17 print(
18 f"Visit this URL to authenticate Monday: {connection_request.redirect_url}"
19 )
20
21 # This will wait for the auth flow to be completed
22 connection_request.wait_for_connection(timeout=15)
23 return connection_request.id
24
25
26connection_id = authenticate_toolkit(user_id, monday_auth_config_id)
27
28# You can also verify the connection status using:
29connected_account = composio.connected_accounts.get(connection_id)
30print(f"Connected account: {connected_account}")

Tools

Executing tools

To prototype you can execute some tools to see the responses and working on the Monday toolkit’s playground

Python
1from composio import Composio
2from openai import OpenAI
3import json
4
5openai = OpenAI()
6composio = Composio()
7
8# User ID must be a valid UUID format
9user_id = "0000-0000-0000" # Replace with actual user UUID from your database
10
11tools = composio.tools.get(user_id=user_id, toolkits=["MONDAY"])
12
13print("[!] Tools:")
14print(json.dumps(tools))
15
16def invoke_llm(task = "What can you do?"):
17 completion = openai.chat.completions.create(
18 model="gpt-4o",
19 messages=[
20 {
21 "role": "user",
22 "content": task, # Your task here!
23 },
24 ],
25 tools=tools,
26 )
27
28 # Handle Result from tool call
29 result = composio.provider.handle_tool_calls(user_id=user_id, response=completion)
30 print(f"[!] Completion: {completion}")
31 print(f"[!] Tool call result: {result}")
32
33invoke_llm()

Tool List

Tool Name: Add users to board

Description

Adds users to a monday.com board with a specified role.

Action Parameters

board_id
integerRequired
kind
stringDefaults to subscriber
user_ids
arrayRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Change simple column value

Description

Changes a specific column's value for a monday.com item using a simple string, suitable for text, status, or dropdown columns; can create new labels if `create labels if missing` is true for status/dropdown columns.

Action Parameters

board_id
integerRequired
column_id
stringRequired
create_labels_if_missing
boolean
item_id
integerRequired
value
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create a Monday board

Description

Creates a monday.com board; `template id` if used must be accessible, and `folder id` must be in `workspace id` if both are provided.

Action Parameters

board_kind
stringRequired
board_name
stringRequired
board_owner_ids
array
board_subscriber_ids
array
board_subscriber_teams_ids
array
description
string
folder_id
integer
template_id
integer
workspace_id
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create column

Description

Creates a new column with a specified type and title on a monday.com board.

Action Parameters

after_column_id
string
board_id
integerRequired
column_type
stringRequired
defaults
string
description
string
title
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create item

Description

Creates a new item on a monday.com board, optionally assigning it to a group and setting column values.

Action Parameters

board_id
integerRequired
column_values
string
group_id
string
item_name
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List Monday boards

Description

Retrieves a list of boards from a monday.com account, supporting pagination and filtering by state.

Action Parameters

limit
integerDefaults to 25
page
integerDefaults to 1
state
stringDefaults to active

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List board items

Description

Retrieves id, name, and state for all items on a specified monday.com board.

Action Parameters

board_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List users

Description

Retrieves a list of users from monday.com; an empty user list in the response 'data' field does not signify action failure.

Action Parameters

limit
integerDefaults to 25
page
integerDefaults to 1

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Move item to group

Description

Moves an item to a different group on the same monday.com board; the item and group must exist.

Action Parameters

group_id
stringRequired
item_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Update board

Description

Updates a specified attribute of an existing board on monday.com.

Action Parameters

board_attribute
stringRequired
board_id
integerRequired
new_value
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Archive board

Description

Archives a specified, existing, and unarchived board in monday.com; archived boards can typically be restored later.

Action Parameters

board_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Archive item

Description

Archives an existing monday.com item, moving it from active board views to the archive where it can be potentially restored.

Action Parameters

item_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Create group

Description

Creates a new group with the given `group name` on an existing monday.com board, identified by its `board id`.

Action Parameters

board_id
integerRequired
group_name
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete column

Description

Deletes a specified column from a monday.com board; this action is destructive and cannot be undone via the api.

Action Parameters

board_id
integerRequired
column_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete group

Description

Permanently deletes an existing group (and its items) from an existing board in monday.com.

Action Parameters

board_id
integerRequired
group_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Delete item

Description

Permanently deletes an existing monday.com item; this action is irreversible via the api.

Action Parameters

item_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Duplicate item

Description

Duplicates an item on a monday.com board, optionally including its updates.

Action Parameters

board_id
integerRequired
item_id
integerRequired
with_updates
boolean

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Get group details

Description

Retrieves details (id, title, color, archived/deleted status) for a specific group on an accessible monday.com board.

Action Parameters

board_id
integerRequired
group_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List columns

Description

Lists all columns and their properties for a specified monday.com `board id`; the board must exist.

Action Parameters

board_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: List items

Description

Retrieves specified subitems from monday.com using their ids, returning the raw json response.

Action Parameters

item_ids
arrayRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

Tool Name: Move item to board

Description

Moves a monday.com item to a specified board and group; requires the item, target board, and target group to exist.

Action Parameters

board_id
integerRequired
group_id
stringRequired
item_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired