LogoLogo
HomeProductSolutionsAbout usContactLog in
  • Overview
    • Welcome to answr
    • Our Features
    • Data Layer Availability
  • Start Here
    • How to make your first API call
  • Coding Examples
    • Code Samples
    • Simple climatic variables plotting
    • Climatic variables spatial plotting
    • Reporting tool
  • Integrations
    • Connect answr with Zapier
    • Connect answr with Make
  • Data Sources
    • Sentinel-1 imagery
    • Sentinel-2 imagery
    • Sentinel-3 imagery
    • Landsat 8 imagery
    • Landsat 9 imagery
    • MODIS
    • Global Surface Water
    • Flood Hazard Maps at European and Global Scale
    • AgERA5
    • Soil moisture
  • API Data Layers
    • Climate Analytics
      • Climatic Variables
      • Köppen–Geiger Zones
      • Universal Thermal Climate Index
    • Natural Disasters
      • Cold Wave Probability
      • Drought Probability
      • Flood Severity
      • Heat Wave Probability
      • Windstorm Probability
      • Wildfire Frequency Occurrence
      • Extreme Heat Probability
      • Extreme Cold Probability
  • API Reference
    • Authentication
    • Climatic Variables
    • Natural Disasters
  • Surveys
    • Feedback
Powered by GitBook
On this page
  • Create a new Zap
  • Setup login request with Zapier Webhooks
  • Setup the Climatic Variables with Zapier Webhooks
  1. Integrations

Connect answr with Zapier

This is step by step guide to integrate answr in the Zapier ecosystem. Connect thousands apps with answr under 5 minutes.

PreviousReporting toolNextConnect answr with Make

Last updated 2 years ago

is an automation platform that connects your work apps and does repetitive tasks for you. Zapier automates your work by connecting your apps and then moving information between them based on rules you set. Zapier connects 5,000+ of the most popular work apps.

Before using this guide, an account in Zapier must be created. If you don't have an account, just to the platform. If you already have an account, just log in.

Create a new Zap

After you are logged in to your Zapier account, click on the "+Create Zap". You will be redirected to the step by step no code wizard. Initially setup a trigger, that will initiate your zap. In our example the zap is triggered each time there is a new row in a table in a connected PostgreSQL database. Depending on your application, instead of this app, you can use an ERP/CRM (e.g. Pipedrive, Zoho, Asana, etc).

Setup login request with Zapier Webhooks

From the list choose the "Webhooks by Zapier" and event as POST. Click Continue to setup the action.

From the wizard in the Set up action, paste the URL login endpoint.

https://api.answr.space/api:auth/auth/login

Add your credential in the Data section as shown in the figure below.

Now test the action to validate that the POST request was properly setup.

Setup the Climatic Variables with Zapier Webhooks

Add a second Webhook step, right after the previous one. Select which climatic or other data API endpoint you would like to integrate and paste its URL in the corresponding section. Select the GET method.

Then add one header item as shown in the figure below. It contains the authToken variable generated from the previous step. In the "Query String Params" section add an item with the following:

  • Name: Input_point

  • Value: {"type":"point","data":{"lng":LONGITUDE,"lat":LATITUDE}}

    • The LONGITUDE and LATITUDE should be replaced by the coordinates of the location you request. These can either be hardcoded (as the figure below) or passed as variables from previous steps.

Make sure you select "json" in the "JSON key" to return the results as a json structure

Finally, test the action to validate that the input for the GET request was correct. Now you can use the response of the answr API to any of the supported Zapier applications!

To configure a PostgreSQL server in Zapier just place the host IP/URL, credential and schema and you are ready to go. More details can be found .

here
Zapier
register
Setup a trigger
Choose app and event
Setup the answr authentication call
Testing the answr authentication call
Choose app and event
Setup the answr data API call
Successful answr API response