Welcome to the new monday developer community
-
Recently active
Hello All, One of my developers is working on creating an integration to track the status of auto dialing calls and report it back into monday.com . The integration is very straight forward, however we are having difficulty supplying the user with the ability to choose the index of the selected status column. With our current configuration the entire integration screen crashes when the user clicks into “something” If anyone has any thoughts on what could be wrong! Please help.
I’ve been trying to create new versions of my boardview in my app using the Custom URL deployment, but I get a 500 HTTP response, and then I just have multiple versions of the same build spinning each time.
Hello, I’m having trouble creating a subitem via the API with the Date column automatically filed. The subitem is correctly created, and I have no problems with other columns, but the date column just will not update. It is left blank on every created subitem. Any thoughts on what I’m doing wrong below? I’m using PHP. Here is my code: $query = ‘mutation ($myItemName: String!, $columnVals: JSON!) { create_subitem (parent_item_id:(redacted), item_name:$myItemName, column_values:$columnVals) { id, board { id } } }’; $vars = [‘myItemName’ => ‘TestItem’, ‘columnVals’ => json_encode([ ‘status’ => [‘label’ => ‘Done’], ‘Date’ => [‘date’ => ‘2021-01-02’] ])]; $data = @file_get_contents($apiUrl, false, stream_context_create([ ‘http’ => [ ‘method’ => ‘POST’, ‘header’ => $headers, ‘content’ => json_encode([‘query’ => $query, ‘variables’ => $vars]), ] ])); $responseContent = json_decode($data, true); echo json_encode($responseContent);
Hi, I have a board with two groups, and i want to be able to fetch an item by a specific column id, but it exists on both groups. Is it possible to fetch items by column value and group id at the same time?
Hi Monday Team, In your API documentation, for creating notifications, it says we can add JSON payload, but I am getting 500s constantly when I try to add it (without that argument it works well): monday.api(` mutation { create_notification( text: ${JSON.stringify(notificationText)}, user_id: ${userId}, target_id: ${itemId}, payload: ${JSON.stringify(1234)}, target_type: Project, internal: true ) { text } } `); Response: {error_message: "Internal server error", status_code: 500} Am I doing something wrong? Could you help me, please? Additionally I have a couple questions as well: if it will work, how we can get the payload when opening a notification? I will be in the context? What is “post” target_type (I tried it but it results as 500 on my side)? In this documentation you used “internal” argument for creating notification, what does it mean? Thanks, Krisztian
Hello, I would like to have some custom integration that allows matrics/value from other platform to my Monday boards. For example I Monday board that have 5 domains site that I want to keep track for its expired date. E.g: I have 5 domain that stored in GoDaddy platform; I want to capture name of domain, expired date of domain and some other metrics to my Monday board. And I want it update to my Monday board real time, for example, if I renewed my domain +1year, it automatically update to my Monday board. “exampledomain.com” expired on 04/03/2021 if I renewed in godaddy platform both godaddy and Monday are updated to 04/03/2022. Is it possible? Thanks.
Hi all, I’m developing an application for the marketplace and facing an issue with the files API. Except for .png files, all the files I’m trying to upload, contain a ‘null’ extension and as a result, the file cannot be previewed. I’m using the code below in Node.js: const upfile = req.file.path; // set auth token and query const API_KEY = req.owner; let query = `mutation ($file: File!) { add_file_to_column (file: $file, item_id: ${parseInt( req.body.itemId )}, column_id: "${req.body.columnId}") { id } }`; const url = 'https://api.monday.com/v2/file'; let boundary = 'xxxxxxxxxx'; let data = ''; fs.readFile(upfile, function (err, content) { data += '--' + boundary + '\\r\\n'; data += 'Content-Disposition: form-data; name="query"; \\r\\n'; data += 'Content-Type:application/json\\r\\n\\r\\n'; data += '\\r\\n' + query + '\\r\\n'; data += '--' + boundary + '\\r\\n'; data += 'Content-Disposition: form-data; name="variables[file]"; filename
@Helen - As of today, the Location column was updated in the API - THANKS FOR THAT… But for some reason when I retrieve an item, the location data is blank. I’ve seen some items work … and location is there… but i just tested now… and inserted a location inside the Monday app, and then did a GQL call, and it’s blank. Have you seen this issue before? My GQL call: query{ items(ids:$id){ id name column_values { id text }}} My Response: {#324 +"id": "1062072762" +"name": "test 2" +"column_values": array:37 [ 0 => {#322 +"id": "subitems" +"text": "" } 1 => {#309 +"id": "person" +"text": "" } 2 => {#319 +"id": "type" +"text": "" } ... 27 => {#344 +"id": "location" +"text": "" } ] }
I am trying to build a Power BI Report that can modify information on Monday.com. The below query works to get information from a board: “{”“query”“: ““query { boards(ids: ####) {activity_logs(limit: 1000) {event, entity, data, created_at, user_id, id}, name, id} }””}” The below mutation is giving me an error message: "{“query”: ""mutation change_simple_column_value (board_id: ####, item_id: ####, column_id: ““column””, value: ““1"”) {} “”}” Error Message: DataSource.Error: Web.Contents failed to get contents from ‘https://api.monday.com/v2’ (400): Bad Request Details: DataSourceKind=Web DataSourcePath=https://api.monday.com/v2 Url=https://api.monday.com/v2 Any tips are appreciated. I am an absolute beginner when it comes to GraphQL.
I’m having trouble when adding multiple items with multiple sub-items. For a sense of scale, I have a script that’s attempting to add circa 125 subitems across circa 75 items. There’s two issues: Subitems do not always add API calls to add subitems sometimes indicate they failed, but actually didn’t Does anyone know why this occurs? Is it being fixed in the API? Are there any workarounds? Details: Subitems do not always add Using a query like: mutation { create_subitem ( parent_item_id: 1234, item_name: "Some Item Name", column_values: "{\\"properly\\": \\"escaped json here\\"}" ) { id } } Sometimes gets a result like : { "data": { "create_subitem": null }, "account_id": 9999} Which indicates that it was not possible to create the subitem i.e. the id of the subitem is null. This contrasts with a nice response like: { "data": { "create_subitem": {"id": "1234"} }, "account_id": 9999} P.S. I know the parent item exists as other subitems of the parent did get added successfu
I am trying to have a custom field and the situation is like when I opt for dynamic mapping and mention the dependency to be the boardId, I easily get the boardId but when i choose it to be the list and mention the dependency on boardId, I don’t get it in my request. Any help would be appreciated…!
Hi guys, Is it possible to get updates through activity logs? Currently I am syncing board item data using from/to through Activity Logs. Something like: “query”: "{ boards (ids: xxxxxxxxxx){ activity_logs(from: "2021-02-19T11:33:23.000000Z") { id event created_at data entity event user_id } }} " And I am successfully syncing those data, BUT I cant sync updates (comments, attachments…) related to specific items. I did try: “query”: "{ boards (ids: xxxxxxxx){ activity_logs(from: "2021-02-19T11:33:23.000000Z") { id event created_at data entity event user_id } updates { id item_id body text_body creator {id name } created_at assets{id name url created_at}} }} " But that part returns all updates - and regarding monday API documentation I cant set parameter from or to. Please let me know what I am missing and how can I achieve that. Thanks, Milosh
Hello all, I am wondering about the specific architecture of monday.com apps. To explain my confusion, I will lay out a scenario. I have built an app with react that includes an item view. I understand that item views are served as iframe components. For published apps, the source seems to be from the app’s host server. For example, Optino’s Reflect item view has the source of https://strengths.100shapes.com/item-view/?boardId=###&itemId=###&itemViewId=###. Now, my confusion comes from my app. I installed it on my account, and since I don’t have OAuth yet implemented, it is not receiving board data. However, even with no server running, it still renders the item view template in the iframe, and its source is from https://######.cdn.monday.app/index.html.... Monday’s CDN offers the entire build folder for my app’s view. Simply going to https://######.cdn.monday.app/ and pulling up the page’s source brings up my entire view’s source code. My confusion, then, is how exactly all of
There are many pre-built triggers available but there were no triggers when a group is created. Can anyone please help on how exactly do I integrate custom triggers and webhooks. Is there some example or earlier work I can follow?
Does monday.com have a policy towards an app that depends on a browser extension which manipulates the monday.com user interface? A quick review of some other app marketplaces forbids this. For example, the Google Workspace Marketplace app review page includes a statement: The app doesn’t use Chrome extensions to provide functionality by manipulating the Drive HTML directly.
I am trying to build on top of Monday for the hackaton. I would like to work with the CRM. But how do I connect to a sales rep list? Do I make a default sales rep list to start from? I am unsure of the workflow here. I have an idea of a few views and a flow in my app. I don’t really understand how to connect it to the app in general.
Hi All! Been searching for an answer to this one for quite a while and even thought I found something, it doesn’t look it’s working for me! I’m trying to use the API to interact with the “Item link column” for each item. Basically, I want to add and remove related items. So I found this: https://monday.com/developers/v2#column-values-section-itemlink which has the following example: JSON.stringify({ “item_ids”: [ 4616627, 4616628, 4616629 ] }); JSON string - use this in the GraphiQL editor: “{"item_ids":[4616627,4616628,4616629]}” However, when I try to do the same thing in the API Playground I keep getting this message: { “error_code”: “CorrectedValueException”, “status_code”: 200, “error_message”: “column type DependencyColumn is not supporting changing the column value with simple column value, please check our API documentation for the correct data structure for this column. https://monday.com/developers/v2#column-values-section”, “error_data”: { “column_value”: “{"item_ids":[85673
I’m trying to follow the method here: [Released] File upload via Monday's SDK client side - #3 by pepperaddict in order to make a file upload from the client side. However I can’t figure out how to get the auth token (in order to make requests to https://api.monday.com/v2/ within my client side app. I don’t want to put my users through an oauth process (plus I don’t even have a server) and I can’t pull it from a previous request because everything happens via intermessage communication with the iframe. Any help with figuring this out? Thanks!
I’m trying to use the Monday.com API to create a new item with the Assigned To field prepopulated with a specific user. I can currently create new items via the API without the Assigned To field set but with other fields set with the following type of query: mutation { create_item ( board_id: xxxxxxxxx, group_id: "some-group-id", item_name: "Testing", column_values: "{\\"text0\\":\\"Some text\\",\\"text1\\":\\"Some other text\\"}" ) { id } } The problem I think I’m having is that the column_values value is already an escaped JSON string, and within that, I’d have to add another (escaped?) JSON string for the Assigned To field. At this point, I’ve tried every combination I can think of, but nothing seems to work. Here’s an example of what I’ve tried: mutation { create_item ( board_id: xxxxxxxxx, group_id: "some-group-id", item_name: "Testing", column_values: "{\\"text0\\":\\"Some text\\",\\"text1\\"
Hello, I’m new with Monday API. I created an API with quickstart-react. My team is not familiar with React and we’d like to create an API with PHP instead. We’ve tried following the steps in https://support.monday.com/hc/en-us/articles/360013465659-API-Quickstart-Tutorial-PHP but if I understand well, this is for creating external applications ? How can we build an API with our PHP code ? We want a widget in monday with our specific code. Thank you in advance.
Hi team, When duplicating a (set of) items, the “add item” webhook is triggered as expected. However when duplicating a group with existing items in it the “add item” is not triggered. This is a serious problem for one of the users of the Auto ID app. Any thoughts from the monday team? @AlexSavchuk, interesting to knwo your thoughts on this one.
Hi, On my Monday account we have a Monday board which is used to store programatically calculated values. It basically contains for each month the billability percentage of each team in our company. This percentage is recalculated several times a day. When recalculating we delete the original group (e.g. month) and create a new group with new items attached underneath it. I’m observing that over time the performance of adding items to the groups is getting worse. It now can take more than 40 seconds to add 15 items to a group (each add is 1 mutation API call). When the board was still ‘new’ this only took a few seconds. Is there an underling reason why performance could be degrading over time in this use case?
Hello everybody, I am trying to use the Notification System for an Application. I am using the api method as described in https://monday.com/developers/apps/sdk. When sending a mutation api call as described here https://monday.com/developers/v2#mutations-section-notifications, i get a 500 Error back. Before the 500 Error i was able to check that the query and all its details are alright, because i got a validation error for using the wrong notification type. I tried out lots of trial error so far but now i am in the status that I have to ask, any help is appreciated. This is how the request looks like: {"query":"mutation {\\n create_notification (user_id: <userId>, target_id: <boardInstanceId>, text: \\"Xou got a message\\", target_type: Project) {\\n text\\n }\\n }","client_id":"<client_id>","client_token":"<token>"}
I got the iframe code to embed my board into MS SharePoint, however, the board randomly expands even when I click “Collapse All Groups”. Anyone else experience this or know how to fix this?
Hi, Does anyone know if aggregate data can be queried through the API?
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.