Gotify
A simple server for sending and receiving messages.
Categories: Communication
Type: gotify/v1
Connections
Version: 1
Bearer Token
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| token | Token | STRING | Application token of the app you created for receiving and sending messages. | true |
| baseUri | Base URI | STRING | Base URI of your Gotify server (e.g. http://localhost:1024). | true |
Connection Setup
Prerequisites
Install Gotify on your server.
Create Gotify Token
- Click on "Apps".
- Click on "Create Application".
- Enter name and description of your application. Select default priority of your messages.
- Click on "Create".
- Here you can copy your token.
Actions
Send Message
Name: sendMessage
Sends a message to the server.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| title | Message Title | STRING | The title of the message that will be sent. | false |
| message | Message Content | STRING | The content message that will be sent. | true |
| priority | Priority | INTEGER | The priority of the message. If unset, then the default priority of the application will be used. | false |
| extras | Extras | ARRAY Items[{STRING(topNamespace), STRING(subNamespace), STRING(extraInfoKey), STRING(extraInfoValue)}($extra)] | The extra data sent along the message. | false |
Example JSON Structure
{
"label" : "Send Message",
"name" : "sendMessage",
"parameters" : {
"title" : "",
"message" : "",
"priority" : 1,
"extras" : [ {
"topNamespace" : "",
"subNamespace" : "",
"extraInfoKey" : "",
"extraInfoValue" : ""
} ]
},
"type" : "gotify/v1/sendMessage"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| id | INTEGER | ID of the message that was sent. |
| appid | INTEGER | ID of the app that sent the message. |
| message | STRING | Content of the message that was sent. |
| title | STRING | Title of the message that was sent. |
| priority | INTEGER | Priority of the message that was sent. |
| extras | OBJECT Properties{{{STRING(extra_info)}(sub_namespace)}(top_namespace)} | Extras of the message that was sent. |
| date | STRING | Date when the message was sent. |
Output Example
{
"id" : 1,
"appid" : 1,
"message" : "",
"title" : "",
"priority" : 1,
"extras" : {
"top_namespace" : {
"sub_namespace" : {
"extra_info" : ""
}
}
},
"date" : ""
}What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.
How is this guide?
Last updated on