I’m new to make and want to set up my first scenario, which is as follows:
Step 1: Recover geojson file (Webhook) from a form
Step 2: Extract metadata from the file
Step 3: Send metadata to an artificial intelligence (Open AI or Mistral)
Step 4: Return response to user
I can’t set up Scenario 2. I can’t find a function to do this. I’ve tried Custom Js, Http call, but I just can’t get it. Can anyone tell me how to do this?
Is MAKE planning to integrate APIs for spatial data?
Hi @jojosig ,
If I understand correctly, you’re importing .geojson in a cloud database using a form webhook and you’re trying to download and read the file contents. If you’re using Google Drive, you could maybe put together some simple apps script code to read file content in some google sheet cell A1 and then read the json content in Make:parse json.
Little coding needed here I think… What do you think ?
I found this example.
Cheers,
kud
Thanks for your feedback Kudrachaa
I don’t use google drive. I will not store the data that will be sent. I only want to read the file that will be sent and retrieve the metadata. It’s with the metadata that I want to do the analyses and send them to chatgpt. Do I need to use a spatial database?
@jojosig , It’s difficult for Make to get files on a local server. As your file comes from a form, it should already be on a cloud database to be accessed directly with HTTP request at least.
I’ve tried some conversion apps and .geojson is indeed a little niche to work with and Convertio module doesn’t support conversion from .geojson/.json to .txt or to .xlsx to then get the RAW text in Make.
I’ve just tried to open .geojson in a txt editor and copy raw text format through parse json module and it worked fine.