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!)
To further the idea I would put a link to this āwebsiteā in the URL of a monday board column (passing needed parameters to identify the user,item, etc.)
Those parameters would also need to be passed to the webhook.
From there, itās pretty simple. All the user would have to do is click the link in the monday board on their phone.
Thatās pretty awesome! Thanks so much for sharing a solution users could apply to their workflow right away. I appreciate the āopen-sourceā spirit here
Thanks for taking a stab at this workflow and sharing the results with us, Iām sure other community members will find it helpful!
Hey JCorrell,
I am new to Monday and everything. I am somewhat lost and would appreciate some assistance on how to setup the webhook on integromat, so that I can add a location a column based on the gps position from the phone.
I already struggle setting up the webhook.
And then I was wondering, could I use that to enter the location in monday through a form where people click a button or something to trigger that script?
The critical piece is the web portionā¦ And, the main reason I didnāt create an app to do this.
If you have that part, I can definitely help with the webhook. As far as using a form, thatās a good question. There are many form tools out there. Doing a quick search with the google, it looks like 123formbuilder might be able to do that.
The most ācomplicatedā part of this is the HTML I posted. Technically, it could be modified to call the monday API directly. But I would not recommend that for security reasons. I do like the idea of incorporating it into a form if that fits your workflow.
The actual connection to monday is very simple. Depending on what you call no-code, if you use Integromat/Make there would be no coding.
I didnāt clearly understand your solution. How do you use āintegromatā? Also it seems like āintegromatā became āmakeā.
I want to get the current location of the current monday.com user. The code is pretty simple as given below. There is a function and Iām calling the function
getLocation() {
console.log("get geo-location data");
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition((p) => {
const lat = p.coords.latitude;
const lon = p.coords.longitude;
console.log(lat, ",", lon);
}, (e) => {
console.log("error in getting location data: ", e);
});
} else {
console.warn("Geolocation is not supported by this browser!");
}
}
Here it says
error in getting location data: GeolocationPositionError {code: 1, message: āGeolocation has been disabled in this document by permissions policy.ā}
So it seems like monday.com itself did not give permission.
I also think using a third party thing (another server like integromat) wonāt help because the code must be executed in the client-side to get the location of client-side.
I kind a lost my hope about getting geo-location data from monday.com app