webMethods.io Integration tutorial - Developer Guide 1.3
Tags: integration, webmethods, tutorial, software
Published: 2019-12-11 10:13:01

---
title: webMethods.io Integration tutorial - Developer Guide 1.3
published: true
tags: integration, webmethods, tutorial, software
canonical_url: http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/11809/webMethods.io+Integration+tutorial+-+Developer+Guide
---

# Advanced Features

### Actions

webMethods.io Integration offers four types of actions - Services, Utility, Premium and Custom.

#### Services

This section provides actions for more than 150 applications and IoT devices from different categories such as analytics, CRM, communication, productivity, sales & marketing, social, storage, etc. View the [full list](https://docs.webmethods.io/connectors).

To use a particular action in your workflow, look for the Service in the Connectors menu and simply drag the icon on to the canvas.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/services_1.jpg/f507434a-936e-4e27-b2b0-9b28c43f24f0?status=0)    ![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/services_2.jpg/4ad2a171-7fa7-4857-a88f-e3e5e9e800dc?status=0)

Double clicking on it opens the action configuration window. From here, you can view all the actions available for the selected service and use them in your workflows.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/services_3.jpg/824a6984-1b9e-4db0-a2af-20800762e3aa?status=0)

#### Utility

webMethods.io Integration has developed a set of customized actions by connecting applications and services to other utilities in development.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/utility.jpg/5e75f055-8efb-4090-b972-cb9ffdc56847?status=0)

**API Specs:** Build your favorite actions with [Swagger/RAML](https://docs.webmethods.io/connectors/api-specs) - API description standards, without writing code.

**Archive:** Create a ZIP [archive](https://docs.webmethods.io/connectors/archive) of multiple files in a specific folder or unzip files contained in a specified path.

**Data Store:** Store one or more key-value pairs in the webMethods.io Integration database or local storage and retrieve it whenever required. webMethods.io Integration offers three types of [data stores](https://docs.webmethods.io/connectors/data-store) - Flow Store, Account Store and Memory Store.

**DevOps Tools:** Execute and run [multiple shell commands](https://docs.webmethods.io/connectors/devops-tools) over an SSH connection.

**Developer Tools:** Build custom integrations and [customize the behavior](https://docs.webmethods.io/connectors/developer-tools) of the platform to seamlessly scale up as the number of endpoints increases.

**File:** Create, access and update [files](https://docs.webmethods.io/connectors/file) on webMethods.io Integration’s local storage.

**HTTP:** Make a [HTTP request](https://docs.webmethods.io/connectors/http) to your server.

**JSON Tools:** Convert any JavaScript string into an object or JavaScript value into a string in [JSON format](https://docs.webmethods.io/connectors/json-tools).

**Loop:** Create a [mini workflow](https://docs.webmethods.io/connectors/loop) within a workflow that runs an action or a set of actions repeatedly till it reaches a specified count.

**Notification:** Send a quick [email](https://docs.webmethods.io/connectors/notification) to any recipient from ‘[noreply@webmethods.io](mailto:mailto:noreply@webmethods.io)’ email address.

**Operations:** Sort a [specific array](https://docs.webmethods.io/connectors/operations) in either an ascending or descending order.

**SMTP:** Send [mail](https://docs.webmethods.io/connectors/smtp) to a specified recipient via a TCP-IP protocol.

**Spreadsheet:** View information and transform the data contained in a [Spreadsheet](https://docs.webmethods.io/connectors/spreadsheet) on webMethods.io Integration’s local storage.

**Transform:** Convert [data stored in a specific format](https://docs.webmethods.io/connectors/transform) into another format. Some of the data conversion options offered by webMethods.io Integration are - XML to JSON, JSON to CSV, JSON to XML, CSV to JSON, and JSON to HTML.

**Webmaster Tools:** Analyze data and gain useful insights to [verify the correctness](https://docs.webmethods.io/connectors/webmaster-tools) of a webpage.

#### Premium

The premium category contains the list of connectors exclusively available to trial users and paid accounts. Using Premium connectors, you can create custom actions. Currently, webMethods.io Integration offers 20+ Premium connectors.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/premium.jpg/4b8c3d1c-d330-40d5-8ab8-45d637b736f0?status=0)

#### Custom

If a particular action is not yet available in webMethods.io Integration, you can create your own custom actions using Node.js. webMethods.io Integration provides you an action builder that lets you insert custom code and create different actions, which look and work exactly the way other actions do.

Custom actions can be created from the ‘Custom’ tab under the ‘Connectors’ panel. webMethods.io Integration offers a basic code structure in the console for your reference.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/custom_1.png/493fdf2e-b204-4ff4-a21c-a3d12e810794?status=0)         ![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/custom_2.png/03235bd4-e13e-4fb7-ac4f-bccd452d425c?status=0)

Once you create a Custom Action, it is saved under the Custom tab. You can create, edit, and delete custom actions from this tab.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/custom_3.jpg/2e36105f-3f88-46ce-935c-066fcbe525b2?status=0)

Here is a [step-by-step guide](https://docs.webmethods.io/developer-guide/creating-custom-actions-with-node.js) to help you understand how to create a custom action with Node.js

### Switch

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/switch_2.jpg/b16e52bc-b9e8-495c-aa22-7b12026a4d4b?status=0)

Switch is a selection control statement that lets you define multiple conditions and their corresponding execution paths for a workflow.

Suppose your organization has a support request form on the website where customers can raise requests for different departments. Using Switch, you can have these support requests automatically assigned to the right department, such as IT, Operations, Marketing, HR or others.

The execution paths are defined using cases. Each case specifies the condition(s) to be met along with the next action to be executed if the condition is met.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/switch.jpg/c09b0c66-f957-4949-b527-c86183f7a57f?status=0)

The cases are evaluated sequentially. As soon as a case succeeds, the next action associated with it is executed, while the rest of the cases are discarded. You can optionally specify a Default Case, which is executed if none of the other cases succeed.

Understand how to set up [Switch](https://docs.webmethods.io/additional-features/switch) cases.

### Loop

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/loop_4.png/7874ca15-a83e-434c-9c98-648ef2deeea2?status=0)     The Loop action lets you run an action or a set of actions in a loop.

When you drag this action to the canvas, it looks like a block, within which you can add multiple actions and create a mini-workflow. When you execute the workflow, webMethods.io Integration executes the workflow inside the Loop action repeatedly till it reaches the specified count.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/loop_1.jpg/fd4a3622-804c-4288-b1b9-9e8dbb78a11a?status=0)

webMethods.io Integration offers two types of loops:

Times: Lets you do a particular thing x number of times

Each Item: Lets you perform a certain action(s) for all the elements of a collection

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/loop_2.jpg/3fb8aead-a156-4bd7-9de5-fc28e3d45cbd?status=0)        ![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/loop_3.jpg/0d5134fa-f075-4850-b9d5-ea1eebe617b7?status=0)

Understand the [Loop](https://docs.webmethods.io/additional-features/loop) action in detail.

### Clock

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/clock_5.jpg/2fbc7248-3a67-4e9f-97b7-3fea4547a826?status=0) webMethods.io Integration offers a Clock trigger that allows you to run a workflow automatically at a particular date or time.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/clock_1.png/fda3c33d-9ce6-4f84-ac67-a526f8e7ab50?status=0)

There are seven types of Clock triggers:

Once: Run a workflow at a specific date and time.

Repeat: Trigger a workflow at defined intervals. The interval can be scheduled in minutes, hours, days, weeks, months or even years. So, for instance, if you select 10 minutes, the workflow will run every 10 minutes from the moment you save it.

Repeat From: Repeat a workflow from a particular date and time at defined intervals.

 

 

 

 

 

 

Repeat From To: Set up a trigger within a specific date and time range and run it at defined intervals.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/clock_2.png/1dfdf6c8-2734-47a2-bdce-bd63034def42?status=0)

Daily, Weekly and Monthly: Run a workflow at defined intervals within a specified date and time range on a daily, weekly or monthly basis.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/clock_3.jpg/4a820f19-d5c9-45e2-8dd9-f317ecaa5100?status=0)        ![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/clock_4.png/baae65b4-f19d-449b-b22f-7fb0fd7c9b9a?status=0)

### Logger

The Logger action lets you view the output of the preceding action or a workflow.

Let us understand how Logger works with the help of an example.

This is a sample workflow which retrieves the list of notebooks in your Evernote account. With the help of the Logger action, we can view its output in the console logs.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/logger_1.jpg/7dd9b88f-efc1-4188-bcb1-923cc0b074d6?status=0)

While configuring the Logger action, you can click on a particular key to retrieve a specific value or select the entire object of the previous action to get all the details in the Log Data field.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/logger_2.jpg/d928ff54-5a5c-4744-81f4-c8a37eacdc68?status=0)

Next, the workflow is saved and run by clicking the Test button located at the top right corner of the canvas.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/logger_6.png/275a860c-3f3c-4320-ada4-c437fe0f3af6?status=0)

You can check the logs of this workflow from the Debug Panel located at the bottom left of the page.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/logger_4.jpg/5c8a8f45-2cb0-4120-a287-db188cde4905?status=0)

Under the Logs Tab, you will see the Console section which contains the output of our sample workflow. Likewise, you can use this action to get an instant view of the output of any workflow.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/logger_5.jpg/70deef3c-79ad-42c2-8c90-7a2209289a22?status=0)

### App Switcher

Software AG offers various cloud products to help you connect, scale and grow your digital business. Using the App Switcher, you can quickly switch between webMethods.io Integration platform, My Cloud and other Software AG Cloud products that you have signed up for. The App Switcher also gives you access to the webMethods.io Flow Editor.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/app_switcher_1.jpg/f54f3fba-9c11-4a73-82e4-5aa4ea8076ae?status=0)

When you click on My Cloud, you get access to the Administration page (only accessible to users who have been assigned the Cloud-Tenant-Administrator role) as well as links to other Software AG Cloud products.

![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/app_switcher_2.png/e6bf086f-33b9-4957-b12e-5a38c4e89601?status=0)      ![](http://techcommunity.softwareag.com/documents/portlet_file_entry/10157/app_switcher_3.jpg/d9e7b881-fb6e-4866-9b68-26709a213da7?status=0)

From here, you can:

- View, find and add users in your tenant
- View the complete list of roles available in your tenant
- Update the password policy for users

 

Read next: [webMethods.io Integration tutorial – Working with Workflows](http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/webMethods.io+Integration+tutorial+-+Working+with+Workflows)