forked from n8n-io/n8n-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'harshil1712-docs/vonage'
- Loading branch information
Showing
6 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
permalink: /credentials/vonage | ||
description: Learn to configure credentials for the Vonage node in n8n | ||
--- | ||
|
||
# Vonage | ||
|
||
You can use these credentials to authenticate the following nodes with Vonage. | ||
- [Vonage](../../nodes-library/nodes/Vonage/README.md) | ||
|
||
## Prerequisites | ||
|
||
Create a [Vonage](https://vonage.com) account. | ||
|
||
## Using API Key | ||
|
||
1. Access the [Vonage dashboard](https://dashboard.nexmo.com/). | ||
2. Copy the ***API key*** and the ***API Secret*** from the dashboard. | ||
3. Use this ***API Key*** and ***API Secret*** with your Vonage node credentials in n8n. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
permalink: /nodes/n8n-nodes-base.vonage | ||
description: Learn how to use the Vonage node in n8n | ||
--- | ||
|
||
# Vonage | ||
|
||
[Vonage](https://vonage.com/) provides unified communications, contact centers, and programmable communications APIs. | ||
|
||
::: tip 🔑 Credentials | ||
You can find authentication information for this node [here](../../../credentials/Vonage/README.md). | ||
::: | ||
|
||
## Basic Operations | ||
|
||
::: details SMS | ||
- Send | ||
::: | ||
|
||
## Example Usage | ||
|
||
This workflow allows you to send daily weather updates via an SMS message using the Vonage node. You can also find the [workflow](https://n8n.io/workflows/723) on n8n.io. This example usage workflow uses the following nodes. | ||
- [Cron](../../core-nodes/Cron/README.md) | ||
- [OpenWeatherMap](../../nodes/OpenWeatherMap/README.md) | ||
- [Vonage]() | ||
|
||
The final workflow should look like the following image. | ||
|
||
![A workflow with the Vonage node](./workflow.png) | ||
|
||
### 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. | ||
|
||
![Using the Cron node to trigger the workflow daily at 9 am](./Cron_node.png) | ||
|
||
### 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. | ||
|
||
![Using the OpenWeatherMap node to get weather updates for Berlin](./OpenWeatherMap_node.png) | ||
|
||
### 3. Vonage node (send: sms) | ||
|
||
This node will send an SMS with the weather update, which was sent by the previous node. | ||
|
||
1. First of all, you'll have to enter credentials for the Vonage node. You can find out how to do that [here](../../../credentials/Vonage/README.md). | ||
2. Enter a Vonage phone number or the brand name in the ***From*** field. | ||
3. Enter the receiver's phone number in the ***To*** field. | ||
4. Click on the gears icon next to the ***Message*** field and click on ***Add Expression***. | ||
::: v-pre | ||
5. Enter the following message in the ***Expression*** field: `Hey! The temperature outside is {{$node["OpenWeatherMap"].json["main"]["temp"]}}°C.`. | ||
6. Click on ***Execute Node*** to run the node. | ||
::: | ||
|
||
In the screenshot below, you will notice that the node sends an SMS to the phone number that we specified with the weather update, which was sent by the previous node. | ||
|
||
![Using the Vonage node to send weather updates via SMS](./Vonage_node.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.