# Vonage

Vonage (opens new window) provides unified communications, contact centers, and programmable communications APIs.

🔑 Credentials

You can find authentication information for this node here.

# Basic Operations

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 (opens new window) on n8n.io. This example usage workflow uses the following nodes.

The final workflow should look like the following image.

A workflow with the Vonage node

# 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

# 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.
  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

# 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.
  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.
  1. Enter the following message in the Expression field: Hey! The temperature outside is {{$node["OpenWeatherMap"].json["main"]["temp"]}}°C..
  2. 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

# Further Reading