NexmoPlugin

This plugin implements functions for sending messages via Nexmo.

Table of contents

  1. Installation and settings
  2. Settings
    1. ApiKey
    2. ApiSecret
  3. Actions
    1. NexmoSendMessage

Installation and settings

Table of contents

Install the nuget package:

How to install nuget package in Visual studio for Windows

How to install nuget package in Visual studio for Mac

How to install nuget package in Rider

Add the following namespaces to the usings section:

using OptimaJet.Workflow.Plugins;

Create a plugin object and arrange the required Settings:

var nexmoPlugin = new NexmoPlugin();

// Here are your settings

// nexmoPlugin.ApiKey = "API_KEY";
// nexmoPlugin.ApiSecret = "API_SECRET";

Connect the plugin to the WorkflowRuntime:

var runtime = new WorkflowRuntime()...

runtime.WithPlugin(nexmoPlugin);

Settings

ApiKey

Table of contents

String: A parameter for access to Nexmo(API_KEY).

Used for NexmoSendMessage.

ApiSecret

Table of contents

String: A parameter for access to Nexmo(API_SECRET).

Used for NexmoSendMessage.

Actions

Read about actions.

NexmoSendMessage

Table of contents

Sends a message.

Parameters:

ApiKey : String *

A parameter for access to Nexmo(API_KEY).

The value is taken from ApiKey, if specified there.

ApiSecret : String *

A parameter for access to Nexmo(API_SECRET).

The value is taken from ApiSecret, if specified there.

From : String *

A string that contains the address of the sender of the email message.

To : String *

A string that contains the addresses of the recipients of the email message

Message : String *

A string that contains the message body.

Top