with Chat Data and GetResponse?
Emit new event when a landing page is created. See the docs here
Emit new event when a newsletter is created. See the docs here
Create a chatbot with the specified properties. See the documentation
Creates a new newsletter and puts it in a queue to send. See the docs here
Get status of the Chatbot with the specified ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chat_data: {
type: "app",
app: "chat_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chat-data.com/api/v2/current-plan`,
headers: {
Authorization: `Bearer ${this.chat_data.$auth.api_key}`,
},
})
},
})
GetResponse API integrates email marketing and online campaign management tools into your applications for creating and managing mailing lists, newsletters, automated campaigns, and more. With Pipedream, this functionality expands, allowing you to automate workflows between GetResponse and various apps. Integration can trigger actions like updating contacts, processing event-driven emails, or syncing subscriber lists across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getresponse: {
type: "app",
app: "getresponse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getresponse.com/v3/accounts`,
headers: {
"X-Auth-Token": `api-key ${this.getresponse.$auth.api_key}`,
},
})
},
})