What do you want to automate

with MQTT and Chatbot Builder?

Prompt, edit and deploy AI agents that connect to MQTT, Chatbot Builder and 3,000+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Tag with the Chatbot Builder API

Creates a new tag in Chatbot Builder. See the documentation

 
Try it
Delete Tag with the Chatbot Builder API

Deletes a tag from Chatbot Builder. See the documentation

 
Try it
List Tags with the Chatbot Builder API

Lists all tags in Chatbot Builder. See the documentation

 
Try it
Integrate the MQTT API with the Chatbot Builder API
Setup the MQTT API trigger to run a workflow which integrates with the Chatbot Builder API. Pipedream's integration platform allows you to integrate MQTT and Chatbot Builder remarkably fast. Free for developers.

Connect MQTT

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import mqtt from "mqtt";

export default defineComponent({
  props: {
    mqtt: {
      type: "app",
      app: "mqtt",
    }
  },
  async run({ steps, $ }) {
    const url = `${this.mqtt.$auth.protocol}://${this.mqtt.$auth.host}:${this.mqtt.$auth.port}`;
    const options = {
      clientId: this.mqtt.$auth.client_id ?? `pipedream-client-${Date.now()}`,
      connectTimeout: 5000,
      username: this.mqtt.$auth.username,
      password: this.mqtt.$auth.password,
    };

    const client = mqtt.connect(url, options);

    await new Promise((resolve) => {
      client.on("connect", () => {
        client.publish("pipedream/test", 'Welcome MQTT + Pipedream users! ' + new Date().toISOString(), () => {
          client.end();
          console.log("Message sent");
          resolve();
        });
      });
    });

    return {
      mqttClientIsConnected: client.connected,
    };
  },
})

Overview of Chatbot Builder

The Chatbot Builder API allows you to create and manage customized chatbots that can interact with users in real-time. Within Pipedream's serverless platform, this API can be harnessed to build powerful workflows that react to messages, automate responses, and integrate with a plethora of other services. With Pipedream, you can set up event-driven processes, making it easy to manage chatbot activities, analyze conversations, and trigger actions in other apps based on chatbot interactions.

Connect Chatbot Builder

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    chatbot_builder: {
      type: "app",
      app: "chatbot_builder",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.chatgptbuilder.io/api/accounts/me`,
      headers: {
        "X-ACCESS-TOKEN": `${this.chatbot_builder.$auth.api_access_token}`,
        "Accept": `application/json`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo