Push Message
gotify.create_message
ActionChat & messagingconnection required
Calls the Gotify API with the connection's credentials.
Push a notification to the Gotify server as this connection's app.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Gotify
- Secret shape
- {"token": "…application token…", "client_token": "…optional…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
message The notification body; Gotify renders Markdown but not HTML. | string | Yes | — | — | **Backup** was successfully finished. |
title The notification title; Gotify falls back to the app name when blank. | string | No | — | — | Backup |
priority How intrusive the notification is: 0 is silent, 4 adds sound, 8 vibrates. | number | No | — | 0–10 | 5 |
extras Gotify extras, keyed as namespace::action (client::display, client::notification, android::action). | object | No | — | — | {"client::display":{"contentType":"text/markdown"}} |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"extras": {
"client::display": {
"contentType": "text/markdown"
}
},
"message": "**Backup** was successfully finished.",
"priority": 5,
"title": "Backup"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The message id, which is what delete_message takes. | number | — |
appid The id of the application the message was sent as. | number | — |
message The message body, as Gotify stored it. | string | — |
title The message title, empty when none was sent. | string | — |
priority The priority Gotify recorded for the message. | number | — |
date ISO-8601 timestamp of when the message was created. | string | — |
extras The extras object sent alongside the message. | object | — |
{
"appid": 0,
"date": "",
"extras": {},
"id": 0,
"message": "",
"priority": 0,
"title": ""
}Notes
- Uses the connection's application token, the only credential Gotify lets push a message.
See Push Message run in a workflow.
In a technical demo we add the Gotify connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.