Skip to main content

addCalendar

Adds an event to the system calendar.

Field Configurations

KeyTypeDescriptionDefault Value
"params" (required)ObjectAdds a new event to the user's calendar with the specified metadata.null

Parameters

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"endDate" (required)StringThe end time of the calendar entry. ISO 8601 format yyyyMMdd'T'hhmmss .null
"location"StringThe location of the calendar entrynull
"notes"StringThe note added to the calendar entrynull
"startDate" (required)StringThe start time of the calendar entry. ISO 8601 format yyyyMMdd'T'hhmmss .null
"title"StringThe title of the calendar entrynull
"url"StringThe URL that is added to the calendar entry.null

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples

Example 1: Create a calendar entry

Goal: Create a calendar entry including a note and address.

To achieve this the following code can be used:

{
"type": "addCalendar",
"params": {
"title": "Event n° 1",
"notes": "First events of the day!",
"url": "https://www.fabrik19.de/",
"location": "Bahnhofstraße 82-86, 35390 Gießen",
"startDate": "20240501T123000",
"endDate": "20240501T220000"
}
}

The values for the fields startDate and endDate are formatted according to ISO 8601.

Result:

Screencapture of the app showing the results of the sample code from Example 1.
An addCalendar action has been created.