Automatically create Google Tasks from Slack/Cisco Webex Teams keywords with webMethods.io Integration
Tags: integration, google, slack, cisco
Published: 2024-05-28 07:50:48

---
title: Automatically create Google Tasks from Slack/Cisco Webex Teams keywords with webMethods.io Integration
published: true
date: 2024-04-11 08:39:52 UTC
tags: integration, google, slack, cisco
canonical_url: https://tech.forums.softwareag.com/t/automatically-create-google-tasks-from-slack-cisco-webex-teams-keywords-with-webmethods-io-integration/294495
---

 

## Overview

This comprehensive guide will introduce you to the magic of [webMethods.io Integration](http://webMethods.io), a powerful tool that bridges the gap between your communication and task management worlds. With a few simple steps, you’ll create a simple workflow that automatically identifies task-worthy messages based on specific keywords, and seamlessly translates them into Google Tasks.

### Prerequisite:

- [webMethods.io](http://webMethods.io) Integration tenant – [sign up here](https://signup.softwareag.cloud/#/basic?product=webmethodsioint) for a free trial if you’re new (use the [advanced sign up form](https://signup.softwareag.cloud/#/advanced?product=webmethodsioint) for more options).
- Slack or Cisco Webex Teams account
- Google account

## Steps to follow

Login to your [webMethods.io Integration](https://www.softwareag.cloud/site/product/webmethods-io-integration.html) tenant, create a new project, or choose an existing one. Go ahead and get started by creating a blank workflow. If you need a refresher on how to get to this point, this [guide](https://docs.webmethods.io/integration/workflow_building_blocks/creating_first_workflow/#gsc.tab=0) can be a great introduction.

### Trigger setup

#### Slack

Click on the small setting icon on the Start step and choose the Slack trigger.

[![Slack trigger](https://global.discourse-cdn.com/techcommunity/optimized/3X/6/7/676f5a710edcc61428a8dd2512775931418458ce_2_310x222.png)](https://global.discourse-cdn.com/techcommunity/original/3X/6/7/676f5a710edcc61428a8dd2512775931418458ce.png "Slack trigger")

[![Slack trigger configuration](https://global.discourse-cdn.com/techcommunity/optimized/3X/c/8/c8b499d605a45223aeeea54c20fa74cb386eb5cc_2_310x221.png)](https://global.discourse-cdn.com/techcommunity/original/3X/c/8/c8b499d605a45223aeeea54c20fa74cb386eb5cc.png "Slack trigger configuration")

Select _New message in a Public Channel_ as a trigger and complete the authorization – connect [webMethods.io](http://webMethods.io) Integration with your Slack account. Choose a Channel ID. Here, you can also set a polling interval from the dropdown menu - this time interval determines how often you want this trigger to check for new messages.

Click **Save**. You should see the test trigger window.

To test your trigger, you need to perform the trigger action. Post a message in your Slack channel.

[![Slack channel message](https://global.discourse-cdn.com/techcommunity/optimized/3X/6/a/6a2c6aad53684c3b9f65bf808923820de2146317_2_690x148.png)](https://global.discourse-cdn.com/techcommunity/original/3X/6/a/6a2c6aad53684c3b9f65bf808923820de2146317.png "Slack channel message")

> **Note:** The workflow takes messages only starting with the string Google Task and It captures the text of the message as a description of the task.

Go back to the [webMethods.io](http://webMethods.io) Integration workflow and click **Test**. You should see the output data from the trigger which [webMethods.io](http://webMethods.io) Integration will use to configure and test the rest of the workflow. Click **Done**.

#### Cisco Webex Teams

In the same way you can set up a trigger action for the Cisco Webex Teams app - click on the small setting icon on the Start step and choose the Cisco Webex Teams trigger.

[![Cisco Webex Teams trigger](https://global.discourse-cdn.com/techcommunity/optimized/3X/c/4/c4cc523879dfe7c54a120a12af4bdd9f9c6fa52f_2_310x217.png)](https://global.discourse-cdn.com/techcommunity/original/3X/c/4/c4cc523879dfe7c54a120a12af4bdd9f9c6fa52f.png "Cisco Webex Teams trigger")

[![Cisco Webex Teams trigger configuration](https://global.discourse-cdn.com/techcommunity/optimized/3X/0/7/07f2828fc51a809ea5bd57209c130be69f9e2c2a_2_310x218.png)](https://global.discourse-cdn.com/techcommunity/original/3X/0/7/07f2828fc51a809ea5bd57209c130be69f9e2c2a.png "Cisco Webex Teams trigger configuration")

Select _New message_ as a trigger and complete the authorization – connect [webMethods.io](http://webMethods.io) Integration with your Cisco Webex Teams account. Choose a space and user if needed. Perform the test action.

### Configure Switch connector

Now we need to perform a check whether the message starts with the string _Google Tasks._ Search for the Switch action and add it to the canvas with the drag and drop feature. This automatically connects with the previous step.

![Add Switch action](https://global.discourse-cdn.com/techcommunity/original/3X/3/8/38d359d93b7ac7b2d42b2dbafc852e34bb3e90f0.png)

#### Case 1

Let’s set up the first case – if the message starts with Google Tasks. Search for the Google Tasks connector and add it to the canvas with the drag and drop feature. This automatically connects with the Switch action.

[![Switch case 1](https://global.discourse-cdn.com/techcommunity/original/3X/5/7/579695aeeb522bec76e662a9c800179878c5a21c.png)](https://global.discourse-cdn.com/techcommunity/original/3X/5/7/579695aeeb522bec76e662a9c800179878c5a21c.png "Switch case 1")

Now hover over the case 1 arrow and click on the gear icon – this will open the condition window:

[![Switch case 1 configuration](https://global.discourse-cdn.com/techcommunity/optimized/3X/8/b/8ba83e2eb9eda9c809a0983e97615203053348b9_2_690x344.png)](https://global.discourse-cdn.com/techcommunity/original/3X/8/b/8ba83e2eb9eda9c809a0983e97615203053348b9.png "Switch case 1 configuration")

Drag and drop the message text from the Incoming data panel on the left into the _Input_ field. Set the _Condition_ field to _ **Starts with** _ and type _Google Tasks_ in the _ **Expected** _ field.

Here you can set other conditions as well such as the message contains a particular word (use **Contains** condition), matches a string, etc. Click **Done**.

#### Default case

Now let’s set up the default case – just connect the Switch connector to the Stop step, hover over the case 2 arrow, and click on the gear icon – this will open the condition window:

![Default Switch case](https://global.discourse-cdn.com/techcommunity/original/3X/8/f/8fb588594513f36e1136261f1dd6ee4ed6a3bc99.png)

From the **Select Case** drop down menu select _Default_. Click **Done**.

### Create Google Tasks

Now you can proceed with the Google Tasks action configuration - click on the small settings icon on the Google Tasks connector, select _ **Create New Task** _ as action and complete the authorization – connect [webMethods.io](http://webMethods.io) Integration with your Google account.

[![Google Tasks connector](https://global.discourse-cdn.com/techcommunity/optimized/3X/2/b/2b162aefe1093dc21a7b4572242abf31cc8ce039_2_429x500.png)](https://global.discourse-cdn.com/techcommunity/original/3X/2/b/2b162aefe1093dc21a7b4572242abf31cc8ce039.png "Google Tasks connector")

Click **Next**.

Type the task title in the _Title_ field, choose T_ask List ID_ and fill out the _Description_ field - use the Incoming data panel to include message information received from the trigger output:

[![Google Tasks connector configuration](https://global.discourse-cdn.com/techcommunity/optimized/3X/2/0/2076d2e6f2dee2d4394515e03a83b647749d59c6_2_690x360.png)](https://global.discourse-cdn.com/techcommunity/original/3X/2/0/2076d2e6f2dee2d4394515e03a83b647749d59c6.png "Google Tasks connector configuration")

Click **Next** and then **Done**. Connect the Google Tasks connector to the Stop step. Save your workflow.

### Test the workflow

Now, we are ready to test the workflow. You can run the workflow using the play button in the right upper corner and review the result.

[![Final workflow](https://global.discourse-cdn.com/techcommunity/optimized/3X/c/3/c359a87b10de2d0b5b1c69df1baeb882d058579c_2_690x316.png)](https://global.discourse-cdn.com/techcommunity/original/3X/c/3/c359a87b10de2d0b5b1c69df1baeb882d058579c.png "Final workflow")

If you have configured the workflow correctly, you should see the newly created task in your Tasks list:

![New Google Task](https://global.discourse-cdn.com/techcommunity/original/3X/9/0/90166203078273d5451bdbe2f01cb0dcf6db716f.png)

Now every time a new message starting with the string Google Tasks is posted in your Slack board, a new task will be added to your Google Tasks list. Please note that this may take some time.

## Monitor workflow execution

At the bottom-left corner of the screen you can find the Execution history of the workflow:

[![Execution history](https://global.discourse-cdn.com/techcommunity/optimized/3X/3/4/3409294f2573a4b177fbd2dd3fef94fcb0b51ac9_2_690x103.png)](https://global.discourse-cdn.com/techcommunity/original/3X/3/4/3409294f2573a4b177fbd2dd3fef94fcb0b51ac9.png "Execution history")

From here you can monitor the execution status and view error details if needed:

[![Workflow execution status](https://global.discourse-cdn.com/techcommunity/optimized/3X/5/2/5264f32fee95152a262ce1bc7f24deec26a1cf70_2_690x167.png)](https://global.discourse-cdn.com/techcommunity/original/3X/5/2/5264f32fee95152a262ce1bc7f24deec26a1cf70.png "Workflow execution status")

Please note that workflow execution logs must be enabled from the workflow execution settings:

![Execution settings](https://global.discourse-cdn.com/techcommunity/original/3X/9/f/9f8f81d1142fbbceb32ac1dd20490f46eba93ef8.png)

[![Workflow settings](https://global.discourse-cdn.com/techcommunity/optimized/3X/1/b/1bf6f40e40cfc0a03e629cde936ecc96f8e7cbca_2_690x373.png)](https://global.discourse-cdn.com/techcommunity/original/3X/1/b/1bf6f40e40cfc0a03e629cde936ecc96f8e7cbca.png "Workflow settings")

[Read full topic](https://tech.forums.softwareag.com/t/automatically-create-google-tasks-from-slack-cisco-webex-teams-keywords-with-webmethods-io-integration/294495)