What do you want to automate

with MQTT and Reflect?

Prompt, edit and deploy AI agents that connect to MQTT, Reflect and 2,500+ 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
New Link Created from the Reflect API

Emit new event when a new link is created. See the documentation

 
Try it
Append Daily Note with the Reflect API

Append to a daily note. See the documentation

 
Try it
Create Link with the Reflect API

Create a new link. See the documentation

 
Try it
Get User with the Reflect API

Retieves information about the authenticated user. See the documentation

 
Try it
List Links with the Reflect API

Retieve all links for a graph. See the documentation

 
Try it
Integrate the MQTT API with the Reflect API
Setup the MQTT API trigger to run a workflow which integrates with the Reflect API. Pipedream's integration platform allows you to integrate MQTT and Reflect 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 Reflect

The Reflect API offers a platform for creating automated tests without writing code. It enables users to build workflows that can record and replay web interactions, check the functionality and performance of web applications, and trigger alerts or actions based on test results. With Pipedream, you can harness the Reflect API to integrate automated testing into complex workflows, combining it with various apps and services for a seamless DevOps experience.

Connect Reflect

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    reflect: {
      type: "app",
      app: "reflect",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://reflect.app/api/users/me`,
      headers: {
        Authorization: `Bearer ${this.reflect.$auth.oauth_access_token}`,
      },
    })
  },
})

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