setLocalReminder
Sets a local reminder.
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"params" (required) | Object | undefined | null |
Parameters
Key | Type | Description | Default Value |
---|---|---|---|
"async" | Boolean | Specifies whether the action should perform asynchronously. | null |
"id" | String | The ID of the reminder. | null |
"text" (required) | String | The text of the reminder. | null |
"time" (required) | String | The time of the reminder. | null |
"title" (required) | String | The title of the reminder. | null |
Inherited
From Base Action
Base Action
Field Configurations
Key | Type | Description | Default Value |
---|---|---|---|
"dynamicParams" | Object | Dynamic params to retrieve data from a specific context e.g. a userSetting. | null |
"leadingDelimiter" | String | The leading mustache delimiter to use. | null |
"params" | Object,Array | Object containing the properties of the action. | null |
"trailingDelimiter" | String | The trailing mustache delimiter to use. | null |
"type" | String | Type name of the action. | null |
Examples
Example 1: Create a local reminder
Goal: Create a local reminder called "meeting", give it a short description and assing it the time value.
id
, title
, text
, time
keys have to be assigned within the params
object of the action.
{
"type": "setLocalReminder",
"params": {
"id": "1",
"title": "meeting",
"text": "Feel reminded",
"time": "2024-01-01 15:00:00"
}
}
Result:
A local reminder "meeting" has been set.