What do you want to automate

with Smartlead and RabbitMQ?

Prompt, edit and deploy AI agents that connect to Smartlead, RabbitMQ 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
Integrate the Smartlead API with the RabbitMQ API
Setup the Smartlead API trigger to run a workflow which integrates with the RabbitMQ API. Pipedream's integration platform allows you to integrate Smartlead and RabbitMQ remarkably fast. Free for developers.

Connect Smartlead

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: {
    smartlead: {
      type: "app",
      app: "smartlead",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://server.smartlead.ai/api/v1/client`,
      params: {
        api_key: `${this.smartlead.$auth.api_key}`,
      },
    })
  },
})

Connect RabbitMQ

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import amqp from "amqplib";

export default defineComponent({
  props: {
    rabbitmq: {
      type: "app",
      app: "rabbitmq",
    }
  },
  async run({ steps, $ }) {
    const url = `amqp://${this.rabbitmq.$auth.username}:${this.rabbitmq.$auth.password}@${this.rabbitmq.$auth.host}:${this.rabbitmq.$auth.port}`;
    const connection = await amqp.connect(url);
    const channel = await connection.createChannel();
    const queue = 'Sample Queue';
    await channel.assertQueue(queue, { durable: true });
    const message = 'Welcome RabbitMQ + Pipedream users! ' + new Date().toISOString()
    channel.sendToQueue(queue, Buffer.from(message), { persistent: true });
    console.log(`Sent: ${message}`);
    const queueInfo = await channel.checkQueue(queue);
    return queueInfo;
  },
})

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