# Daxium-Air x Outlook - Create an event

The goal of this use case is to present how to send an outlook invitation for a meeting/event from a Daxium-Air submission, leveraging the connector platform [Make](https://www.make.com/)

1. ### Prerequisites

* Having an account on [Make](https://www.make.com/)
* Having a Microsoft Outlook email address
* Have one admin & mobile licence on Daxium-Air
* A Daxium-Air form with 2 date & time fields (start & end date for the event), and 1 email field

1. ### Generating your Daxium-Air API Key

Go to the Daxium-Air settings menu, and under the "Webservices" section, click on "API Keys"

![](/files/qVQRi5irrAf64mFiCFDs)

Click on "New" on the top right of the screen

![](/files/t4etR1wEX2Qet4QCNTzw)

Add a description & store your key & secret securely

![](/files/srjcGKmCD3ToEoWxkhj2)

1. ### Create your Daxium-Air form

Create a form containing at least

* 2 date & time fields for the start & end date of your event
  * You can configure your end date so that it must be after your start date to be valid. To do so, click on the end date field and in the "Options or date" section, select under "start date" your start date & time field
* One email field
* One text field. It'll be used to store the id of the outlook event, in case you need to manage cancellation through Daxium-Air as well

![](/files/LhUlXiElJAdvB5z4KX6s)

1. ### Get your Make webhook URL

Create a new Make scenario, and as 1st module choose "Webhooks" and copy the URL

![](/files/LYTZYy16V7ELvhL7xBDs)

1. ### Configure the automation on your Daxium-Air form

On your form, go to the automations menu on the top right of the form builder. Create a new automation by

* Giving it a name
* Choosing your trigger (submission creation for instance)
* Choosing the "Send the submission to URL" option
* Enter the URL previously copied from the Make "Webhooks" module

1. ### Determine Webhook structure in Make

Detect your webhook data by

* Clicking on "(Re)Determine data structure.
* Sending a submission that triggers your automation (so creating a submission in this example)

![](/files/84RRGeZWRdRjSJ9gQeJ6)

![](/files/0gvTP4d5pK7dL57ozhLN)

Your submission data structure will automatically be mapped

![](/files/J83rvx5tHfHgHDIKu4uF)

1. ### Create variables to store the data you need from Daxium-Air

Add a new "Set multiple variables" module after the webhook module

![](/files/Y05DMTjz0zqnzeTvhT3H)

* Please refer to the [Daxium-Air API Documentation](https://doc-dev.daxium-air.com/index.en.html) to understand the JSON structure of a submission
* Please refer to the [Make Documentation](https://www.make.com/en/help/home) to know how to access different properties & objects of a JSON data structure

![](/files/Qc0o6vHyxoCakb0I72th)

1. ### Configure your Outlook invitation

Add a new "Create an event" module from "Microsoft 365 Calendar", after the variables module

![](/files/6RkDOvWzEI0pEaDBwyzv)

* Authenticate your Microsoft account. That account will be considered as sender for the invitations
* Enter the previously created variables for start date, end date & attendees fields
* Enter the email subject & body

![](/files/ayORVIIudRMtL62UAIXZ)

You are now ready to send outlook invitations through Daxium-Air.

1. ### Pushing the outlook event id back to the submission

If you wish to manage event cancellation, you'll need the outlook event id created when sending the invitation. Below, we will explain how to store it in a (hidden) text field in your submission

Add a new "Daxium-Air" module after the "Microsoft 365 Calendar" one, and authenticate with your Daxium-Air admin account, and the API Keys generated at the beginning of this tutorial

![](/files/sGubuSgBQhhGf2ARUHGn)

You can then configure your Daxium API call to[ update the submission](https://doc-dev.daxium-air.com/index.en.html#mettre-a-jour-une-fiche) with the outlook event id returned by the previous module

![](/files/L3YYqP3NX6TSZNeAtefQ)

Alternatively, you can also use the Daxium "Patch Form Submissions" module

![](/files/UEIEDkjv19f8yHAqfQVR)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.center.daxium-air.com/user-documentation/connect/no-code-connectors/make/daxium-air-x-outlook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
