Introduction
With Make.com you can pull data from eTermin or get a web push when creating / changing / deleting an appointment, as well as pass data to eTermin via a trigger. This means flexible workflows can be mapped using our open API interface with Make.com.
Data Transfer to Make.com via Web Push
In Make.com you can create a scenario that starts with our webhook. To do this, click on “Webhooks” when selecting the app. After that, click on the “Custom Webhook” button.
Then click on the “Create new Webhook” button and enter a name for the webhook (e.g. eTermin). You can then click Save and you will be given the URL that you will use for the webhook. You can already copy these.
You enter the URL in eTermin via the menu item “API > API & Web Push”. Here you activate the “Send Web Push” option and enter the already copied Make.com Web Push URL in the first line “Send to the following URL”. Ideally, you should also set the format directly to json so that processing in Make.com is easier. Please save the settings first and then send a test web push (CREATED) using the corresponding button.
The connection to Make.com should now be ready and you can design further processing according to your ideas.
Data Transfer to eTermin via REST API Call
Make.com offers the possibility to send an API call. To do this, there must be a trigger that executes this API call, but after that almost everything is possible in eTermin, which can be set via the backend anyway, as our open API interface is very extensive.
To successfully create the API call we need the endpoint, the header and a body.
The endpoints can be found in our API documentation.
The body consists of the parameters you want to pass.
The header consists of 3 values that you can find in the menu item "API > API & Webpush". Here you use the values “Public API Key”, “Salt” and “Signature”. You can have the latter values generated by clicking on the button.
In Make.com you can now define an HTTP action for the desired scenario. Then select “Make a request”. In the next window we just have to add the data.
First we fill in the URL and method. In our example, we have generated a new lead and would like to create a new contact in eTermin. That's why we use the endpoint "/api/contact" and the method "POST".
Then we set the headers. We have already created these and know which values need to be inserted. So we click on “Add a Header” to create the 3 values accordingly. We then do the same thing again in the body area. “Application/x-www-form-urlencoded” is recommended as the body type. Here too, the parameters can be passed via “Add item”. That looks something like this:
Everything is now prepared and you can carry out the first test. After everything has arrived in eTermin as specified, you can save the scenario and the connection is ready.
Kommentare
0 Kommentare
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.