What do you want to automate

with The Magic Drip and Perplexity?

Prompt, edit and deploy AI agents that connect to The Magic Drip, Perplexity 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
Chat Completions with Perplexity API on New Campaign Created from The Magic Drip API
The Magic Drip + Perplexity
 
Try it
Chat Completions with Perplexity API on New Template Created from The Magic Drip API
The Magic Drip + Perplexity
 
Try it
New Campaign Created from the The Magic Drip API

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

 
Try it
New Template Created from the The Magic Drip API

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

 
Try it
Add Lead to Campaign with the The Magic Drip API

Add a lead to a campaign. See the documentation

 
Try it
Chat Completions with the Perplexity API

Generates a model's response for the given chat conversation. See the documentation

 
Try it
List Campaigns with the The Magic Drip API

Retrieve all available campaigns. See the documentation

 
Try it
List Templates with the The Magic Drip API

Retrieve all available templates. See the documentation

 
Try it
Mark Campaign Active or Inactive with the The Magic Drip API

Marks a campaign as active or inactive. See the documentation

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

Connect The Magic Drip

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: {
    the_magic_drip: {
      type: "app",
      app: "the_magic_drip",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.themagicdrip.com/v1/campaign`,
      headers: {
        "x-api-key": `${this.the_magic_drip.$auth.api_key}`,
      },
    })
  },
})

Overview of Perplexity

The Perplexity API offers advanced natural language processing capabilities, enabling users to generate answers, summaries, and insights from texts. Leveraging this API on Pipedream allows for the automation of content analysis, intelligent alert systems, and dynamic data enrichment, integrating seamlessly with various data sources and services for real-time processing.

Connect Perplexity

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
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    perplexity: {
      type: "app",
      app: "perplexity",
    }
  },
  async run({steps, $}) {
    const data = {
      "model": "mistral-7b-instruct",
      "messages": [
        {
          "role": "system",
          "content": "Be precise and concise."
        },
        {
          "role": "user",
          "content": "Can you tell me about the integration platform called Pipedream?"
        }
      ]
    }
    return await axios($, {
      method: "post",
      url: `https://api.perplexity.ai/chat/completions`,
      headers: {
        Authorization: `Bearer ${this.perplexity.$auth.api_key}`,
        "accept": `application/json`,
      },
      data,
    })
  },
})

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