mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Merge branch 'docs/pushcut'
This commit is contained in:
commit
4795a73317
24
docs/nodes/credentials/Pushcut/README.md
Normal file
24
docs/nodes/credentials/Pushcut/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
permalink: /credentials/pushcut
|
||||
description: Learn to configure credentials for the Pushcut node in n8n
|
||||
---
|
||||
|
||||
# Pushcut
|
||||
|
||||
You can use these credentials to authenticate the following nodes with Pushcut.
|
||||
- [Pushcut](../../nodes-library/nodes/Pushcut/README.md)
|
||||
- [Pushcut Trigger](../../nodes-library/trigger-nodes/PushcutTrigger/README.md)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Download the [Pushcut](https://www.pushcut.io) app.
|
||||
|
||||
## Using API Key
|
||||
|
||||
1. Access the Pushcut application on your device.
|
||||
2. Click on the ***Account*** button.
|
||||
3. Click on the ***Add API Key*** under the ***INTEGRATIONS*** section.
|
||||
4. Click on the ***Generate*** button.
|
||||
5. Use the ***API Key*** with your Pushcut node credentials in n8n.
|
||||
|
||||

|
||||
BIN
docs/nodes/credentials/Pushcut/using-api-key.gif
Normal file
BIN
docs/nodes/credentials/Pushcut/using-api-key.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 994 KiB |
BIN
docs/nodes/nodes-library/nodes/Pushcut/Cron_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Pushcut/Cron_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
BIN
docs/nodes/nodes-library/nodes/Pushcut/OpenWeatherMap_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Pushcut/OpenWeatherMap_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 202 KiB |
BIN
docs/nodes/nodes-library/nodes/Pushcut/Pushcut_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Pushcut/Pushcut_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
76
docs/nodes/nodes-library/nodes/Pushcut/README.md
Normal file
76
docs/nodes/nodes-library/nodes/Pushcut/README.md
Normal file
@ -0,0 +1,76 @@
|
||||
---
|
||||
permalink: /nodes/n8n-nodes-base.pushcut
|
||||
description: Learn how to use the Pushcut node in n8n
|
||||
---
|
||||
|
||||
# Pushcut
|
||||
|
||||
[Pushcut](https://pushcut.io) is an app for iOS that lets you create smart notifications to kick off shortcuts, URLs, and online automation.
|
||||
|
||||
::: tip 🔑 Credentials
|
||||
You can find authentication information for this node [here](../../../credentials/Pushcut/README.md).
|
||||
:::
|
||||
|
||||
## Basic Operations
|
||||
|
||||
::: details Notification
|
||||
- Send
|
||||
:::
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to send daily weather updates via a push notification using the Pushcut node. You can also find the [workflow](https://n8n.io/workflows/843) on n8n.io. This example usage workflow uses the following nodes.
|
||||
- [Cron](../../core-nodes/Cron/README.md)
|
||||
- [OpenWeatherMap](../../nodes/OpenWeatherMap/README.md)
|
||||
- [Pushcut]()
|
||||
|
||||
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. Pushcut node (send: notification)
|
||||
|
||||
This node will send a push notification with the weather update, which was sent by the previous node.
|
||||
|
||||
1. First of all, you'll have to enter credentials for the Pushcut node. You can find out how to do that [here](../../../credentials/Pushcut/README.md).
|
||||
2. Select a notification from the ***Notification Name*** dropdown list.
|
||||
3. Click on ***Add Field*** and select 'Title' from the dropdown list.
|
||||
4. Enter `Today's Weather Update` in the ***Title*** field.
|
||||
5. Click on ***Add Field*** and select 'Text' from the dropdown list.
|
||||
6. Click on the gears icon next to the ***Text*** field and click on ***Add Expression***.
|
||||
::: v-pre
|
||||
7. Enter the following message in the ***Expression*** field: `Hey! The temperature outside is {{$node["OpenWeatherMap"].json["main"]["temp"]}}°C.`.
|
||||
8. Click on ***Execute Node*** to run the node.
|
||||
:::
|
||||
|
||||
In the screenshot below, you will notice that the node sends a push notification to your device with the weather update.
|
||||
|
||||

|
||||
|
||||
::: tip 💡 Activate workflow for production
|
||||
This example workflow uses the Cron node, which is a Trigger node. You'll need to save the workflow and then click on the Activate toggle on the top right of the screen to activate the workflow. Your workflow will then be triggered as specified by the settings in the Cron node.
|
||||
:::
|
||||
BIN
docs/nodes/nodes-library/nodes/Pushcut/workflow.png
Normal file
BIN
docs/nodes/nodes-library/nodes/Pushcut/workflow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 151 KiB |
Loading…
Reference in New Issue
Block a user