1. Home
  2. Knowledge Base
  3. Cloud API
  4. Rule Actions Using External Services

Rule Actions Using External Services

IoT-Ignite rules may have actions that call external services. Built-in rule actions using external services in IoT-Ignite platform are

  1. IFTTT
  2. Twitter
  3. Mail Configuration

Before creating a rule that has such an action in IoT-Ignite Rule Editor, we must configure these services  In this article, we will explain how to do this.

IFTTT

In this part, we will explain how you can save your IFTTT key step by step.
First of all, you must go to the IFTTT Maker Channel site, then connect to this channel.

Rule Actions Using External Services > IFTTT Maker Channel

After connection process, you must go to the settings page.

Rule Actions Using External Services > IFTTT Maker Main

You will find IFTTT key that is in the URL of the account info in the settings page.

Rule Actions Using External Services > IFTTT Maker Settings

Finally, you must save this key using the form displayed below in the Enterprise IoT-Ignite.

Rule Actions Using External Services > Save IFTTT

If you want to delete this IFTTT key, you can use “Delete” button.

Rule Actions Using External Services > Delete IFTTT

Twitter

In this part, we will explain how to connect to Twitter. If you want to send a Twitter message as an action, you must connect with Twitter.
Firstly, you must click “Connect with Twitter” button. It navigates you to the Twitter authorization page.

Rule Actions Using External Services > Connect to Twitter

In the authorization page, you must authorize IoT-Ignite app using the marked button in the image below.

Rule Actions Using External Services > Authorize Twitter

If you want to remove the Twitter connection, you can use “Disconnect from Twitter” button.

Rule Actions Using External Services > Disconnect from Twitter

Mail Configuration

In this part, we will explain how to configure a mail account in detail. Send mail action in the rule editor requires the mail configuration.

Mail configuration includes 4 mandatory parameters and 1 optional parameter. The mandatory parameters are:

  1. SMTP Host
  2. SMTP Port
  3. Email
  4. Security Type

and the optional parameter is:

  1. Prefix

There are three options for the security type parameter.

  1. None
  2. STARTTLS
  3. SSL

If you choose STARTTLS or SSL, you must fill the username and password fields.

Rule Actions Using External Services > Mail Configuration

You can delete or update the mail configuration. In addition, you can send a test mail to check that your settings are correct.

Rule Actions Using External Services > Send Test Mail

Was this article helpful?

Related Articles