Welcome to the new monday developer community
-
Recently active
Hi there, I’m creating an item with a date with UTC timezone with the Monday API. My profile timezone is UTC. However, when I examine the item created in the Monday dashboard, the date field is not UTC. You can see the query and images below. Could you please check it and let us know how to fix it? { "query": "mutation($values:JSON) {create_item(board_id: 1159054932, group_id: \\"topics\\", item_name: \\"Task 3\\", column_values: $values) {id}}", "variables": { "values": "{\\"date4\\":{\\"date\\" : \\"2023-08-27\\", \\"time\\": \\"18:00:00\\"}}" } }
I’m trying to run this code to update column values on an existing item by its ID, but I’m getting this error: List dimension mismatch on variable $id and argument item_id ([ID!] / ID) My ID is an INT so not sure what I’m doing wrong here. $id = 5543373657 $new_service_level = "Digital"; $new_monthly_rate = "$250"; $query = 'mutation ($id: [ID!], $columnVals: JSON!) { change_multiple_column_values (board_id:XXXXXXX, item_id:$id, column_values:$columnVals) { id } }'; $vars = [ 'id' => $id, 'columnVals' => json_encode([ 'status' => ['label' => $new_service_level], //Service Level 'text17' => $new_monthly_rate //Monthly Bill Rate ])]; $data = @file_get_contents($apiUrl, false, stream_context_create([ 'http' => [ 'method' => 'POST', 'header' => $headers, 'content' => json_encode(['query' => $query, 'variables' => $vars]), ] ])); $tempContents = json_decode($data, true);
New to Monday.com, and I’m trying to use the API to create an item. I’ve tried with SQL server and PowerShell and always get a 500 error back. I’ve read, and tried the code from this post: Using PowerShell to create an item in Monday.com? with no luck. I’ve tried and re-tried using different formatting, but I’m sure the issue is with $query below (tried with escaping the quotes etc.). $apiKey = “xxxxx” $boardId = “1234567890” Set the header with your API key $headers = @{ “Authorization” = $apiKey “Content-Type” = “application/json” } Define the query to create an item $query = " mutation{ createItem1: create_item (board_id: 1234567890, item_name:““Test Item 1"”) { id name } }” Execute the request $response = Invoke-RestMethod -Uri ‘https://api.monday.com/v2/’ -Method Post -Headers $headers -Body $query Any help would be appreciated. This seems like it should be pretty easy, but I cannot get it to work and the error isn’t much help. I can query the board (return data) so I know the au
Hey monday.com fam! I want to show you a new cool way to send designed automated emails and even newsletters, you can also attach files and send these automated emails to mirrored columns- using the Supermail app from the marketplace. We made a new tutorial explaining how easy it is to use- here it is. SuperMail Tutorial
📅 Date & Time: 2023-12-20T15:00:00Z Dec 20, 2023, 03:00 PM UTC (10:00 AM EST / 07:00 AM PST) 👉 Register for eazyBI for monday.com Webinar (FREE) Join us for a quick discovery webinar on eazyBI for monday .com. Get an overview of our features and functionalities to bring your data to life. We’ll start with an overview of eazyBI’s capabilities, and wrap up with a Q&A segment where you can ask all your burning questions. 🔍 What you’ll learn: How to create powerful reports and charts easily How to build functional dashboards for your teams Navigate practical use cases with demo accounts Engage in live Q&A sessions with eazyBI experts 📈 About Reports and Charts for monday .com eazyBI is a proud monday .com marketplace partner, providing a fully integrated data analytics, visualization, and business intelligence app. Integrated seamlessly into monday .com, eazyBI empowers monday .com users with advanced unlimited custom reporting and charting cap
Referencing Connect boards columns. Today to mutate the linked items, you provide item IDs. However, item Ids passed to the mutation must be of type Int not type ID. This means we cannot directly pass the values we get from queries to the mutation. If we’re creating items and need to link them, we get the item ID back as string ID and need to coerce those to Int to connect the item for example. Since its conceivable one day that using string IDs will become mandatory (such as the addition of word characters,) the sooner this can get resolved the better (maybe even as a hotfix to 2023-10 so we can address it during conversion to API 2023-10) I have to assume this also applies to dependency columns as well. I have seen several posts about this already because documentation has stated item IDs are now type ID - however in this use case the inputs for the mutation were not updated to ID and left as Int.
Hi, I can’t set up a webhook. I use code from here:monday API docs from flask import Flask, request, abort, jsonify app = Flask(__name__) @app.route('/webhook', methods=['POST']) def webhook(): if request.method == 'POST': data = request.get_json() challenge = data['challenge'] return jsonify({'challenge': challenge}) # print(request.json) # return 'success', 200 else: abort(400) if __name__ == '__main__': app.run(debug=True) But it didnt work. For url generation i use ngrok. I see challenges in ngrok: { "challenge": "UEkR7-4VSXqp34ve39ghi8qLJew1qsjEI69Y2TLfvuq6SDAEJ-z88gZHHW3yPBHSV9HfwGOeLlAOwlp7qzAIUQ" } But ngrok terminal: POST / 404 NOT FOUND And python terminal: * Serving Flask app 'app' * Debug mode: on WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:5000 Press CTRL+C to quit * R
I followed all of the Quick Start App Integration steps but my terminal keeps getting stuck on [nodemon] starting node ./src/app.js. I saw other people were having issues with this and were told to edit a line in the package.json file to this “expose”: “ngrok http 8301”. I looked into the package.json file but dont see anywhere where the “expose” line is. Below is a screen shot of the Package.json file that was created in the quicktart-integrations folder.
Hello, I’ve been trying to integrate Speakatoo for Text-to-Speech conversion, and while the Speakatoo API works fine on Postman, I’m encountering issues with the integration in my application. I’m curious if anyone else has experienced a similar situation or has insights on troubleshooting this. Your assistance would be greatly appreciated!
Hello. I am writing a component library based on Monday’s UI library for customized use in my apps. I am facing an error importing monday-sdk and bundling it will rollup. Here is my rollup config: import typescript from "@rollup/plugin-typescript"; import {nodeResolve} from "@rollup/plugin-node-resolve"; import commonjs from "@rollup/plugin-commonjs"; import {terser} from "rollup-plugin-terser"; import postcss from "rollup-plugin-postcss"; const config = { input: "src/index.ts", output: [ { file: "dist/bundle.cjs.js", format: "cjs", }, { file: "dist/bundle.esm.js", format: "esm", }, ], external: ["react", "react-dom", "monday-sdk-js"], plugins: [ nodeResolve(), commonjs(), typescript({ include: ["*.ts+(|x)", "**/*.ts+(|x)"], tsconfig: "./tsconfig.json", }), terser(), postcss({extensions: [".css"]}), ], }; export default config; in my file I just imported it // container.tsx import mondaySdk from
I am successfully using the monday API to load Updates to specific items in monday.com from MS/Excel. However, I can’t work out how to edit the text in an existing Update. I am capturing the Update ID when I create it in my spreadsheet but I can’t see how to use this to edit the text. Any ideas?
API-Version: 2023-10 query { boards (ids: 12345) { items_page (limit: 10) { cursor items { id name created_at updated_at state group { title deleted } columns: column_values { column { id title } text value } subitems { id name created_at updated_at columns: column_values { column { id title } text } } } } } }
Are there any stable examples of utilising the API to create an item in a board using PHP. The API Quickstart for PHP seems to have issues in the code, I think around the arrays.
Hi, I have a board with a column "relations" where the column value is an array of ids I want to set the value of another column "relation_count" based on how many ids are in “relations” value. relations is changed -> set relation_count I wonder if and how to set an automation of that nature.
Hey Monday community, I would like some feedback on this gql query import { gql } from 'graphql-request'; export const GET_VOLUNTEERS_GROUPED_BY_LANGUAGE = gql` query GetVolunteersGroupedByCanSpeakLanguage( $boardId: ID! $groupId: String! $langColId: ID! $capacityColId1: String! $capacityColId2: ID! $limit: Int ) { boards(ids: [$boardId]) { groups(ids: [$groupId]) { items_page( limit: $limit query_params: { rules: [ { column_id: $langColId, compare_value: [null], operator: is_not_empty } { column_id: $capacityColId2, compare_value: [8], operator: lower_than } ] order_by: [{ column_id: $capacityColId1, direction: asc }] } ) { items { id
When I listen “events” by SDK, and then change column values for different types of columns - the “change_column_values” always triggers as it should, but except for the column with type = “name”. Is it a bug or how can I do it in another way? Method I use: monday.listen('events', callback)
The festive season is here, but your workload hasn’t gotten the memo! To assist you in balancing holiday tasks, New Year’s resolutions, and work obligations, we’ve handpicked the top 9 Monday.com apps designed to make this holiday season a breeze Would love to hear your thoughts! Enjoy:snowman:🍧 blog.sundae.so
Hi team! There is any option to retrieve all the forms urls of an account through the api? or in any other way? Thanks!
Hi there, I’m working on the Timeline column. To implement a function in my app, I need to get the item by timeline column with a specific day, a specific time time range. I had tested some cases, and monday.com API already supports so well with operator: between. See: items_page( limit: $limit query_params: {rules: [ { column_id: $timelineField, compare_value: ["2023-11-19", "2023-12-02"], compare_attribute: "START_DATE", operator: between }, { column_id: $timelineField, compare_value: ["2023-11-19", "2023-12-02"], compare_attribute: "END_DATE", operator: between } ], operator: or } ) However, it doesn’t seem working well on greater_than_or_equals, greater_than, lower_than_or_equals, and lower_than. It still works fine with other defined compare values such as "TODAY" , "TOMORROW",. But what I need is a special day. so this is the query I
I am coding an api in C# .net. Here is a query I send to Monday.com which works just fine and retrieves the items: {“query”: "{boards (ids: 5493163446) { items { id name state } } } "} I have patterned create_item after that but all of these seven mutations result in a Server Error 500. This is my first create so I could use some basic help, for example, do I need to use the word query or just mutation and is the mutation in quotes or curly braces, etc. I have removed any column values to try and simply the query as much as possible - could it be complaining because there are no column values, just the name? {“query”: "mutation: create_item (“board_id”: 5493163446, “group_id”: “new_group”, “item_name”: “This item imported programmatically”) " { id } } {“query”: "mutation {create_item (“board_id”: 5493163446, “group_id”: “new_group”, “item_name”: “This item imported programmatically”) } " { id } } {“query”:“mutation { create_item (board_id: 5493163446, group_id: “new_group”, item_name:
Hey folks, I want to say the sandbox is an AMAZING tool in exploring and composing my queries. I am attaching here a screenshot showing a minor css bug where in use cases like my own where I want a bit nuts with the amount of queries a scroll bar appears and then using it is a bit hard as the querybuilder window overlaps a bit with its position. Here’s a proposed fix:
Hi, It seems as though there has been a change with the monday-sdk-js library or integrations recently. We have been using the openItemCard action to open item cards for various items. monday apps framework We use this sometimes in board views, sometimes in dashboards, and sometimes in item views. We’ve noticed that currently the openItemCard action is only working when this is called within a board view, and for an item that exists on the current board. For all other scenarios when the action is called on either a dashboard, an item view, or requesting an item from a related board we get the following error. { "res": { "method": "execute", "data": { "success": false, "message": "Item <item_id> is not in the context of the current board undefined" }, "requestId": "..." } }
Hi, I have one query, in migration guide of 2023-10 it is written that “Migrate apps to use the API correctly”, so we are using monday.com platform only so any change required in app here from our end? Reference link:monday API docs
Hi everybody, On a board, we have a column with 3 values for example red; green and blue. Users can only select one value. Now we want to add a new value “pink” to our list value using the playground . Is there a simple way to add this new value and not update an item with this new value with create_labels_if_missing option !? And how to delete a value from a column list ? For example i do not want blue value anymore. Thank you
Hello, I noticed in the documentation (Mirror) that you can include a fragment in your query, as shown in the example: query { items(ids: [1234567890, 9876543210]) { column_values { ... on MirrorValue { column id } } } } However, when attempting to retrieve information with the fragment on a Mirror column that is not connected to a board, an error is returned: { "error_message": "Internal server error", "status_code": 500 }
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.