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.

Zapier 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 register 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).

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.

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!

Last updated