Welcome to the new monday developer community
-
Recently active
Can some explain to why this plain vanilla JS returns a 401 error? fetch(“https://api.monday.com/v2”,{ mode: ‘no-cors’, method: ‘post’, headers: {“Authorization”: sToken, “Content-type”: “application/json”, “Accept”: “application/json”, “Access-Control-Allow-Origin”: “*”, “Access-Control-Allow-Credentials”: “true”}, body: JSON.stringify(sQry)} ) Both sToken and sQry are correctly assigned beforehand.
I have set up my WooCommerce + Monday. Com API keys but when I go to add “when an order is created, create a new item and sync …” it gives me an error message of “couldn’t update automation”. What can I do?
While running this don’t get any errors, just empty request value_json<-toJSON("{'index':3}") request_form<-paste( 'mutation {change_column_value ( board_id: 347384734, item_id: 34239483, column_id: "status", value:',value_json,' ) { id } }',sep = '') Wrote random ids Here’s function to process my request, maybe something wrong with it. GQL <- function(query, ..., .token = NULL, .variables = NULL, .operationName = NULL, .url = url){ pbody <- list(query = query, variables = .variables, operationName = .operationName) if(is.null(.token)){ res <- POST(.url, body = pbody, encode="json", ...) } else { auth_header <- paste(.token) res <- POST(.url, body = pbody, encode="json", add_headers(Authorization=auth_header), ...) } res <- content(res, as = "parsed",
Hi, Can anyone please tell me how to exclude columns in my POST request? This will get all the columns for that board and item: { boards(ids: 690783129) { items(ids: 732774573) { column_values { id text } } } If I change it to include: column_values(ids: column1,column2,column3) I can get only the one I want, but is there a way to exclude columns I don’t want? So I can run the query and it will only get columns 1 and 3, and will exclude 2. Thanks heaps, Matt }
Hey all! Gabrielle here, Product & Partner Marketer @ Unito.io, new Monday partner 🙂 Thought I’d give you all a first look at a brand new integration we’ve just released for Monday. The Unito app allows you to connect your monday.com boards to any other work management tool in our portfolio of integrations. You can then choose what data you want to flow (both ways!) between them. So every time an update is made in one tool, it’s automatically reflected in the other, and vice versa. The current Monday columns that can be mapped and synced to other tools: Text Long Text Date Status Checkboxes We’re working on getting more available for syncing, so if you have a special request, let us know! The integrations you can connect and sync with Monday (with more being released every 2 weeks): Jira (server of cloud!) Jira Service Desk Github Gitlab Bitbucket Trello Asana Teamwork ClickUp Wrike Basecamp HubSpot Zendesk Smartsheets (coming soon!) Airtable (coming soon!) An embedded
Hello, I’m a complete newbie with GraphQL in general, and barely familiar with the monday API and monday boards in general. I’ve been tasked with extracting the item names using the API, but without the sub-items. By using the query {boards{items{name}}} I’m getting a mixed list of both items and sub-items, all under the key “items”, without any way to distinguish which one is which. Is there a way to filter out sub-items using a simple query? Thanks for any help! 😀 P.S. If that’s a common question, please accept my apology, as I don’t even know which keywords to use…
on the webhook update_column_value when a dropdown column changes I get the value of the column as ``` value: { chosenValues: [ [Object] ] } is there any documentation on what is that Object?
I am trying to create a custom recipe that accepts a message as part of the user input. When I receive the event on my server, it looks like this: { payload: { blockMetadata: null, inboundFieldValues: { boardId: 700512087, itemId: 700512094, message: 'Here is the update: {pulse.text} {pulse.name}{board.name}{user.name}{pulse.group}{pulse.person}{pulse.status}{pulse.date4}' }, inputFields: { boardId: 700512087, itemId: 700512094, message: 'Here is the update: {pulse.text} {pulse.name}{board.name}{user.name}{pulse.group}{pulse.person}{pulse.status}{pulse.date4}'
The column values are updated successfully when I run the following mutations in Playground. But when called in code, these same mutations throw Graphql Validation errors. All board scope permissions are set. works in playground ☑️ doesn’t work in code ❌ const query1 = `mutation { change_column_value (board_id: 726291451, item_id: 726291453, column_id: "status", value: "{\\"index\\": 1}") {id}}` const query2 = `mutation { change_multiple_column_values (board_id: 726291451, item_id: 726291453, column_values: "{\\"url\\":\\"urlVal0\\",\\"name1\\":\\"nameVal0\\"}") {id}}` // also no good const val = {"index": 1}; const query = `mutation { change_column_value (board_id: 726291451, item_id: 726291453, column_id: "status", value: ${JSON.stringify(val)}) {id}}` ❔
I need a way to determine how long a task has spent in a specific status. what is the best way to get this information from API?
I’m writing an app to synchronize our SugarCRM with a Monday board. All is working as expected, but sometimes one query to update a people column is failing with an error 500. The query is: mutation { change_multiple_column_values ( board_id: 165483237, item_id: 724910374, column_values: “{"people":{"personsAndTeams":[{"id":5428485,"kind":"person"}]}}” ) { id } } When using a different user id, all is working as expected. It seems that the user 5428485 is a Team Member, but not not a Board Member. If I add this user to the Board Member list, all is working as expected. How to check if a user is a Board Member before updating the column? How to add a user as a Board Member, either Member or Guest? Thanks for your help.
I built a Monday connector for DOMO and it worked perfectly. Yesterday, it failed with the error “Your API token is incorrect.” Does this mean the token expired? I regenerated a new one in Monday Admin - but that fails with the same error. What should I try to fix this issue? Thanks!
Not sure what’s wrong this query: “{"query" : "{items_by_column_values(board_id: XXXXXXXXX, column_id: "text0", column_value: "XXXX") { id name column_values{id text value} }}" }” I’m looking to retrieve items based on the value (“XXXX”) of a specific field (text0). No errors, but no results either. And the items with those values most certainly exist. Something wrong with this query?
Hi there 👋🏼, We use the “special” file API route to send an image to a board in our integration. Sometimes, this could take up to 1 minute to update. I also saw during the workshop that the dev team had the same problem. Is it something that you plan to improve? The user could think than nothing happens when it is slow.
Has anyone (or company) built an adapter to use Monday.com as a content source for Elastic Workplace Search (or similar tool)? We’re investigating either something like this, or we need to pump out resolved issue discussions to an external system for archival/retreival.
Hello, I’m trying to determine when I query for query {boards {...}} how to filter out subitem boards. So far I’ve noticed that in my case all subitem boards have "pos": "65536.0", and their name starts with “Subitems of [other board name]”. However I’ve also noticed that nothing prevents me from naming a board “Subitems of X” and also have another board called “X”. Is there a way to determine which boards are subitems boards?
3 columns should be created on one board: But only 1 or 2 columns get added to the board, inconsistently: code: this.createBoard("Test", null).then(boardId => { const { columnNames } = this.state; columnNames.forEach(title => { this.createColumn(boardId, title, "text"); }) }) async createColumn(boardId, title, type) { const query = `mutation { create_column (board_id: ${boardId}, title: ${title}, column_type: ${type}) { id }}`; await monday.api(query).then(res => { console.log(`col created: ${JSON.stringify(res.data)}`); }); };
Earlier this week I experimented with CLI tool for automating tasks with Monday. Right now it just helps me setup webhooks, but thinking about adding other features like importing/exporting data. Before spending too much time on it, wanted to see if anyone else would be interested in a CLI tool for Monday or had specific features they wanted?
Hi there 👋🏼 I noticed that the labels_positions_v2 is not always returned by the API for color/status columns in settings_str. Is it an expected behavior? What is the rule? For me, something goes wrong, because if you use a default board on a standard account, the api returns: { “labels”: {“0”:“Working on it”,“1”:“Done”,“2”:“Stuck”} } which is not the correct order: when labels_positions_v2 is set, it is re-ordered this way: { “labels”: {“0”:“Working on it”,“1”:“Done”,“2”:“Stuck”}, “labels_positions_v2”: {“0”:0,“1”:2,“2”:1} } which is correct.
Wondering if API or token generation is healthy? Receiving “Not Authenticated” message in Postman with simple queries. Have refreshed my token several times and tried each. No token will authenticate. Am using https://api.monday.com/v2
Hi! Is there any option for giving access to the GraphQL API to an external service (not to a user)? I have a custom slack bot which I would like to give access to Monday. As far as I could read the only way to do this is creating a dummy user and using their token. Since is the bot service who is creating the item, it is not attached to any user. I would expect having a service token for this and representing it in the activity log similar to the Monday Forms. Thanks for your help! Best.
Please forgive the stupidity - I feel like I’m missing something extremely simple here. Running queries in Postman as a precursor to running them from Google Apps Script and I can’t wrap my brain around what appears to be a syntax issue. Here’s the script: {“query”:“mutation{change_column_value(board_id:XXXXXXXXX,item_id:XXXXXXXXX,column_id:"dateXXX",value:"{"date":"2020-01-09","time":"00:00:00"}"){id}}”} Error message is as follows: “Parse error on ":" (STRING) at [1, 98]” Figured out the retrieving and parsing of data and can do “simple” mutations like number and text, no problem, but WOW these date columns are killing me. TIA.
Hi! For the App Challenge, we created an app that loads an external webpage during the process. Are we allowed to brand this page with Monday.com look and feel (logo, font, etc.)?
Hello, We use the API V2 to create subitems and then retrieve those items with the following query query { boards(ids: my_board_id) { items(ids: my_item_id) { column_values(ids: "subitems") { value } } } } For some items the API doesn’t return all the subitems that we can see in the user interface. Anyone had this problem before?
I have a client that wants a custom app integrated into their boards and I am trying to figure out if this is possible. I have been playing around with the SDK and creating basic apps using the react tutorials and it seems like this is not possible. They want to be able to send one-off text/emails to certain subsets of their boards. They want to be able to click a button that pops up a dialog with an input/textarea where they can type their message and then click send text or send email and do a mass send. For example: Board A has 6 groups in it, with each group pertaining to a location (city) within the state. They want to send a mass text update to groups 1 & 2 because a storm is coming that will be affecting their city, so they would click a “Send Text” button and they could choose a group of people, type in the message, and then send it using Twilio I’m not seeing how this is possible with a custom view or widget, but maybe I just don’t have a full understanding yet of what is
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.