mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
⚡ Basic doc created
This commit is contained in:
parent
e8b145426d
commit
8a2f66f149
28
docs/nodes/credentials/Spontit/README.md
Normal file
28
docs/nodes/credentials/Spontit/README.md
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
permalink: /credentials/spontit
|
||||
description: Learn to configure credentials for the Spontit node in n8n
|
||||
---
|
||||
|
||||
# Spontit
|
||||
|
||||
You can use these credentials to authenticate the following nodes with Spontit.
|
||||
- [Spontit](../../nodes-library/nodes/Spontit/README.md)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Create a [Spontit](https://www.spontit.com/) account.
|
||||
|
||||
## Using API Key
|
||||
|
||||
1. Access the [Spontit dashboard](https://www.spontit.com/).
|
||||
2. On the navigation menu, click on ***API*** and select 'Get Secret Keys' from the dropdown list.
|
||||
3. Click on ***+ Create New Key*** to generate a new API Key.
|
||||
4. Click on the ***PROFILE*** tab on the navigation menu.
|
||||
5. Copy the displayed username.
|
||||
6. Use this ***API Key*** and ***Username*** with your Spontit credentials in n8n.
|
||||
|
||||

|
||||
|
||||
## Further Reference
|
||||
|
||||
- [Spontit API Documentation](https://api.spontit.com/)
|
||||
BIN
docs/nodes/credentials/Spontit/using-api-key.gif
Normal file
BIN
docs/nodes/credentials/Spontit/using-api-key.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 763 KiB |
69
docs/nodes/nodes-library/nodes/Spontit/README.md
Normal file
69
docs/nodes/nodes-library/nodes/Spontit/README.md
Normal file
@ -0,0 +1,69 @@
|
||||
---
|
||||
permalink: /nodes/n8n-nodes-base.spontit
|
||||
description: Learn how to use the Spontit node in n8n
|
||||
---
|
||||
|
||||
# Spontit
|
||||
|
||||
[Spontit](https://www.spontit.com/) enables you to send push notifications without your own app, or even website. You can create different channels and even send notifications to specific followers.
|
||||
|
||||
::: tip 🔑 Credentials
|
||||
You can find authentication information for this node [here](../../../credentials/Spontit/README.md).
|
||||
:::
|
||||
|
||||
## Basic Operations
|
||||
|
||||
::: details Push
|
||||
- Create a push notification
|
||||
:::
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to send daily weather updates via a push notification using the Spontit node. You can also find the [workflow](https://n8n.io/workflows/740) on n8n.io. This example usage workflow uses the following nodes.
|
||||
- [Cron](../../core-nodes/Cron/README.md)
|
||||
- [OpenWeatherMap](../../nodes/OpenWeatherMap/README.md)
|
||||
- [Spontit]()
|
||||
|
||||
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. Spontit node (create: push)
|
||||
|
||||
This node will send a push notification with the weather update.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Spontit node. You can find out how to do that [here](../../../credentials/Spontit/README.md).
|
||||
2. Enter `Today's Weather Update` in the ***Title*** field.
|
||||
3. Click on the gears icon next to the ***Body*** field and click on ***Add Expression***.
|
||||
::: v-pre
|
||||
4. Enter the following message in the ***Expression*** field: `Hey! The temperature outside is {{$node["OpenWeatherMap"].json["main"]["temp"]}}°C.`.
|
||||
5. Click on ***Execute Node*** to run the node.
|
||||
:::
|
||||
|
||||
In the screenshot below, you will notice that the node sends a push notification to the default device with the weather update.
|
||||
|
||||

|
||||
Loading…
Reference in New Issue
Block a user