ESCRIBA ECAP (formerly AgileApps) and Microsoft Teams Integration: Seamless Collaboration

 View Only
Tue January 30, 2024 04:59 AM

Introduction

In the fast-paced world of collaboration and productivity, seamless integration between ESCRIBA ECAP and Microsoft Teams has become a game-changer for businesses. This integration allows users to effortlessly bridge communication gaps, enhancing teamwork and efficiency. In this article, we’ll guide you through the simple steps to set up this integration and unlock a new level of collaboration.

Steps to follow

Configuring Microsoft Teams Incoming Webhook

  1. Navigate to Apps and search for Incoming Webhook.
  2. Click Add in the Incoming Webhook widget.
  3. Choose the desired Teams channel and click Set up a connector.
  4. Provide a name, upload an image, and click Create.
  5. Copy the webhook URL and paste it in a notepad or desired space.

ESCRIBA ECAP Configuration

  1. Log in to your ESCRIBA ECAP (formerly AgileApps) account.
  2. Go to Configuration > Developer Resources > Classes.
  3. Create a new class or select an existing one.
  4. Configure the webhook URL obtained from Microsoft Teams.
    Sample code:
import com.platform.api.*;
import [java.io](http://java.io/).*;
import java.util.*;
import java.util.Map;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.List;
import com.platform.api.*;
import com.platform.api.utility.*;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.core.type.TypeReference;

public void TeamsIntegration(Parameters p) throws Exception {

//try block for TeamWebHook-API Innovcation

try{

[Logger.info](http://logger.info/)("Inside TeamsWebhook...", "TeamsWebhook");

String input = p.get("type_field_name_here");

String Message = "";

// prepare request body

Map<String, String> inputMap = new HashMap<String, String>();

inputMap.put("text", Message);

ObjectMapper objectMapper = new ObjectMapper();

String plainJson = objectMapper.writeValueAsString(inputMap);

// make api call

HttpConnection con = new HttpConnection(CONSTANTS.HTTP.METHOD.POST, "Paste_your_webhook_URL);

con.setRequestBody(plainJson, "application/json", "UTF-8");

int code = con.execute();

[Logger.info](http://logger.info/)("API response code: " + code, "TeamsWebhook");

String response = con.getResponse();

[Logger.info](http://logger.info/)("Response: " + response, "TeamsWebhook");

}

catch (Exception e) {

Logger.debug("Exception: " + e.getMessage(), "ChatPrompt");

}

Note: For on-prem customers, the jar files import com.fasterxml.jackson.databind.ObjectMapper; and import com.fasterxml.jackson.core.type.TypeReference; must be added manually.

  1. Click Save to apply the changes.

Experience the Magic

With the integration in place, ESCRIBA ECAP events will trigger messages in the configured Teams channel. This ensures that your team stays informed in real-time about critical updates, such as birthday wishes, new cases, valuable feedback, and more from applications integrated with ESCRIBA ECAP.

Next steps

The ESCRIBA ECAP and Microsoft Teams integration opens a new avenue for enhanced communication and collaboration. By combining the power of ESCRIBA ECAP workflow automation with Microsoft Teams real-time messaging, your team can boost productivity and responsiveness. Embrace the future of collaboration by setting up this integration and witness the positive impact on your work dynamics.

As you explore the ESCRIBA ECAP and Microsoft Teams integration, we’d love to hear your thoughts and suggestions. Your feedback is invaluable and helps us improve our services to better meet your needs. Drop us an email at anish.iyyappan2@softwareag.com or prashanth.rajamanickam@softwareag.com to share your feedback, ideas, or any areas where you believe we can enhance your experience further.


#B2B-Integration
#webMethods
#AgileApps