Welcome to the new monday developer community
-
Recently active
Hello, everyone. I was wondering if anyone had any suggestions on how to make a mirrored column using GraphQL.GraphQL API The documentation only discussed reading the mirror column. Any ideas? Thank you!
Hello! I’ve an issue with the items_count query. I’m using the following query to create an item on my board: mutation ( $boardId: ID! $itemName: String! $columnValues: JSON $groupId: String ) { create_item( board_id: $boardId item_name: $itemName column_values: $columnValues group_id: $groupId ) { id } } Then, in my app, I’m polling the items_count with this query: query ($boardId: ID!) { boards(ids: [$boardId]) { items_count } } The problem is, this query returns the amount of items from before I added a new one, just as if I was getting a cached response. The only way to solve it is to add a random item manually through your website. Then it counts the item I’ve added through the API and the new one. Seems like adding an item through your website resets the “cache” you keep for the board, while doing it through the API doesn’t.
Can someone assist in converting this query to the new API using items_page? I need to pull the information for roughly 6000 subitems. As a noob, I was just wrapping my head around GraphQL with the last API version but now I am just lost. Any help is appreciated: { “query”: “query {items(ids: [XXX,XXX,XXX,XXX,XXX]) {id column_values{value text}}}” } Can this type of query be done at the item/subitem board ID level or do I need to feed each item ID into the query?
Access to fetch at ‘https://api.monday.com/v2’ from origin ‘https://<OUR_WEBSITE_API_DOMAIN>.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled. var API_TOKEN = '' monday.get('sessionToken').then((res) => { sessionToken = res.data; API_TOKEN = sessionToken; console.log('Session Token:', sessionToken); }); const query = `query { boards(ids: ${boardId}) { columns(ids: "${columnId}") { id title description } } }`; const response = await monday.api(query, { token: API_TOKEN }); const description = await response.data.boards[0].columns[0];
Could you please help me change this query according to new API format? It must return same result as this old one. “query”: "query {boards(ids: 5387422830) {groups(ids:[“topics”,“group_title”,“new_group”,“new_group28814”,“new_group66463”,“new_group70299”,“new_group17885”]) {title items {name column_values(ids:[“text”, “status_1”]) {title text}}}}}
Hi, There is a way to change the webhooks name?
{ "data": { "complexity": { "before": 10000000, "reset_in_x_seconds": 60, "after": 9999977 }, "boards": [ { "views": [ { "name": "VIEW NAME", "type": "FeatureBoardView", "settings_str": "{}" } ] } ] }, "account_id": X }
I am trying to fetch mirror column values in API playground. Can someone help me with how to write query to fetch mirror column values?
Hello community, I am trying to get all items on differents boards into a csv, but I am having an issue, all conencted_boards mirror columns “text” and “values” coming from the API call are None. The Query and code goes as follows: api_key = my_api_key url = my_url headers = { 'Authorization': api_key, 'API-Version' : '2024-01' } board_id = 'xxxxxxx' #modifies depending on pagination. query = f''' query {{ boards(ids: {board_id}) {{ items_count items_page(limit: 500{cursor_part}) {{ cursor items {{ id name column_values {{ column {{ title }} type text value }} }} }} }} }} response = requests.post(url, headers=headers, json={'query': query}) data = resp
We’re excited to announce our new app - Sundae for monday 🍧 Turn your monday docs into full fledged websites to share KB articles, documentation, reports, meeting notes with customers and business partners. Build help centers, wikis, blogs and other kinds of websites with a sleek, professional look. Turn monday into your content management system - Use monday to edit your docs, and use Sundae’s embedded app to transform them to web sites in just a few clicks. One-click templates - Select from our ready-made templates for wikis, help centers, or blogs. Fast sites - Extra fast load times that keep your visitors happy using CDNs + web and mobile optimized code. Boost your SEO - Optimize your site for search engines: add titles, descriptions, and social cards to make your site stand out. Use your own domain - Add a professional touch and gain credibility with SSL certificates. Please try out our free plan - we’d love to get your feedback. You can view our docs here (
Hello, Monday.com Community! I’m currently working on developing an app feature and could really use some guidance. My goal is to create a feature that activates each time a user opens a Monday.com Workdoc. The essence of this feature is to fetch data from an external API and then display an informational notice to the user via monday.execute("notice");. I’m contemplating using a React-like approach with useEffect for initiating the API call when the Workdoc is opened, but I’m not entirely sure if this is the best method within the Monday.com app framework, or even how to properly integrate such a functionality within a Monday.com app. Here are the specifics of what I’m trying to achieve: Trigger: Automatically run the feature every time a user opens a Monday.com Workdoc. Action: Fetch data from an external API. Output: Display the fetched data as an “info” using monday.execute("notice");. Is using something akin to useEffect the best way to detect when a Workdoc is opened and trigge
Hey guys, just wanted to make sure you heard about Autoboost 🚀 Autoboost was initially built to help us internally over here at Boost, as a monday.com partner with the more complicated implementations. There were some features we knew we had to have in order for us to create solid workflows. So we built them 💪🏾 We have released the mirror columns ~ Autoboost can set the values of mirror columns (including people, timeline, status, and numbers) to regular columns. Set formula results to regular columns ~ To use automations on formula results. Autoboost can use the subitem values in items and formulas ~ Autoboost can use the group summary value ~ We have made a cool Doc 📃that shows a bit about what this can do, and you can check out our How To Use for more info. Please feel free to contact for what ever you need at Apps@moveoboost.com
Hi, For one of my customer monday.com API returns 480 maxUsers. I use the following endpoint: https://api.monday.com/v2 Body: { "query": "query {users { account {plan { max_users period tier version } } } }" } However, the monday.com UI website shows 482 seats. How is it possible that plan.maxUsers does not match the seats visible in the monday.com UI?
Hello, how can I retrieve a media to download it using the Monday API? I need to transfer lines from a Monday board to a website, and I’m working with the API in PHP. Currently, I’ve successfully used the API to transfer all the text lines from the board, but I’m struggling to retrieve media for display. Here’s an example of what the API returns for media, which can be present in updates or responses from a Monday board: The API returns media in this format :
I’m creating workspaces through the API and everything works fine. But what I want to do next is also upload the icon to a workspace. Is that possible? My current code is: mutation {{ create_workspace (name: "{organisationID}", kind: open ) {{ id }} }} Thanks already for your help! Best, Nick
I am trying to update a People Column with Make, the data is coming from Ragic and is simply the Persons 8 digit Monday ID, now I have been able to do this update with 1 Person, my problem is that there can be multiple people that have to be added to the Poeple Column and I am struggling to get it to work. I have tried formulas, and queries, but I can’t get it to work. Any help would be greatly appreciated.
Hii I am Darshan Hiranandani, Could anyone share insights on best practices for handling exceptions and errors in automated test scripts? I’m particularly interested in understanding how to effectively manage unexpected errors, handle exceptions, and ensure robust error handling mechanisms within test automation frameworks.
I am trying to write that mutation query but not able to make it work. the query should select the row based on the environment name and update the columns “remark” and “branch” with the values I will provide in the query. I found we can update the column value using below query: mutation { change_multiple_column_values( item_id: xxxxxxxx board_id: 1122334455 column_values: "{\\"status\\" : {\\"label\\" : \\"Done\\"}, \\"dropdown\\": \\"My label\\" }" ) { id } } but in above query I don’t know the item_id. How can I have a query which will find the item_id by matching the column ‘environment’ with ‘test’
Good day. I am using the API to create items on a board and then create an update on that item and this is all working as expected. The problem that I am experiencing is that I am trying to send the update as formatted html and I am finding that some of the css styles seem to be stripped from the update that I am sending through. As an example it seems that the border and width tags are stripped from the inline style but the height is being allowed through. I also noticed that on td elements the rowspan attribute is being stripped off. I am assuming that these are not allowed so I was wondering if there is a document indicating what html formatting is allowed/accepted. If there is no restriction on html formatting then perhaps someone might be able to help me identify where I am going wrong.
Hey, I would like to add a condition to the automation I created through Dev center. The automation I need is: When Button clicked and if column is empty > create project from template I didn’t find where I can add condition to this thing, please assist. Adding a picture of the recipe I managed to do, thanks
{ “query”: “query {boards (ids:[‘boardid’]){ groups (ids:[“groupid”]) { title id items(limit:10 page:1) {id name created_at state assets {id name url file_size file_extension } subscribers {id name email} column_values{id value type title text} subitems{id name state column_values{id type title value} subscribers {id name email} created_at parent_item {id}} group{id title}} }} }” } this is my query but it throws Field ‘items’ doesn’t exist on type 'Group. if items not in group than items should me empty but due to this my query fails.
Hi all, I’m currently looking for the best way to perform deployments. Here is my use case: I have a monday application built with the app framework. It has 1 feature which is a custom integration. In it I have all my custom monday recipes that allows advanced monday action through the GraphQLAPI. Lest call it app1. I have another monday application, which has 1 feature: a workspace template. The workspace template uses the custom integration (app1) a lot. Lest call it app2. So for deployment, I would like to have a way to install the workspace template (app2) with all my custom integration recipes from app1. I’ve tried to first install app1 in a monday account and then to install app2. But none of the recipes from app1 (integrations or automations) were cross over during installation of app2. I had to manually set all the automations/integrations in the installed workspace template (app2), which is tiedious and error prone. Is there anyway that I can install app2 with the recipes f
Hi, Can I automate API commands? For example if status changed > an API command will be executed
I am trying to run a quick query on python trying to fetch a lot of subitem information. Then I get the following error: {'errors': [{'message': 'Query has complexity of 11010020, which exceeds max complexity of 5000000', 'extensions': {'code': 'maxComplexityExceeded', 'complexity': 11010020, 'maxComplexity': 5000000}}], 'extensions': {'warnings': [{'message': 'Replaced by Board.items_page in 2023-10', 'locations': [{'line': 4, 'column': 9}], 'path': ['query', 'boards', 'items'], 'extensions': {'code': 'deprecatedField', 'typeName': 'Board', 'fieldName': 'items'}}]}, 'account_id': 16336358} The query is: query = f’‘’ query{{ boards(ids: board_id){{ items{{ subitems{{ column_values{{ title }} }} }} }} }} ‘’’ And the script is as simple as this: import requests import pandas as pd import os import json api_key = api_key url = f'https://api.monday.com/v2' headers = { 'Authorization': api_key } query = query (above) response = requests.post(url, headers=headers, json={'query': query
HI all, i have an issue Fetching data from board using PHP and new API Version 2024-01. it was working fine from previous version. Thus far, I have made the following changes: added API=version at the end of header $headers = [‘Content-Type: application/json’, ‘Authorization: ’ . $token.’, API-version : 2024-01’]; I changed the query to include items_page The query works perfect as it works fine and returns results on monday.com query { boards (ids: 12344444444) { items_page { items { name column_values { id type text } } }} } I am trying to parse the content, but get stuck here as I get null results foreach($responseContent[‘data’][‘boards’][‘items_page’][‘items’][0] as $mydata){ or foreach($responseContent[‘data’][‘boards’][‘items_page’][‘items’] as $mydata){ Looking forward to your assistance/guidance Thank you in advance
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.