Welcome to the new monday developer community
Discussions category for everything related to app development on top of monday.com
Recently active
When I execute my php on a local server its gives a null response, this HAS to be a issue with the code because when I just echo the API I get all the data. Can someone tell me where I go wrong with my code. And please tell me how to fix it, I am trying to learn as much as I can. My plan is to get to total amount of items in a total number and display this number in my html for the time being. You can’t see the token and other stuff to make a connection for security reasons but the for each loop is where the magic happens. $showHtml is echod in my html document My graph QL code: query { boards (ids: xxxxxxxxx) { groups (ids: new_groupxxxx) { id title } items { name id state }}}
As stated in the title, when I use a mutation to change the values of a column with multiple dropdown values, it clears out the values of a column that has the same dropdown options. I’m using axios. query: `mutation ($itemId: Int!, $boardId: Int!, $columnValues: JSON!) { change_multiple_column_values ( item_id: $itemId, board_id: $boardId, column_values: $columnValues ) {id} }`, variables: { itemId: parseInt(contactId), boardId: 1234567, columnValues: JSON.stringify({ // PRE: birth plan (Multiple Choices) dropdown06: { labels: preBirthPlan }, // POST: birth interventions (Multiple Choices) dropdown97: { labels: postBirthInterventions }, }), }, }; const { data } = await axios.post("https://api.monday.com/v2", body, { headers: { "Content-Type": "application/json", Authorization: pro
Hello, I am trying to use Postman to setup a quick import of data into a Monday setup. this would basically run over an csv-file for a one-time import of data into a board. I have gotten it to work via Postman, and I can set the item_name via a variable, but I also need to set the column_values via a couple of variables, basically like this screen shot: But this above, throws a 500 server error. I feel I am very close but I can’t seem to fix the last step, please advise 🙂 🤞
Hello Monday Team! I previously used API-Monday for simple forms (text only), but now I need to improve my form with file uploads to CRM. Here is my previous code for a form only with simple input.text fields: const fetch = require('node-fetch'); const API_TOKEN = 'API_TOKEN '; module.exports = async (req, res) => { const { BOARD_ID, GROUP_ID, itemName, values } = req.body; var jsonResponse = {}; const columnValues = JSON.stringify(values).replace(/"/g, '\\\\"'); try { const response = await fetch('https://api.monday.com/v2/', { method: 'POST', headers: { 'Content-Type': 'application/json', Authorization: API_TOKEN, }, body: JSON.stringify({ query: ` mutation { create_item(board_id: ${BOARD_ID}, group_id: ${GROUP_ID}, item_name: "${itemName}", column_values: "${columnValues}") { id } } `, }), }); jsonResponse = await response.json(); if
Trying to run this code:style.monday.com I am unable to import Bolt, DescriptionLabel, etc. What are the import statements for these components?
I am looking to change a status column using the API and found the below in the forum but it doesn’t appear to work and get an error 500, what is the correct command to change a status column? mutation { change_simple_column_value (board_id: xxxxxx, item_id: xxxxx, column_id: “status”, value: “Done”) { id } } { “error_message”: “Internal server error”, “status_code”: 500 }
Hi guys, we have a button integration with an outlook add-in. as a part of our integration, we’re querying to monday to get the user’s email: query { me{ email } } For some reason, the email that comes back from the query is the email of the integration’s installer instead of the user’s. We would like to get the email of the same user that clicked our button, is it possible? Thank you!
Hello, I am looking to create a board/form that when a new item is created (persons name), and status is something (i.e. status is programme 1), that they are instantly matched with another item (i.e. status programme 2). Is this possible? In a nutshell, I am trying to match coaches with coachees on different learning programmes automatically and have a high volume of names to match up on different programmes. Thanks in advance!
Hi, I’m trying to fetch assets from my updates from a mobile application. I can easily fetch the text and other stuff from these updates, but regarding the assets, it’s a quite hard. From the application I am not allowed to fetch the assets as they are protected. One option would be to only use the public_url but as stated in the documentation it’s only valid for 1 hour (seems to be wrong as I can query a 2 days old URL, without cache), so in theory, not usable. Another option would be to somehow authenticate from the application to be able to access the assets, but I could not figure out how to achieve this (it seems I need to have some kind of access token stored in the cookies, but I am not sure). In the end, how can I have access to the assets’ updates easily? Thanks.
Hi All, I’m trying to use the API to do an update in a People column, according to the documentation I’m using change_multiple_column_values (https://api.developer.monday.com/docs/people), the response is OK without errors but I’m not seeing the updates in the board. This is the request I’m using: mutation { change_multiple_column_values(item_id:1825344611, board_id:1315570528, column_values: “{"csm" : {"personsAndTeams":[{"id":13991717,"kind":"person"}]}}”) { id } } I also try with this approach but the same OK result without any update in the board: mutation { change_simple_column_value(board_id: 1315570528, item_id: 1825344611, column_id: “csm”, value: “13991717”) { id } }
Hi The graphQL API is really cool but seems that lot of features are missing. Also I saw that new features to the graphQL API are implemented once a month or 2 - is in Monday’s plans to increase the frequency of delivery? I am asking because I would like to take a decision if starting a development against your current API or should I wait till it will be a bit more mature. Thanks
I am collecting some data from Monday for a report that upper management wanted. Up until last week, everything was working fine. Now I am getting an internal server error when requesting pages of data. It loads some pages but eventually returns a code 500 internal server error. I thought maybe I was requesting too much data or a record that was deleted and somehow causing a crash but I haven’t been able to narrow down the cause. This is the query I was trying: query GetItemsWithUpdates($limit: Int, $ids: [Int]){ items(limit: $limit ids: $ids){ id updates{ id item_id creator_id created_at updated_at replies{ id creator_id created_at updated_at } } } } Any information would be appreciated. Thanks.
hello i am trying to integrate Monday to my chrome extension, I am receiving the auth code and when i request token in exchange for the auth code i am receiving code 500 can someone point me to the right direction some of the code I am using let code = url.substring(url.indexOf(“code=”) + “code=”.length); code = code.substring(0, code.indexOf(“&”)); const requestTokenUrl = new URL("https://auth.monday.com/oauth2/token"); const params = { code, client_id:MONDAY_CLIENT_ID ,client_secret:CLIENT_SECRET}; requestTokenUrl.search = new URLSearchParams(params).toString(); axios.get(requestTokenUrl.toString()).then((res)=>{ console.log(res.data) });
Hello, I can upload file from API with GraphQL (“mutation add_file”); however, I cannot update or remove file from item. Is there any endpoint to update/delete file from related column of board item. Thanks. Turan
Hi there, Hope you everyone is doing good. in monday.com in table i have some data, and i have also uploaded image to that data too, so whenever i fetch the data i got all the response but whenever i try to access the image it gives me an error. like auth and in console it shows CORS, can anyone please help me. I am using monday-sdk-js - npm this Language: JavaScript. Thanks.
Hello All, My team is working hard to integrate a new multi auth system into our 3rd party integration for phoneburner.com . This would allow for users to select what phoneburner account they would like a given integration to be bound to. The flow is as follows. Upon Selection of a new integration our app does a lookup in our database based on monday.com token (account ID and User ID). After this lookup the user is redirected to an external react page in witch the current auths (Lookup values) are displayed / option to add new accounts. After the user selects an account from the list of auths they are redirected to the back url to complete the integration. The issue we are facing is once this user is sent to the backurl, to complete the integration, we are not able to send the selected account through the url. We need to pass something from the external page back to the integration button as upon completing the integration it will add a webhook in our database. We need a way to tie th
I have created a custom board view that allows users to launch a program and I am attempting to make it dynamic to allow a user to use multiple accounts. At the current moment all I am getting is their token, which provides me the monday accountid and userid. However, this does not specify which board or view it ties to and thus I am unable to store more than one authorization per account / user. Has anyone created, seen or worked with a view that is dynamic ? Are there anyways to get the users current state like the URL they are on which contains the boardid and viewid? I have only seen it happen in other apps is within the integrations… but I need it for the board view. Thank you!! Please let me know.
Hi, I am new to the world of Monday.com and am having an issue trying to connect my custom form on my wix website to a board I have setup in monday.com. I can create an item with a name, no problem but when I try to add a column value it simply wont work from my javascript request. This exact same query works from the monday API playground though. Help! mutation { create_item (board_id: XXX, group_id: “XXX”, item_name: “tests from wix”, column_values: “{"status": {"label":"Sign-Up"}}”) { id }}
I am using Google Sheets to run various API calls. I have done this with a variety of files and various boards in multiple Monday accounts. It seems that the items_by_column_value search is not working and I want to make sure this is a glitch on Monday’s side not in my code. Here is the function that I use to search by item’s name: function getPulseID(key,boardID,name){ var query = “query($board:Int!, $name:String!){items_by_column_values(board_id:$board, column_id:"name", column_value:$name){id}}”; var variables = { "board" : parseInt(boardID), "name" : name }; var data = makeAPICall(key, query, variables); Logger.log(data); return data; } Obviously when I call that function I put the proper values for the variables. Here is the actual call to Monday (which I know works because my logic creates the item if no item is found and it is creating the item fine): function makeAPICall(key, query, variables){ var url = “https://api.monday.com/v2”; var options = { "method" : "post", "header
Hi Trying to find a folder details of a given board, I see that from the. board I can get the folder ID but what one should do with folder id without the name ? Thanks
Hi, I need help I’m sending an http request from Power Apps, so every time a new email comes in on outlook I send the email data to monday.com including the email attachments if there’s any. Here is my request’s body: { "query": "mutation { create_item (board_id: 1622487816, group_id: \\"emailed_items\\", item_name: \\"@{triggerOutputs()?['body/subject']}\\", column_values: {attachment:@{triggerOutputs()?['body/attachments']} }) { id } } " } This is the Error I am getting from Monday: { "errors": [ { "message": "Parse error on \\"@odata.type\\" (STRING) at [1, 130]", "locations": [ { "line": 1, "column": 130 } ] } ], "account_id": 9415663 } Please assist and thanks in advance.
Hi I have this cURL request that I have been trying and failing to get it right, it gives me a 500 Error (Internal Error) curl -X POST https://api.monday.com/v2 -H “Content-Type:application/json” -H “Authorization: XXXXXXXXXXXX” -d “{"query":"mutation { "create_item" ("item_name": "Testing from Curl","board_id": 1622487812, "group_id": "emailed_items") { id }}” -v I’m not sure why it won’t succeed because the GrahpQL query below works just fine: mutation { create_item ( board_id: 1622487812, group_id: “emailed_items”, item_name: “Testing from GraphQl”) { id } } Please help me and thanks in advance.
The main thing I’m trying to accomplish is opening the side view in the screenshot below when clicking on an item without exiting my dashboard widget. Currently is exits my custom dashboard widget when the “start conversation” button is clicked in the item card. I want my widget to function just like you see in the current map view. It simply opens it on the side without leaving the screen. I am working on a custom dashboard widget. Inside of that widget, the user will be able to interact with individual items. Using the SDK in React, I have successfully implemented opening the item card. Currently, when you click on an item in the widget, it will pull up that item card. The functionality I have built in is very similar to the current map view where when you click on an item, it opens a box. You then click on the “view item” button and it opens the item card. I am trying to emulate the functionality the map view has when you click on the “start conversation” button within that item ca
Hello, I’m developing an integration that sends messages to whatsapp via Monday, for this I’m using the AWS lambda system to keep this integration working, but for some reason when I call the integration the message is sent to whatsapp from 1 in 1 minute, that is, the integration is in a loop, I believe the problem is in the project’s “handler” function, as there is no return to end the process, there is some possibility to stop this code through the handler as soon as the code finished executing? (I’m still not sure if the error is in the code or in some configuration of the lambda itself) Below is a print of the handler.
Trying to add subscribers to a board… Multiple errors. const variables = ({ boardId : suptBoardId, producerId: producer, kind: "owner", }); const mutate = `mutation add_subscribers_to_board ($boardId: Int!, $producerId: Int!, $kind: SubscriberKind!) { add_subscribers_to_board( board_id: $boardId, user_id: $producerId, kind: $kind, ) { id } }` monday.api(mutate, {variables}).then((res) => { console.log('add subscriber: ', res); });
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.