Welcome to the new monday developer community
Discussions category for everything related to app development on top of monday.com
Recently active
I am using a react app to upload a file in it and then want to save it to Monday using api. I have tried it by using Monday SDK. -------------------Code starts------------------------- let query = mutation { add_file_to_column (item_id: 1867830321, column_id: "files", file: C:/Users/HP/Downloads/googleDocsLogo.png) { id } }; monday.api(query) .then(res => { console.log('res is '+JSON.stringify(res)) }) .catch(error => { console.log('error is '+error) }) -------------code ends----------------- I have tried using fetch request as well but there getting ‘cors’ issue.
I’m trying to implement the recommended (documented) usage for EnvironmentVariablesManager and Storage in a react app. The @google-cloud/paginator dependency appears to be incompatible: Module “stream” has been externalized for browser compatibility. Cannot access “stream.Transform” in client code. Uncaught TypeError TypeError: Class extends value undefined is not a constructor or null I assume this is due to some configuration issue in my app, though I have not been able to resolve it. Any suggestions?
Hi all, I’m currently building a little app and I wanted to use the Email input type for a custom action. The type lets the user enter a subject and body but also lets them use variables from the item / board in the email. I’d expect the values that I get when the action is run to have filled out the variables in the template for me before I get it, however this doesn’t seem to be the case? Am I missing something or is this the expected behaviour? Thanks! Stuart
I’m following the instructions on Monday’s Creating and updating apps page. When I add a ready-made feature I need to run a command to set up the dev environment and scaffold the feature: npx @mondaydotcomorg/monday-cli@latest scaffold run ./ quickstart-integrations -s 2724804573259039201326c8dd9ecc20 -t integration-10138401 When I run the command I get this error: Access token is missing, please run: "mapps init". If I run mapps init, I get command not found: mapps. If I run npx @mondaydotcomorg/monday-cli@latest --help it looks like init isn’t available in this version of the CLI. I have tried force clearing and removing the npm cache and reinstalling the Monday.com CLI without success. What else can I do to try and fix this?
Apps Framework So, I’m reading through the docs and I’ve got a bunch of questions. Let’s say I use a global storage and save a number of items with the keys like this? {uniqueID}:{something1} {uniqueID}:{something2} {uniqueID}:{something3} Question 1: I assume there is no way to query all the values which would start with uniqueID, right? Any way to count the amount of key/value pairs stored? Question 2: Let’s say user does not delete the values or there simply is no functionality for that and over time the storage will be full with unused and unneeded values stored. How are you cleaning up the storage?
In the monday.com UI, I can filter items based on a combination of AND/OR criteria using the “Add new group” button. How can we do this via the API? There doesn’t seem to be documentation on how to combine predicates in the items_page.query_params.rules object. Is this not possible via the API? If it is possible, what would the query_params look like for a query like this one: (Name=“Jim” OR Name=“Ana”) AND Age = 35 Thanks.
how do you populate the link to an item in a column? Im open to using make.com and or column magic.
I’m wondering how can I automate app preview and deployment from GitHub Actions with Monday Code. Has anyone found a practical way to: Preview deploy PRs on each push to test-drive the app before merging the branch into master Automatically deploy and promote to production once the tests etc have passed and the PR is merged into master? I don’t understand if an app can have multiple versions at once, and if it’s possible to promote a version from Draft to production programmatically. If not, what is the solution? Have a second, separate development app and deploy PRs to it while deploying merges to master to a separate “real”/production app? And then manually promote from Draft to production via the Monday UI?
There was recently a thread about bringing GSP location data into monday. It was intriguing to me. So, I took a stab at it. I was able to get it to work. For anyone interested in pursuing this, here is what I did. (I am NOT a web coder!) Created an Integromat webhook Cobbled this together: <html> <body> <script> window.onload = function() {getLocation();}; function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition);} } function showPosition(position) { const Http = new XMLHttpRequest(); const url='https://hook.integromat.com/987435498374598734rgkjhdffgkjdfoie4'; Http.open("POST", url); Http.send("Lat:" + position.coords.latitude + "+Lon:" + position.coords.longitude); Http.onreadystatechange = (e) => {console.log(Http.responseText)}} </script> </body> </html> To further the idea I would put a link to this “website” in the URL of a monday board column (passing needed parameters to identif
Hi, I am using Vibe Modal in my code. The tool tip name(close) for closing button of the modal is showing behind the modal. Please refer to the screen shot for your reference. And help us as soon as possible.
Where do I get access to the Monday API in Javascript?
I’m building a new React app (which needs to call my .NET API) with the Monday.com developer platform. Ultimately, I want my API to interact with Monday.com APIs impersonating the user. The first thing I’m trying right now is to authenticate the user to my app using OAuth as described in OAuth and Permissions (monday.com) to get the access token. Then I can provide the access token to backend API calls. Currently, I’m only have the app running locally. I do get an authentication code when calling the authorization endpoint. The problem arises when I call the token endpoint with the authentication code: Access to fetch at ‘https://auth.monday.com/oauth2/token?client_id=ad49806d39aac9386caedbb064d870e4&grant_type=authorization_code&code=a45b5efefe767f0735afc7e5a8287f87&redirect_uri=https%3A%2F%2F23ee4be0f152.apps-tunnel.monday.com%2Fcallback&state=0TE9iekeuXAnP22fhwlSs1cMxesCvHwZrvPtvkK9’ from origin ‘https://23ee4be0f152.apps-tunnel.monday.com’ has been blocked by CORS p
Hi, I am trying to create an app submission form from here. Actually my app is a workspace view app not a workspace template. But on the form under App Features question workspace view is not on the list. There is only Workspace Template. The question is, for workspace view apps, which option should I select to submit the form? Thanks in advance. Regards
We have a customer who appears to have discovered a bug/limitation that is not documented. App is installed and restricted to two workspaces, X and Y. Board A is in Workspace X, and Board B is in Workspace Y. When reading by API, a mirror column on board A with the following query the mirror column value is not returned at all! The app has access to both workspaces (confirmed). Switching the app to all workspaces, it works. It appears that if an app has workspace restrictions, cross-cutting workspaces fails for display_value even if the app has permissions to both workspaces. It isn’t just not returning the text, but the whole column_value is not returned (including column ID of the local mirror column). { items (ids: "123123") { column_values(ids: "mirror1") { ... on MirrorValue { display_value } } } } Prior to 2023-10, the old “text” field of a mirror column returned the correct text regardless of permissions as long as the users token had access to the mirror column
Hi everyone! Did Monday recently make an update that impacts the order that connected item IDs are returned when multiple items are linked in a connect boards column? It used to be that when returning the value for a connect boards column, you got an array of connected item IDs (linkedPulseIds), and they were ordered from the item that was connected first through the most recently connected item. It seems like sometime very recently this was reversed, and it is wreaking havoc on my automations. Has anyone else experienced this issue? Can anyone from Monday provide any insight on this?
I am facing this issue on a board with just 78 items. The API keeps returning the error ‘upstream request timeout’ Fetching 5 items at a time, then sleep for 1 minute then loop again. It just doesn’t work. The response is always the upstream request timeout, so I developed a work around to keep looping at the same page number till the response is right. The picture with the parsing the 153th page is a board with over 1k items and there the API just doesn’t respond. Just keeps failing and eventually my runtime exceeds my 30 minute limit (while I try to get 3 pages at a time!!!) Monday’s SUPPORT please fix this!
For some reason my add_file_to_column query costs is 100001 for a small 2KB file. What can I do to reduce the api query budget size of the upload? @Matias.Monday Any pointers on how to make this more efficient? async function uploadAndRemoveFile(upfile, token, itemId, columnId) { try { const affordability = await canAfford(token, 100001) console.log("Can Afford Query: " + affordability.canAfford) if(affordability.canAfford) { const mondayClient = initMondayClient(); mondayClient.setToken(token); console.log("UPLOAD AND REMOVE FILE"); console.log("upfile: " + upfile); console.log("itemId: " + itemId); console.log("columnId: " + columnId); const filename = path.basename(upfile) const query = `mutation($item_id: ID!, $column_id: String!, $file: File!) { add_file_to_column(item_id: $item_id, column_id: $column_id, file: $file) { id } }`; // Define variables for
Hi, I want to have a custom trigger of “column change” but the user will be able to select ONLY file type column. How can i achieve this? When creating a custom trigger I need to select a subscribe URL, which I don’t need in this case because I am not using any external system. So - How can i create a custom trigger “When a File column changes”? Thanks in advance!
Hi, I have so many features for my app. On app submission to marketplace, which feature is getting published? Or should I have only 1 feature per app? I am a little bit confused here. Thanks in advance. Regards
Hi, I’m trying to get files from one subitem and put them into the files column of another subitem. Retrieving the public download URL from the actual file (asset) and the link from the Google Drive file works fine. And adding the asset to the files column also works. However, I don’t know how to add a link to the files column via the API. To clarify, I have 3 files: 1 uploaded from my PC (asset). I know how to move that one 1 files that’s linked from Google Drive 1 files that is a link Any clue if this is possible?
Maybe it’s my own implementation, but it seems that the API budget limit is the same across load balanced EC2 Instances in AWS for my application I’m developing. Has anyone else seen this? Is it just better to build on monday code instead 🤷? Is the budget per board that the token originates, or it based on the server?
I’m trying to get the text value of a status column for a specific item using Zapier webhooks. And I’m getting the following error? Thank you in advanced!
How do I get an owner of a pulse? I see a creator, but no owners. query { boards(ids:“***”) { id, name, pulses { id, name, creator { id, } } } }
Hey guys. This post is for those who, like me, is confused about the monday create_item mutation, specifically the column_values parameter, allowing to set values for other columns than the default name column. For me it worked just fine to set any text field like this; {"field": "value"}, and that’s as far as the Monday API documentation goes, but if you want to fill non-normal fields, like email or phone, the format is different, like this; {"email": { "text": "text to appear in the column - often the email", "email": "test@test.com" }} And for the phone field format, it should look like this; {"phone": { "text": "text to appear in the column (phone numer...?)", "phone": "+123123123" }} Full cURL request for your convenience; curl --location --request POST 'https://api.monday.com/v2' \\ --header 'Content-Type: application/json' \\ --header 'Authorization: {YOUR_KEY_HERE}' \\ --data-raw '{"query":"mutation {\\r\\n create_item(board_id: 611638622, item_name: \\"My Item\\", group_i
{ errors: [ 'Complexity budget exhausted, query cost 100001 budget remaining 99951 out of 5000000 reset in 50 seconds' ], error_code: 'ComplexityException', status_code: 429, account_id: 20288401 } When this occurs is it best to just return a 400 failed message for the integration, since the shortLivedToken only lasts 30 seconds?
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.