View on GitHub

GODev-Alexa-Skill-Samples

Alexa Skill Samples

GODev-Alexa-Skill-Samples

License: MIT

Alexa TIBCO

Table of Contents

  1. TIBCO Cloud LiveApps Sample
  2. TIBCO Cloud Integration Flogo Sample
  3. TIBCO ActiveMatrix BPM Case Management Demo

TIBCO Cloud LiveApps Sample

Overview

TIBCO Cloud Integration Flogo Sample

Overview

Simple Sample of calling a TCI Flogo Service from Amazon Alexa, to get a Case count for TIBCO Cloud LiveApps. This is just a technical Sample, using AWS SDK Core Functionalities to connect to TIBCO Services, by keeping the Source on AWS Lambda as tiny as possible. Medium Article, here

Configuration

to get the sample working within your Alexa / AWS Developer Account install Amazon Alexa ASK CLI. The only String that need to be change in the Lambda Index.js is the ‘endpoint: ‘https://«your location».integration.cloud.tibcoapps.com/«your TCI Service ID»’’ to point to your TIBCO Cloud Integration Service Endpoint.

Deployment

The full Skill can be deployed quickly and globally using Amazon Alexa ASK CLI with the following commands:

This will create the Alexa Skill, configure it for global Endpoints (see ‘.ask/config’ and ‘skill.json’) finally the Lamdba Function is automatically created in ‘NA’, ‘EU’, and ‘FE’.

TCI Flogo Service

The graphically defined connect TIBCO Flogo Service looks like below, and just consume some ready to uses TIBCO Cloud LiveApps Connectors.

Alexa TIBCO Flogo LiveApps

Full TCI Flogo Implementation JSON here You just have to configure to point to you TIBCO Cloud LiveApps Application.

TIBCO ActiveMatrix BPM Case Management Demo

Overview

Unofficial Demo Skill to demonstrate integration between TIBCO ActiveMatrix BPM and Amazon Alexa. This Implementation is a bit older, and got no updates a while ago!

Full Source, and technical Details available on here. It include own Version Install Details (e.g. to run as Alexa for Business) and Setup hints as well.

Technology

This Skill is based created as Lambda Function using NodeJS JavaScript, to execute Calls to ActiveMatrix BPM the public REST API is used.

For Alexa Intents this one is used for Englisch and here the one for German. The Lambda YAML looks like this, but much more importantly here the full Source of the ‘index.js’.

The full packaged NodeJS Source and required ‘node_modules’ available for download as ZIP here. Note: This package is quite big, in the meantime I moved on to use AWS SDK Core for all kinds of Service Calls, with this you can keep Lambda function quite smaller. (see TCI Sample)

available Commands

The Skill is available in English and German, just try them out … here some samples

English

German

Installation & Hints

You like to create your own running Version from this BPM Bot, just follow the Step-by-Step Guide.

more GODev SKILL Details can be found here: http://www.godev.de/GOLib/alexa-bpm.html

other helpful once …