Welcome to the new monday developer community
-
Recently active
Hi, I’m trying to update the board-relation value in an item. The column id I want to update is: ‘boards_verbinden9’, and it’s type is: ‘board-relation’. The item_id = ‘1281247162’ the contact_id (item_id from the item in the other board I want to connect it to) = ‘1281240291’ The query I’m using in Python is: query = ' mutation ($myItemID: ID!, $columnVals: JSON!) { change_multiple_column_values (item_id: $myItemID, board_id: 1274270217, column_values:$columnVals) { id } }' vars = {'$myItemID': item_id, 'columnVals': json.dumps({ "boards_verbinden9": f'{{"linkedPulseIds":[{{"linkedPulseId":{contact_id} }}]}}' })} data = {'query': query, 'variables': vars} monday_headers = {"Authorization": API-KEY, 'API-Version': '2023-10'} monday_apiUrl = "https://api.monday.com/v2" r = requests.post(url=monday_apiUrl, json=data, headers=monday_headers) r = r.json() And the error I’m obtaining is: {'errors': [{'message': 'Variable $myItemID of type ID! was provided invali
I’m using the function below to submit a new registration but it always fails if I uncomment out the email entry. All the other fields are being passed over to monday without issues, just stuck on email right now and would appreciate any help. function send_to_monday($userr) { $board_id = xxxxxxxxxx; $api_key = ''; $query = 'mutation ($item_name: String!, $column_values: JSON!) { create_item (board_id: '.$board_id.', item_name: $item_name, column_values: $column_values) { id } }'; $column_values = array( // Column values ); $variables = array( 'item_name' => $userr['fio'], 'column_values' => json_encode([ // 'email'=> ['email'=> $userr['email']], 'text0'=> $userr['magent'], 'text5'=> $userr['country'], 'text50'=> $userr['town'], 'text43'=> $userr['port'], 'text3'=> $userr['skype'], 'text10'=> $userr['about'], 'phone'=> $use
I would like to know if it is possible to display an information message using the monday.execute("notice", {..}) and add a href link into the information message.
Hi guys, I’m new to Monday.com and I’m investigating if I can call API to add comment to a task. I couldn’t find out answer from searching. So is it impossible ? Can someone help me with docs ?
According to the below article, rules and operators are specified separately:monday API docs From what I am understanding, you provide a list of rules to filter by as an array, and the overall operator between the rules. Is it possible to specify multiple rules and operators between rules? For example to apply a filter like the below in GraphQL: (name = ‘test’ AND status=‘done’) OR (otherColumn=‘0’) Or can you only resolve filters with only one type of condition between all rules (either AND or OR)?
With the ability to chat inside monday - Lucid is the #1 charting application and is now available on monday.com with chatting capabilities. Download link - Lucid Hub Using the Lucid Hub app, you can embed your charts and chat right into your: ✅ Board views ✅ Custom Objects ✅ Dashboard views ✅ Items Views. In addition, you can easily chat on your documents and charts and stay in sync with your entire team. Keep designers, developers, and the rest of your team in sync! Unlike sharing screenshots and exports, the app will embed a live version of your design which updates in real-time to reflect changes made in the Lucidchart and Lucidspark files - no manual updates required. To get started: Share your Lucid file URL Copy the link Paste it into monday.com binatica.com
We aren’t seeing any data come through for account_max_users or account_tier in the webhook for installs or free trials This information would really help us score these leads and understand revenue potential Thanks
hi guys, I am using the new Items page by column values API. I see that email is not one of the supported types. Just wondering how I should lookup an item based on an email address? thanks, Kevin
Having some trouble trouble shooting my error. I’ve read through a few other solutions to what I believe the problem I am having, but have yet to find a solution. Is column_type not a String? I am creating columns with the following code: Note, I am using python=3.10 def create_columns(board_id, title, column_type, default_values=None): if default_values: vals_dict = {} for cnt, vals in enumerate(default_values): vals_dict[cnt + 1] = vals status_values = {"labels": vals_dict} else: status_values = '' query = """ mutation ($boardId: ID!, $titleName: String!, $columnType: String!, $defaultValues: JSON) { create_column( board_id: $boardId title: $titleName column_type: $columnType defaults: $defaultValues ) { id } } """ variables = { 'boardId': board_id, 'titleName': title, 'columnType': column_type, 'defualtValue
Hey ya’ll, I don’t really know who’s library this is but it has been immensly helpful for my projects/clients and I would love it if we could get more community involvement in developing the library pip install mondayGitHub It’s actually saved me hours from what I was doing before so give it a try!
I need to first extract all the data using Python from a specific board and parse it so that each item from the board is on a different line. Here is my code-> import requests import json apiKey = “my api key” apiUrl = “https://api.monday.com/v2” headers = {“Authorization” : apiKey} query2 = ‘{boards (ids: 2257165976) { name id description items { name column_values{title id type text } } } }’ data = {‘query’ : query2} r = requests.post(url=apiUrl, json=data, headers=headers) # make request print(r.json()) Now, I do get all the items in the output but I’m not sure how to put each of them in different lines. Could someone please modify my code so that I get the desired output please?
Hello, I’m contacting you because I would like some clarification on an API-related matter. I wanted to know if it’s currently possible with the “Items_page” function to filter two or more names from a dropdown menu. If so, how? I tested it with this format: “[{column_id: “scrolling_Menu”, compare_value: [“word1”, “word2”], operator: contains_text}]”, but only the information for “word1” is displayed, and “word2” is ignored. I know it works with individuals or text because it worked during testing and in the documentation. Sincerely, Delépine Tom
Hi, why this query works nice in the API but not in the Javascript-react view App.js? … … … … monday.api(‘query{boards(ids:1234567890){name id groups(ids:“topics”){title id items_page{cursor items {id name column_values {id text value }}}}}}’, ) .then(res => { this.setState({boardItems: res.data}); … … … … The result is: There was an error in response from monday.com graphql API: [{“message”:“Field ‘items_page’ doesn’t exist on type ‘Group’”,“locations”:[{“line”:1,“column”:68}],“path”:[“query”,“boards”,“groups”,“items_page”],“extensions”:{“code”:“undefinedField”,“typeName”:“Group”,“fieldName”:“items_page”}}] The version is: “data”: { “version”: { “kind”: “stable”, “value”: “2023-10” } }, Thanks
This is my main board: This is my SubItems board in the API response. When I query my subitems board, it returns two items. One with a parent and one without a parent. Is this expected behavior? One of them has the name “123” as shown in the UI, the other has a name of “Subitem”.
Hello, since a few month we noticed a different behaviour on our custom apps, loaded from an url in item view. All custom apps are loaded twice, every time. Before it was just once, as expected. To reproduce the issue, I’ve created a blank app and just added an url from webhook.site to observe the requests. As you can see, the app sends 2 identical requests. Sometimes one of the requests does not have the “sec-fetch-user” header, sometimes one of them does. As a result it creates often confusions for the users as the app reloads after it has already been rendered. Is that a known issue / is there a way to prevent the reload? Thank you very much. Regards, Sergei
Hi there Just would like to know if it is in any way possible to use the name of a column as an argument in the items_page_by_column_values API instead of the column_id, which in this case is the generic “text”, “status”, etc. I don’t see anywhere in the documentation that it can’t be done and it would be super helpful if it can be. In the example above, I’d like to filter where Date Estimated is 4 October. Querying 4 October gives all 3 items with date 4 October. If it isn’t possible to use the name of the column instead of column_id, how could I filter to get the Date Estimated = 4 October specifically? This is just an example of an implementation I’m trying to code; the actual problem is similar just more complex. I’m helping out a customer and they complained about the readability of the code when using the API. For what they’re trying to do, and the structure of their boards, “coulmn_id = monday column type” wouldn’t help readability at all. So, is it possible? Thanks!
I have the same problem, I’m trying to change to the new settings, but that’s not what I can do, can anyone help? const mondayClient = initMondayClient(); mondayClient.setToken(token); console.log ('Item ID:', itemId); // Query 1 to get optvalue const query1 = `query($itemId: ID, $typeColumnId:String, $statusId: String) { items(ids: [$ID]) { column_values(ids: [$typeColumnId, $statusId]) { value } } } `; //const query1 = `query($itemId: [Int], $typeColumnId: String, $statusId: String) { items(ids: $itemId) { column_values(ids: [$typeColumnId, $statusId]) { text } } }`; const variables1 = { typeColumnId, boardId, itemId, statusId, textValue }; console.log ('variables1',variables1); with this error variables1 { 2023-10-24T15:01:43.795051643Z typeColumnId: 'opportunity_id', 2023-10-24T15:01:43.795055843Z boardId: 5341381563, 2023-10-24T15:01:43.795059243Z itemId: 5383449058, 2023-10-24T15:01:43.7950624
Hello, I am trying to create a webhook in monday that will commnicate with api gateway and lambda from aws but I am having troubles returning the challenge.
Hello, I am integrating my monday app to an api gateway on aws. But all external requests will need security applied to access the api gateway and therefore send the dedicated api key in the headers. How can do to set the actual api key from the aws api gateway on the requests send by my monday webhook ?
Hi, I’m sure I am missing something obvious but I have this code which works fine in the API playground { boards(ids: 12345678) { items_page( limit: 500 query_params: {rules: [{column_id: “people8”, compare_value: [“Alex”], operator: contains_text}]} ) { cursor items { id name column_values { column { title } text } } } } } but replicated in Postman { “query”: “query { boards (ids: 12345678) { items_page (limit:500, query_params: {rules: [{column_id: “people8”, compare_value: [“Alex”], operator: contains_text}]}) { cursor items { id name column_values { column{title} text}}}}” } I get a 500 Internal Server error, Can anybody help Thanks
Hi Monday support and Monday Dev community, I wanted to know if there is a way we can roll-back a Major release. Our team had a major backend api services overhaul and those api services will only work when the users upgrade their current item-view to new item-view. Since, our team Published a Major version (Item-view), all the api services will work properly only when the customers update their Item-view. This is because the code-base of our Backend is up-to date but the item-view that is of old version will still call the older API services causing the application to fail. Do let me know. Thank you. Regards, Rasil.
I like to use dynamic mapping https://developer.monday.com/apps/docs/dynamic-mapping a lot but it is frustrating that it does not support file mappings. I will like to understand why file (pdf, images etc) mapping is not a feature in dynamic mapping. I will also like to hear from developers if there are any known workarounds to map files from an external system to monday.com.
I want to delete multiple items in one API call, something like the following: mutation{ delete_item(item_id: 5406008582) { id } delete_item(item_id: 5406008601) { id } }
Hello Everyone, I am creating a custom form and when i was running ‘npm start run’ but it was just showing “WARN: retrying connection to the server” continuously, so i searched for this issue then i got to know that we can run the app feature using ngrok so i also installed and configured ngrok but now when i run ngrok http 3000 and after opening the local server its only showing this -
Need to Duplicate my workspace for each of my clients. I have to many boards for the “save as template” feature (due to lack of monday.com functionality for the sales CRM) So i created an app. Very easy process, saves all my boards, amazing, adds all of them on any workspace. However, it chooses to ignore the folders. So every time i apply this workspace app api I would have to sort out a total of 20+ boards in folders??? With the amount we are growing, this operational drag would be lengthy enough for us to use a competitor that does not need its users to create apps to duplicate a Workspace. This sounds very passive aggressive, becasue it is, the support making me go around in circles and the lack of functionality for a so called Sales CRM. I still have hope that Monday.com could turn this around for me. but pretty cringe that it had to turn into this. Please help. PS : from what i read in this community, it is not possible, If that is still the case. Please answer with any so
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.