Welcome to the new monday developer community
-
Recently active
Is anyone aware of a way to update a single column with a new value for all items in a board, with a small number of GraphQL mutations? I don’t see anything suitable in the GraphQL API without having to make N mutations, one for each item in the board, which I’d like to avoid if possible. I wonder if anyone else has hit this problem and has come up with any creative solutions (Formula columns etc)? The create_column defaults option would be one option here, however it does not appear to work, and I see from GraphQL API: Hide columns (& general defaults) that it is recommended not to use it and “it is under revision at the moment”.
We have a board of “kits” I want the ability for our staff members to checkout kits. I would like to have a form with a dropdown where they can choose an available kit. So I am wondering, is it possible via the API to change the labels of a status column? This would help me get the functionality that I desire.
Is there a way for me to export a board to Excel through the API? Have the file passed to the requesting app, rather than downloading automatically? We have boards that we reuse each day, with a group at the top that always stays there, and the other groups get archived at the end of each day. We export all the boards to excel before archiving groups, to have a record of what happened each day. We then have a folder on the hard drive for each day, and move the excel files into it. I’ve just gotten Make.com set up to do some other things for me, and have started wondering if there’s a better solution, first for automating the export/archive process, and also possibly storing the excel files somewhere online where its easier to look through them. I realize I can grab all the data in a board and place it somewhere else, but wonder if that’s not just reinventing the wheel when the Export to Excel option already exists. I’d love to hear if anyone has any ideas of a better way to store and v
Hi! I’m trying to build a test integration but keep getting the same error when running the scaffold command in my commandline: “error: unknown option -t”. Any idea how to troubleshoot this? Node version is 16.16.0, NPM 8.14.0.
Hello everyone, I’m trying to figure out the best way to detect whether an item has changed since the last time i have looked at it via the GraphQL API. This is my situation, I am synchronizing a number of records between a SQL database and Monday. On the SQL side I have a field that contains the hash of the record content at the last time the record was synced to Monday and one dynamically changed with the hash as the record currently stands. This way i can easily compare the current status and determine if some change has occurred. I am looking for a similar method on the monday side. Of course I can store the current hash when writing to monday via API. I am looking for an easy way to detect any subsequent changes (without having to load all items and generate/compare hashes). Any idea? Has anyone solved this problem already? How? Thank you in advance.
{ "query":"{mutation(myItemName: String){ create_item (board_id:2364371628, group_id:XXXXXX, item_name:\\"New Leads\\", column_values: $variables) { id } }", "variables": {"email":"test2@test2.com","firstName":"test2", "lastName":"test2", "companyName":"test2", "phoneNumber":"1234567890", "message": "here is a sample message"} } I’m trying to pull lead data from Marketo and send it into Monday.com via a webhook but can’t figure out how to write the correct query? I’ve added my key to headers so I know it is working. “New Leads” is the group Name but not sure how to get the Group ID. What else am I missing and how do I fix the query? The error I am getting is: { "errors": [ { "message": "Unexpected end of document", "locations": [] } ], "account_id": 6562763 }
Hello! I’m working on a bash script to perform multiple automations in monday. The script is already able to create boards, create groups, create items in the correct group… the only thing missing now for me is to enter a value into a specific column for a new created item. Can someone maybe help with this? I’m new to the monday API or GraphQL API in general. This line of code works to create an item and I know the ID of the column I want to add a value in is “numbers”. What would I have to add to this line to do this? curl --location --request POST ''https://api.monday.com/v2'' --header 'Authorization: '$APIKey'' --header 'Content-Type: application/json' --header 'Cookie: __cfduid=d4512e647bd3dd90706f5673d6041f7c51618840981' --data-raw '{"query": "mutation { create_item (board_id: '$boardID', group_id: '$buildingPhaseID', item_name: \\"TEST ITEM\\") { id }}"}' Thanks in advance for your help with this!
I am new to Monday and wish to use data from external resources or databases to fill tables in dashboards on monday. Can anyone guide me through this or at least point me to the right direction?
Hello, I didn’t find the way to change the state of an item. My goal is to find an item in the recycle bin and move it to a new group in a board… thanks
Hi all, Random question I’m hoping someone may be able to help with. Our firewall team are currently trying to establish a connection between a Power BI on-premise server and the Monday.com API. They have opened up the firewall to allow 104.16.11.42, but are seeing denies on 20.190.159.64 and 40.126.31.71. Could someone please confirm if these IPs are part of api.monday.com/v2? Just need confirmation of the IP’s we should be whitelisting to establish the connection. Many thanks, Rich
For those that are familiar with JS/CSS, there are ways to hide specific elements on a website. On Chrome, specifically, I’ve had my team use the following extension:chrome.google.com I then added the following CSS .monday-board-subsets-tabs .monday-board-subset-item-v2:nth-child(2) { display: none; }``` This makes it so that the **second HTML Div / view** gets hidden. I did this because I have an overview set as default... Now this code clearly hides the main table view for everyone. Not sure if an app can be made to apply this conditionally based on each user but the Chrome extension itself allows you to enable/disable the functionality. I manually set this up on each team member's computer so they don't have access to the main view. I'd like to see Monday have this as an official solution based on user roles. Quick and easy solution, especially if they have it applied directly on their website for cross-browser support!
Hi there, We’re looking to use make.com (formerly integromat) to duplicate a group including items and updates. Seems the duplicate_group() mutation does not include updates which is super frustrating as we’re having to use updates for task descriptions due to the lack of a ‘task description’ field. Is there anyway to duplicate a group either through the API or otherwise and include the updates? We have integromat using the API to duplicate an item so worst case could we create a monday.com automation to duplicate the group when a new item is created? Thanks all, tried support first but they directed me here! Cheers Noel
We’re building a search tool that allows our customers to search for Monday.com Workspaces and Boards, as well as results from other software tools all in one place. I was hoping to learn if there is a Monday.com sandbox environment that allows us to test user-level permissions. The only information I had seen was on this discussion. Is there a way for us to test user-level permissions without an enterprise account?
Hi , when i am using the change_column_value with C# code with below string : string query = "{"query" : "mutation { change_column_value(board_id: " + boardId + “, item_id: " + itemId + " , column_id: \\"” + columnId + “\\", value: \\"” + value + “\\") { id } }"}”; it is working but when i am using the change_multiple_column_values with C# code below string : string query = "{"query" : "mutation { change_multiple_column_values(board_id: " + boardId + “, item_id: " + itemId + " , column_values: "{ \\"” + columnId1 + “\\" : \\"”+ columnValue1 + “\\",\\"” + columnId2 + “\\" : \\"” + columnValue2 + “\\"}") { id } }"}”; so its not updating the data and give the error The request was successful but contained no data so please if i am wrong so please correct me .
Greetings from the dystopia of nested backslashes. I hope to save you some trouble even if I myself am not fully free of it. Many Monday posts exist; however translating them into something executable for Google Apps script has not been obvious, which is unfortunate because Google Script is among the most accessible ways for casual users to leverage the Monday API for small tasks. Getting started is as easy as typing script.new into your browser address bar and following the prompts. Key insights thus far on Monday / Google Sheets integration: Across Monday boards, Column IDs vary for the exact same Column Name. No fetchColIDFromName kind of function exists; thus you’ll need to loop all columns and match on the expected name. The code block is not rendering properly in this venue, so please see getColIDFromName here Google Apps Script expects the word “payload” instead of “body” (see working examples at mondayintegration/monday.gs at main · bridge2ai/mondayintegration · GitHub) passi
Hi Everyone, I’m trying to use the API to input a url generated from on board elements into a link column in python. I’ve C&P’d my query as you can see the url and text for the link column are variables I’m unsure how to actually write the query so that the API understand what I’m sending. query = 'mutation ($boardID:Int!,$itemID:Int!,$colID:String!,$linkVal: JSON!) { change_multiple_column_values(item_id:[$itemID],board_id:[boardID],column_values:$linkVal)}' vars = { 'boardID':boardID, 'itemID':itemID, 'colID': colID, 'linkVal': { 'colID': {'url': itemURL, 'text': itemName} } } Full Code: boardID= myBoardID query = 'query ($boardID:Int!) {boards(ids:[$boardID]){items {id name}}}' vars={ 'boardID': boardID } data = {'query': query, 'variables': vars} r = requests.post(url=apiUrl, json=data, headers=headers) # make request itemsInjest=r.json() itemsDict=itemsInjest['data'] itemsVal=itemsDict['boards'] itemsURL = []
IN the output “{"query":"query { boards (ids: 2211958476) {owner{ id } columns { id title type }}}"}” I have one of the column { “id”: “people”, “title”: “CD”, “type”: “multiple-person” } with type “multiple-person” I need example how to write update this column [cURL Examples for API] like as examples on the (cURL Examples for API v2 :))
I build a Monday integration that gets data from an external source every day. When I use this integration on my own boards they work fine, but when I integrate the integration on the board of the company im working for the board won’t update and I get the error: "Permission Denied! Your token doesn't grant access to boards:write" The integration that the error returns is “Import data - Integration” (red underline in the screenshot). I checked the permissions for the full application I’m building. As you can see in the screenshot below I have the boards:write permission activated (blue arrow). So my question is: How could I get rid of this error? Is there a separate user permission that needs to be activated? Or am I missing something else? Thank you in advance!
Lately, I have a persistent problem caused when I try to upload data to a Monday Board via the GraphQL API. I know a similar problem when reading a board’s content, and using the “limit” param to overcome it. However, it happens not for reading content, but writing to the board. When I try to render a json response as I used to do for the past months, I receive an HTML snippet with the following strings: "cf-error-details cf-error-504"> <h1>Gateway time-out</h1> <p>The web server reported a gateway time-out error.</p> <ul> <li>Ray ID: XXX </li> <li>Your IP address: XXX </li> I use the following query to upload data: "mutation ($myItemName: String!, $columnVals: JSON!) { create_item (board_id:" + board_id + ", item_name:$myItemName, column_values:$columnVals, create_labels_if_missing: true) { id } }" Update: Likely I had to use group_id as well, as documented here: https://api.developer.monday.com/docs/items-querie
Hey all! We’re building an app that triggers notifications from the server side. We are using the graphql create_notification mutation, passing the user’s id, target_id (board_id) and text. As a token, we use one that is generated using the authorization flow. The notification’s text is showing as expected, but the title shows the user’s name and logo, instead of the App’s name and logo: Is it possible to use the App’s name? After all the action was made in the background by the App, and not by the user. Thanks!
Does anyone know if you can layer an external map onto of a Monday.com map? In Monday.com we have a map displaying all jobs to be scheduled and we have a seperate GPS tracking app showing the locations of our technicians I would love to be able to put the GPS app onto of the Monday.com map
Let me (re)introduce the Excellent Team rollup apps in this full (35 min) instruction video. Rollup Multiple Boards aggregates information from detail boards into real monday.com columns. The detailed boards are created from the master board based on monday.com templates. With the available integrations you can summarize almost any column form your detail board(s). Each item in the master board represents an entire detail board. With filtering you can easily define which items (default is ALL) from the detail boards are used in the master board. The RAG traffic light status column let you define the rules when a detailed board’s overall status is Red, Amber of Green. This is an existing app (over 500 customers). Rollup Subitems is a our latest app and aggregates subitem data into the parent item. This is a good alternative if you don’t want to use the standard “Show summary in parent” option because you have items that doesn’t have subitems and you want to enter the information directl
Hello, I apologize if this is already common knowledge, but I was unable to find an example of this in my search of the community. Essentially, I attempted to use the “items_by_column_value” query, utilizing the users’ Id as the “column_value” argument. I realize that the column value of a “person” column type is JSON, thus zero results. Please correct me if I am wrong, but there is no way to utilize wildcards in the argument. Is there an example of querying items by user?
Hi all, I am new to monday.com and also to GraphQL, so I had to figure everything from scratch. Currently I am developing app, where I need to upload file to specific database column. Columns looks like this: files_1 : { id: "files_1", text: "https://something.monday.com/protected_static/ID/resources/ID2/image.jpg", title: "Dedication Image", type: "file", value: (JSON.stringify value of text...) } When I want to access photo and display it on web, I need to query with assetID and then I receive publicURL. That was for querying. What I need is upload file from web to monday.com I triend every single solution that I had in mind or I found on google, but nothing helps me. Here is my function for uploading picture: var formData = new FormData(); formData.append("query", `mutation addFile{add_file_to_column (item_id: 3286592696, column_id: files_1, file: ${file}) {id}}`); formData.append('map', '{"image":"variables.file"}'); formData.ap
Hello every one, I need some help please. I use a simple board, an item is assigned to a group of person. This is the structure : {“name”:“Thing to do”,“column_values”:[{“id":“person”,“type”:“multiple-person”,“text”:"user1@mydom.com, user2@mydom.com”},{“id”:“status”,“type”:“color”,“text”:“Done”},{“id”:“timeline”,“type”:“timerange”,“text”:“2022-09-19 - 2022-10-01”},{“id”:“texte8”,“type”:“long-text”,“text”:“Good job”}]} I managed to folow the QuickStart PHP Api Guide and populate the main Label, the status and the last “text8” label. But I can’t manage to populate the timeline column and most of all, the person column. I think there is something about Person ID (I managed to find all the IDs). I tried this : $headers = ['Content-Type: application/json', 'Authorization: ' . $token]; $query = 'mutation ($myItemName: String!, $columnVals: JSON!) { create_item (board_id:XXXXXXXXX, item_name:$myItemName, column_values:$columnVals) { id } }'; $vars = ['myItemName' => 'Thing to do', 'co
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.