Check Digest of Business with Internal Chat Service “slack”

The Collaboration example of Questetra BPM Suite with slack


The number of users who use an internal chat service, “slack”, is increasing these days.
I hear that some customers of our Questetra are using the service.

One customer consulted with us as the following.
“We want to check daily report more easily with smart phone by posting digest of the report to Slack after processing it in Questetra.”

I’ll introduce the details of our proposition at that case.

== 1. Overview ==

That’s very easy!

  1. Obtain token for calling slack API
  2. From Questetra, send data (including the token described above) with http to “slack” posting API


== 2. Details ==

=== 2.1 Preparation for slack ===

Obtain token by accessing the website below (Slack Web API).

You need to access after logging into slack. The sample image of the screen below will be shown after pressing the button for obtaining the token while you login.


=== 2.2 Preparation for Questetra ===

Setting up [Throwing Message Intermediate Event(HTTP) in Questetra to send data from it to API for posting slack(chat.postMessage).

The parameter settings are as follows:

  • Specify [Access URL] of [Network Settings] as 「」
  • In [Parameters], specify the value obtained in previous step as [token], the name of slack channel you want post to as [channel], the message(Process data item) you want to post to as [text]



♦When you want to make posting sentences with combining multiple Process data items, it is required to send data by [Throwing Message Intermediate Event (HTTP)] after creating data for posting using [Service Task (Data Assignment)]
♦There are some optional parameters you can specify in posting API of slack. By using such options, you can deal with some cases such as “Posting a message as a certain user’s post”.
Please check API reference of slack for more details.


Incidentally, Questetra itself also has equipped with in-house chat service, [Open Chat]. [Open Chat] has an advantage of being capable of connecting chat message to process which processed on Questetra. Please use chat services according to your purpose.


Questetra BPM Suite has supported “the case of OAuth2.0 connection which has access tokens with unlimited validity and not have refresh tokens” since Ver.10.4.0. It has become possible to connect with OAuth settings other than the procedure above.

About Kusaka Tsuyoshi

View all posts by Kusaka Tsuyoshi

Prev article - 50. Questetra Tips Handle Script Step Well! : Solution for Error (1)
Next article - 50. Questetra Tips We have Started Supporting Microsoft Edge
Another article - Kusaka Tsuyoshi Tips When You are in Trouble with kintone’s “Workflow Management” (part 1)