Database
Ninox
22min
getting started with ninox the ninox modules allow you to monitor, list, retrieve, lookup, create, update, or delete records and files as well as list teams, databases, and tables in your ninox account prerequisites a ninox account in order to use ninox with make, it is necessary to have a ninox account if you do not have one, you can create a ninox account at ninoxdb de/en/sign up https //ninoxdb de/en/sign up connect ninox to make to connect your ninox account to make you need to obtain an api key from your ninox account log in to your ninox account click on the clog wheel in the top right corner and select the zapier integrations option from the menu click the generate button to generate the api key copy the provided api key to your clipboard go to make and open the ninox module's create a connection dialog enter the api key you have generated in step 4 and click the continue button to establish the connection records ninox's data loading times may result in timeouts it is the ninox's servers issue list database table records retrieves all records from a specified table connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that the table belongs to database select or map the database that contains the table you want to retrieve records from table select or map the table you want to retrieve records from limit set the maximum number of results make will return during one execution cycle get record retrieves record details connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database with the table that contains the record you want to retrieve details about database select or map the database that contains the table you want to retrieve the record from table select or map the table you want to retrieve the record from record select or map the record you want to retrieve details about look up record searches for a record based on the entered information connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team the database belongs to database select or map the database that contains the table you want to search for the record table select or map the table you want to search for the record record fields enter values to the record fields you want to search the record by the fields are dynamically read from the table you have selected above note the module always returns one record even if there are multiple matches it might not always work for every field the "multi" type of field is not supported very well ninox's api does not give options that can be selected as a result, make cannot generate a list of multi choices create record creates a new record in a specified table connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team the database belongs to database select or map the database that contains the table you want to create a new record in table select or map the table you want to create a new record in record fields enter desired values to the record fields displayed fields are automatically loaded from the selected table delete record deletes a record from the table connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that contains the record you want to delete database select or map the database that contains the table you want to delete a record from table select or map the table you want to delete a record from record map the record id of the record you want to delete update record allows you to update record fields connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that contains the record you want to delete database select or map the database that contains the table you want to delete a record from table select or map the table you want to delete a record from record map the record id of the record you want to delete record fields enter the new value to the fields you want to update files list files from record retrieves files' details from a specified record connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that contains the record you want to retrieve files from database select or map the database that contains the table with the record you want to retrieve files from table select or map the table that contains the record you want to retrieve files from record select or map the record you want to retrieve file details from limit set the maximum number of files make will return during one execution cycle download file from record downloads file data from a specified record connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that contains the record you want to download the file from database select or map the database that contains the table with the record you want to download the file from table select or map the table that contains the record you want to download the file from record select or map the record you want to download the file from file select or map the file you want to download from the record the downloaded file can be, for example, uploaded to your dropbox folder mapping the file to the dropbox > upload a file delete file from record removes a file from a specified record connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that contains the record you want to delete the file from database select or map the database that contains the table with the record you want to delete the file from table select or map the table that contains the record you want to delete the file from record select or map the record you want to delete the file from file select or map the file you want to delete from the record upload file to a record uploads a file to a record connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team of the database that contains the record you want to upload the file to database select or map the database that contains the table with the record you want to upload the file to table select or map the table that contains the record you want to upload the file to record select or map the record you want to upload the file to source file map the file you want to upload from the previous module (e g dropbox > get a file ), or enter the file name and file data manually account list teams retrieves all teams from your account connection ninox docid\ b0rh di3vbf bhg9w gcs limit set the maximum number of teams make will return during one execution cycle list databases returns all team's databases connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team you want to list databases for limit set the maximum number of databases make will return during one execution cycle list database tables returns all tables from the database connection ninox docid\ b0rh di3vbf bhg9w gcs team select or map the team you want to list database tables for database select or map the database you want to list tables from limit set the maximum number of tables make will return during one execution cycle other make an api call allows you to perform a custom api call connection ninox docid\ b0rh di3vbf bhg9w gcs url enter a path relative to https //api ninoxdb de/v1/ , e g /teams/67mm9vc324bm7x/databases/nk5xt24oixj4/tables/a/records note for the list of available endpoints, refer to the ninox rest api documentation method select the http method you want to use get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry headers enter the desired request headers you don't have to add authorization headers; we already did that for you query string enter the request query string body enter the body content for your api call example of use list records the following api call returns all records from the table in the specified database and from the specified team matches of the search can be found in the module's output under bundle > body in our example, 10 records were returned watch record events triggers when a record is created or updated follow these steps to set up the trigger open the table you want to watch for created and/or updated records click on the cog wheel above the table and select the edit fields option now you can see the trigger on create and trigger after update fields click on one of the fields switch from visual view to text view paste the following code to the field let webhookurl = "https //paste your webhook url here";let data = {//data i want to send};let response = http("post", webhookurl, {"content type" "application/json"}, data); go to make and add the watch record events module to your {{scenario singular lowercase}} copy the provided webhook address go back to the ninox trigger settings and replace the https //paste your webhook url here with the copied webhook address enter the data you want to send to the make module (select variables from the menu on the left) and click the ok button