Gotify n8n integrationAutomate Gotify with n8n.
Can a workflow push an alert straight to a notification server you own? The Gotify n8n integration exposes one resource, Message, with 3 operations: create, delete and get many. No trigger node comes with it, so a Schedule Trigger or a Webhook starts the run. Built for self-hosted setups.
Verified Trustpilot reviews · AI, automation & growth agency
Why set up the Gotify n8n integration?
Gotify is a push notification server you install on your own machine, and its clients display whatever lands on its API. The n8n node n8n-nodes-base.gotify talks to that API from inside a workflow. It carries a single Message resource with 3 operations, so one run can send a notification, read the message history back, and delete an entry that no longer matters.
Start with the morning recap. A Schedule Trigger wakes the workflow, a Google Sheets node reads yesterday's rows, and message.create posts a short summary with a Title and a Priority. One of the two published templates works exactly that way: it fetches a weather update and sends it as a message every day.
Then there is alert routing that never leaves your servers. A workflow already watching Gmail for failed deliveries, or a Slack channel for incidents, can end on Gotify instead of a hosted chat. Teams that already notify through Pushover or Telegram often keep both for a few weeks and compare what actually gets read.
The third pattern is housekeeping. message.getAll brings back what the server still holds, a filter isolates the entries older than the retention you picked, and message.delete removes them one at a time. The other published template syncs liked songs from Spotify and reports the result through Gotify, same shape: a scheduled run that ends on a notification.
What the node does not do, HTTP Request does. Those 3 operations stop at the Message resource, so any other Gotify endpoint goes through the HTTP Request node, which reuses the same credential, that is the connection details you store once in n8n.
Two limits are worth knowing before you build. There is no Gotify trigger node, so nothing starts on its own when a message reaches the server. And on Get Many, with Return All off, n8n stops at the number set in Limit. If n8n itself is new to you, the n8n training covers the trigger and credential basics this page assumes.
How do you connect Gotify to n8n?
- 01
Install Gotify and copy its URL
Gotify runs on your own server, so the first move happens outside n8n: install it, then keep the address of the host at hand. The credential asks for the URL of the Gotify host, and every operation in the workflow is sent to that address. n8n has to be able to reach it, which is the part people forget when the server sits behind a private network.
- 02
Generate the two API tokens
Gotify issues two kinds of token and the node uses them for different jobs. An App API Token comes from an application you create in the Apps menu, and it is the one that lets a workflow create messages. A Client API Token comes from a client you create in the Clients menu, and it covers every other action, deleting and retrieving messages included.
- 03
Store the credential in n8n
In n8n, open the Credentials menu and create a Gotify credential with the host URL and the token. Save it, and the Gotify node offers it in its dropdown. A credential is set up once and reused by every workflow after that, so the second notification flow you build needs no new configuration at all.
What can the Gotify node do?
The Gotify node exposes 3 operations across 1 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
Operations index
Message
3 operationsCreate a message
message.createWhat you see in n8n
Notes & use cases
Posts a notification to the Gotify server, where the connected clients display it.
Key parameters
- Message: the body of the notification, often
{{ $json.text }}coming from the previous node. Writing it in markdown means setting the Content Type option as well. - Title: the line shown above the body, in Additional Fields.
- Priority: the priority of the message, also in Additional Fields,
1by default. - Content Type:
text/plainrenders the message as plain text,text/markdownrenders it as markdown.
Delete a message
message.deleteWhat you see in n8n
Notes & use cases
Removes a single message from the server, identified by its id.
Key parameters
- Message ID: the id of the message to remove, usually
{{ $json.id }}picked up from a Get Many step placed earlier in the same run.
Get many messages
message.getAllWhat you see in n8n
Notes & use cases
Reads the messages stored on the server and hands them to the workflow, one item per message.
Key parameters
- Return All: switched on, n8n walks the pages of the API until the whole history is back.
- Limit: with Return All off, it caps how many messages the node returns.
Need help automating Gotify with n8n?
A person reads every message.


