Brevo & make.com
This pages contains example scenarios, including blueprints + guides on how to make brevo interact with mobimed via make.
mobimed → brevo
Blueprint
Mobimed_to_Brevo.blueprint.json
Introduction
The goal is to create/update a brevo contact with patient data and custom fields, whenever a patient is created or updated.
First create a new scenario, that will handle the communication from mobimed/clinicore to brevo.
Webhook
First you need to create a webhook module. This will receive all incoming changes from mobimed/clinicore.
Register the address using mobimed:add-webhook-consumer, ideally with a dedicated user with only necessary permissions.
Internal Note: this will trigger on every received webhook, so every event costs a make credit, which is some kind of make currency (we are unfortunately not talking about Star Wars credits here). This might burn through them very fast, if a lot of irrelevant events are received. Can this be circumvented with permissions? Some things can be filtered, but models which use a “allow all” policy might probably spam this?
If not, allowing to filter webhooks by e.g. event and/or model name would be ideal, or at least something that clients will probably request very quickly when using this.
Internal Note: Authentication
Unfortunately, there is no compatible solution for web hook authentication. make does not support bearer tokens, a token can only be passed via x-make-apikey:
Now run the scenario, by clicking Run once in the toolbar at the bottom, and quickly edit + save a patient.
This will process the incoming data, and give make a grasp on the incoming data. This can be seen by the double checkmark symbol on the top right side of the module. Clicking on it will show the results of the execution:
Ensure that model actually says Patient, otherwise you need to re-run the scenario again.
Request Custom Fields
We now want to request custom fields of the modified patient, so add a HTTP “Make a Request” module.
For authentication, use “API Key”, then add one under Credentials. You have to add Bearer before the token for it to work.
Under “URL”, you need to enter the API path: https://<DOMAIN>/api/v1/patientCustomFields?patient=. Replace <DOMAIN> with your systems name, so for e.g. meinsystem.mobimed.at, you would need to insert https://meinsystem.mobimed.at/api/v1/patientCustomFields?patient=. In this example, we use staging as our system.
After you entered the URL, you need to click on id in the right panel. If it isn’t visible, click another time into the URL input (after the last character!), and it should show up.
This will insert it the id at the cursor. If you did everything correctly, it should look like this.
Close the module settings be clicking on “Save”.
We need to add a filter between the Webhook and the HTTP modules. This can be done by clicking on the connection between them, which opens the following dialogue.
Configure it like this:
- Label: “Patient created/updated” (optional, this is just for you)
-
Pick
1.eventaboveText operators: Equal to(for the variale), and typeEntityWasCreatedbelow it as comparison value. -
Click
Add AND rule -
Pick
1.modeland compare it toPatient. You should now have something like this: -
Click
Add OR rule -
Repeat the filtering rules for
1.event(but compare it toEntityWasUpdatedthis time) and1.model.
The resulting filter should compare like this.
1.type = EntityWasCreated
AND
1.model = Patient
OR
1.type = EntityWasUpdated
AND
1.model = Patient
Click save to finish the filter.
Now run the scenario and edit + save a patient again. If everything worked well, you should see results for the request on the top right of the HTTP Module. The interesting response data is stored in Bundle 1 → Data, so expand those sections and you should see the following.
Extract values for the brevo contact
We currently have a data structure, that brevo cannot work with (an Array of so called Collection objects), so we need to transform them first.
One solution for this is to extract the values in a chain of Iterator → Router → Set Variable modules. This lets us process each Collection one by one, route them based on their field.name attribute to the correct path, and store them in variables for later processing.
Iterator
Here we just select the patientCustomFields array of the HTTP response:
Router
Next comes a Router module, which by itself has no options
We only need to configure the filters to the following modules correctly for this to work.
Set Variable
This is the module which actually stores the value of our custom field to a usable variable for Brevo. It is important to enable the advanced settings in the bottom left, so we can set the variable lifetime to One execution.
- Variable Name: can be named as desired
- Variable value: this first picks out the actual
valueof the objects contained in the values array, then picks thelast(the “newest”)
Push the contact to Brevo
Our scenario currently does not actually does anything Brevo-related yet, lets change that. To achieve this, we first need to add a final route for the actual contact creation.
Since we may need to process all values in the patientCustomFields array (and those have no guaranteed order anyway) we will attach a dummy “final entry” to the array first.
Dummy Element
We implement this using a Set Variable or Set Variables tool module, which we insert between the HTTP and the Iterator modules.
The module needs to be configured like this (you can write anything instead of lastElement, you just need to enter the same text later.
Update the Iterator
Now edit the iterator module, and pick the newly created variable:
Add the final route
Now lets add the final route to our router. First we need to retrieve the variable(s) for our custom fields, which we created earlier. Lets assume we created iban and newsletter-wanted, then you will need to configure your “Get multiple Variables”
We need to filter our new route with the final dummy element, which we created earlier:
Create the Contact
We are finally ready to create a brevo contact. So lets add a Brevo → Create a Contact module:
If you don’t already added a Brevo account to your make account, you will need to do this first. For this you need to create an API key in brevo (https://app.brevo.com/settings/keys/api), which you can then insert here, once you clicked on “Add”:
After this, you need to wait for a few seconds for make to load your Brevo contact attributes.
You should see a list of available attributes. Many of those can be configured using the data from our webhook, others need to be filled by the variables of our custom fields, which we created earlier.
Keep in mind that date fields like GEBURTSTAG (sometimes also named GEBURTSDATUM must be formatted, so Brevo accepts them).
It is recommended to add a list, so you have your synced contacts grouped:
You should also enable “Update enabled”, which becomes visible advanced settings are enabled:
Click “Save”.
Final test
Now we’re ready to run the scenario again, but this time, you should see a new (or updated) Brevo contact 🥳
Brevo → Mobimed unsubscribe
Blueprint
Brevo_to_Mobimed.blueprint.json
Introduction
This event will need to be created for transactional and/or marketing unsubscribe events, depending on your needs. This will guide will show for transaction, but the process is indentical for other events.
Brevo “New Event”
Start by adding a “New Event” Brevo module
This module needs a brevo webhook, which you can create by clicking on the “Add” button:
Pick a new for the webhook, select your brevo connection (or create a new one, if you don’t already have one), pick transactional as type and filter by unsubscribe events.
Find Patient by E-Mail
To find the relevant patient, we need to query the patients by contact email from the event:
Similar to Request Custom Fields, you need use your mobimed token, and replace the url with your own system, e.g. you can start with this template URL:
https://<DOMAIN>/api/v1/patients?active=true&columns[]=id&sort=-createdAt&customFields[email]=
and then manually pick the EMail from the first module, while your cursor is at the end of the URL parameter.
This is a good time to test run your scenario, so make can cache the results from the query. If everything worked correctly, you should see the following output from the HTTP module (ideally with a single patient in the patients array).
Extract the patient ID
This step isn’t necessary, but makes everything a bit more readable. Add a Set Variable module, and enter the following, so we have a patient variable.
Also, we should filter the connection to this module when the patients[] array is empty:
Update the patient
Create another HTTP Request module, and configure it like this:
You already know the drill for the URL:
https://<DOMAIN>/api/v1/patients//customFieldValuesByName
Insert the patient variable from before between the double / , to make it match the screenshot.
To send the correct data, you also need to configure the following fields:
Depending on what you want to update on the patient, you might want to go for a Data structure instead of a JSON string, but that is up to you and not covered here.
Final Test
Lets run the scenario again, and see if it works. Under Output, check if Status Code is 204.
Also check if your patient has been updated of course.
Tips
- E-Mail events like unsubscribe are annoying to retrigger during scenario development, so it is helpful to add a Link to your E-Mail body and enable “link opened” events as well (you can edit brevo webhooks here https://app.brevo.com/app-store/webhooks). This way, you can retry your scenario without having to unsubscribe, and then manually resubscribe in brevo until your scenario works.
- Test sends in campaigns don’t seem to trigger webhooks, so send actualy campaigns to your test e-mail address.
Stand 09.06.2026
Verwandte Themen
Informationen für Ihre IT-BetreuungGeräteanbindungUm ein Gerät (z.B. Ultraschallgerät) an mobi.MED anbinden zu können bzw. Daten des Gerätes in mobi.MED zu speichern, sind folgende Schritte notwendig.
Informationen für Ihre IT-BetreuungWebhooksFür eine API-Integration kann bei bestimmten Änderungen im System, zB an Stammdaten wie Name, E-Mail oder Telefonnummer, ein HTTP-POST an eine von Ihnen …
Informationen für Ihre IT-BetreuungUpload DatenexportFür das Uploaden des Datenexports würden wir Sie bitten CyberDuck für Ihre Plattform herunterladen https://cyberduck.io/download/ .
Informationen für Ihre IT-BetreuungRezeptdruck mit vorgedrucktem PapierDer Druck von Rezepten auf vorgedrucktem Papier bringt immer wieder Herausforderungen mit sich. Ursache ist dabei weniger die Funktion selbst, sondern vor …