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}`,
},
})
},
})
Emit new event when a campaign is created. See the documentation
Emit new event when a template is created. See the documentation
Marks a campaign as active or inactive. See the documentation
The Magic Drip uses API keys for authentication. When you connect your The Magic Drip account, Pipedream securely stores the keys so you can easily authenticate to The Magic Drip APIs in both code and no-code steps.