mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Merge branch 'docs/gotify' of https://github.com/harshil1712/n8n-docs into harshil1712-docs/gotify
This commit is contained in:
commit
60fba22824
31
docs/nodes/credentials/Gotify/README.md
Normal file
31
docs/nodes/credentials/Gotify/README.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
permalink: /credentials/gotify
|
||||
description: Learn to configure credentials for the Gotify node in n8n
|
||||
---
|
||||
|
||||
# Gotify
|
||||
|
||||
You can use these credentials to authenticate the following nodes with Gotify.
|
||||
- [Gotify](../../nodes-library/nodes/Gotify/README.md)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Install [Gotify](https://gotify.net/docs/install) on your server.
|
||||
|
||||
## Using API Token
|
||||
|
||||
***Note:*** To create a message, the App API Token is required. To delete or retrieve all messages, you need the Client API Token.
|
||||
|
||||
1. Access your Gotify dashboard.
|
||||
2. Click on ***APPS*** in the navigation menu.
|
||||
3. Click on the ***CREATE APPLICATION*** button.
|
||||
4. Enter an application name in the ***Name*** field.
|
||||
5. Click on the ***CREATE*** button.
|
||||
6. Click on ***CLIENTS*** in the navigation menu.
|
||||
7. Click on the ***CREATE CLIENT*** button.
|
||||
8. Enter a name for the client in the ***Name*** field.
|
||||
9. Click on the ***CREATE*** button.
|
||||
10. Use this app token, client token, and the host URL with your Gotify API credentials in n8n.
|
||||
11. Click the ***Save*** button to save your credentials in n8n.
|
||||
|
||||

|
||||
BIN
docs/nodes/credentials/Gotify/using-api.gif
Normal file
BIN
docs/nodes/credentials/Gotify/using-api.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 MiB |
BIN
docs/nodes/nodes-library/nodes/Gotify/Cron_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Gotify/Cron_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
BIN
docs/nodes/nodes-library/nodes/Gotify/Gotify_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Gotify/Gotify_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 146 KiB |
BIN
docs/nodes/nodes-library/nodes/Gotify/OpenWeatherMap_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Gotify/OpenWeatherMap_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 196 KiB |
72
docs/nodes/nodes-library/nodes/Gotify/README.md
Normal file
72
docs/nodes/nodes-library/nodes/Gotify/README.md
Normal file
@ -0,0 +1,72 @@
|
||||
---
|
||||
permalink: /nodes/n8n-nodes-base.gotify
|
||||
description: Learn how to use the Gotify node in n8n
|
||||
---
|
||||
|
||||
# Gotify
|
||||
|
||||
[Gotify](https://gotify.net/) is a server for sending and receiving messages.
|
||||
|
||||
::: tip 🔑 Credentials
|
||||
You can find authentication information for this node [here](../../../credentials/Gotify/README.md).
|
||||
:::
|
||||
|
||||
## Basic Operations
|
||||
|
||||
::: details Message
|
||||
- Create
|
||||
- Delete
|
||||
- Get All
|
||||
:::
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to send daily weather updates via a message using the Gotify node. You can also find the [workflow](https://n8n.io/workflows/774) on n8n.io. This example usage workflow uses the following nodes.
|
||||
- [Cron](../../core-nodes/Cron/README.md)
|
||||
- [OpenWeatherMap](../../nodes/OpenWeatherMap/README.md)
|
||||
- [Gotify]()
|
||||
|
||||
The final workflow should look like the following image.
|
||||
|
||||

|
||||
|
||||
### 1. Cron node
|
||||
|
||||
The Cron node will trigger the workflow daily at 9 AM.
|
||||
|
||||
1. Click on ***Add Cron Time***.
|
||||
2. Set hours to 9 in the ***Hour*** field.
|
||||
3. Click on ***Execute Node*** to run the node.
|
||||
|
||||
In the screenshot below, you will notice that the Cron node is configured to trigger the workflow every day at 9 AM.
|
||||
|
||||

|
||||
|
||||
### 2. OpenWeatherMap node (Current Weather)
|
||||
|
||||
This node will return data about the current weather in Berlin. To get the weather updates for your city, you can enter the name of your city instead.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the OpenWeatherMap node. You can find out how to do that [here](../../../credentials/OpenWeatherMap/README.md).
|
||||
2. Enter `berlin` in the ***City*** field.
|
||||
3. Click on ***Execute Node*** to run the node.
|
||||
|
||||
In the screenshot below, you will notice that the node returns data about the current weather in Berlin.
|
||||
|
||||

|
||||
|
||||
### 3. Gotify node (create: message)
|
||||
|
||||
This node will send a message with the weather update.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Gotify node. You can find out how to do that [here](../../../credentials/Gotify/README.md).
|
||||
2. Click on the gears icon next to the ***Message*** field and click on ***Add Expression***.
|
||||
::: v-pre
|
||||
3. Enter the following message in the ***Expression*** field: `Hey! The temperature outside is {{$node["OpenWeatherMap"].json["main"]["temp"]}}°C.`.
|
||||
4. Click on ***Add Field*** and select 'Title' from the dropdown list.
|
||||
5. Enter `Today's Weather Update` in the ***Title*** field.
|
||||
6. Click on ***Execute Node*** to run the node.
|
||||
:::
|
||||
|
||||
In the screenshot below, you will notice that the node sends a message with the weather update.
|
||||
|
||||

|
||||
BIN
docs/nodes/nodes-library/nodes/Gotify/workflow.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Gotify/workflow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 164 KiB |
Loading…
Reference in New Issue
Block a user