Recently, I have prepared some add-on XML Service Task definition files for cooperation with several enterprise social networking tools in response to some requests.
In this post I’ll introduce one for connecting with Hangout Chat.
1. Overview of linkage between Hangout Chat and Questetra
The processing flow is like the following diagram.
In the example flow, the result of an approval request on Questetra is posted to Hangout
Chat with the link to the details.
2. Settings on Hangout Chat
After creating a chat room configure the webhook and obtain the post URL, then write it down.
3. Settings on Questetra
Use the following add-on.
* Although it is also possible using a Throwing Message intermediate Event (HTTP) in accordance with the API definition, using an add-on is easier.
Download the add-on file below and import it to the Questetra App in reference to this page (M415).
Config items are as follows.
|A: Endpoint URL||Required||Enter the endpoint URL obtained earlier|
|B: Select TEXT DATA for Text||Required||Select a String-type Data Item (multiple lines) that is storing the text you want to post|
|X: Select TEXT DATA for Log||Optional||Specify a String-type Data Item to store log output if needed|
* If you set up the following as the initial value in the text field of a Data Item, the wording to be posted will be prepared automatically.
(Substitute the part “XXX.questetra.net” with the value of your own environment.)
Otherwise, there is another method using an [Update Data] before the add-on.
Related document: M227: Auto Executing Data Binding, Arithmetic Operations
When you run it, it will be posted like the following.
Thus, you can insert processing for posting to Hangout Chat into a business flow using only simple settings.
If you have any questions please feel free to Contact us.