TwilioPlugin

This plugin implements functions for sending messages via Twilio.

Table of contents

  1. Installation and settings
  2. Settings
    1. AccountSid
    2. AuthToken
  3. Actions
    1. TwilioSendMessage

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 twilioPlugin = new TwilioPlugin();

// Here are your settings

// twilioPlugin.AccountSid = "AccountSid";
// twilioPlugin.AuthToken = "AuthToken";

Connect the plugin to the WorkflowRuntime:

var runtime = new WorkflowRuntime()...

runtime.WithPlugin(twilioPlugin);

Settings

AccountSid

Table of contents

String: A parameter for access to Twilio.

Used for TwilioSendMessage.

AuthToken

Table of contents

String: A parameter for access to Twilio.

Used for TwilioSendMessage.

Actions

Read about actions.

TwilioSendMessage

Table of contents

Sends a message

Parameters:

AccountSid : String *

A parameter for access to Slack.

The value is taken from AccountSid, if specified there.

AuthToken : String *

A parameter for access to Slack.

The value is taken from AuthToken, 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