PubNub Integration

Gupshup: Trigger Bot Action

IoT Device Control

IoT Device Control

Last Updated:

2017/01/19

Author:

PubNub

Connect your automated bots to realtime data streams

Gupshup is an advanced bot and messaging platform. It enables developers to quickly and easily build, test, deploy and manage chat bots across all messaging channels. The PubNub Gupshup block connects your Gupshup bot to realtime data streams, to trigger action based on an input.

Gupshup: Trigger Bot Action

Walkthrough

This block allows the triggering of Gupshup bot actions by publishing the event payload to a predefined channel.

Input

Publish message on input channel: gupshup-input with the fields to trigger an event. The message will be forwarded to a gupshup block using the botname field as a destination name.

{
    "botname": "bar",
    "response-channel": "resp-channel",
    "text": "BLOCKS"
}

Feedback & Support

Need help? Contact PubNub Support.


Talk to an expert

Contact Sales