with GetResponse and Data Stores?
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
Add or update a single record in your Pipedream Data Store
Creates a new newsletter and puts it in a queue to send. See the docs here
Add or update multiple records to your Pipedream Data Store
Creates or updates a contact if already exists. See the docs here
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}`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})