2021 Call for Code Awards: Live from New York, with SNL’s Colin Jost! Learn more

Building integrations with event-driven flows or flows for APIs

Few new applications today are stand-alone applications. For the most part, they require data and functions from other applications or enterprises. They require integrations.

In this workshop, you learn how to create a fully integrated application using IBM App Connect. IBM App Connect, which is a key component of the IBM Cloud Pak for Integration platform (and available for free on IBM Cloud as a SaaS offering), showcases the agility of integrating applications on the cloud.

You can use IBM App Connect to build integrations such as event-driven flows or flows for APIs. You can learn more about creating flows using App Connect in the IBM Cloud docs.

Prerequisites

Estimated time

Completing this tutorial should take about 30 minutes.

Steps

  1. Set up the IBM Cloud services
  2. Create an event-driven flow
  3. Create an API flow
  4. Create an integration by using a template and the Slack connector

Step 1: Set up the IBM Cloud services

Follow the steps in the Getting Started section of my workshop to create these three IBM Cloud services:

  • App Connect
  • Cloudant
  • Event Streams

Step 2: Create an event-driven flow

Event-driven flows enable you to identify an event that can occur in your first application (the source application) and actions that can be performed in one or more target applications.

In this lab, you’ll create a simple event-driven flow that uses a scheduler to initiate a response from an HTTP response (the source application) to send data into a Cloudant database (the target application).

Follow the steps in the event-driven flow lab of my workshop.

Step 3: Create an API flow

A flow for an API contains a request, one or more target application actions, and a response.

In this lab, you’ll create an API to create a database on Cloudant and also create an API to retrieve a list of databases created.

Follow the steps in the API flow lab of my workshop.

Step 4: Create an integration by using a template and the Slack connector

Templates help you quickly create integration flows by using connectors.

In this lab, you’ll create the Slack translation bot using a template.

Follow the steps in the Templates lab of my workshop.

Summary and next steps

In this workshop, you learned how to build integrations using IBM App Connect.

Now that you have learned how to build event-driven flows, flows for APIs, and have worked with templates, perhaps you’re ready to take on the challenge of building an enterprise-connected virtual assistant with no code.

Also, check out a replay of an event by IBM and TCS on a Modern Approach to Enterprise Application Integration to learn more about integrating applications with IBM App Connect.