Email marketing, marketing automation, and CRM tools
Emit an event for each new or modified record in a table
Emit an event for each new or modified record in a view
Emits an event each time a record is added, updated, or deleted in an Airtable table. Supports tables up to 10,000 records
With ActiveCampaign's API, you can build a variety of integrations and
applications to help streamline your business. Here are just a few examples:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
activecampaign: {
type: "app",
app: "activecampaign",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.activecampaign.$auth.base_url}/api/3/accounts`,
headers: {
"Api-Token": `${this.activecampaign.$auth.api_key}`,
},
})
},
})
Using the Airtable API, you can build applications that can:
module.exports = defineComponent({
props: {
airtable: {
type: "app",
app: "airtable",
},
baseId: {
type: "$.airtable.baseId",
appProp: "airtable",
},
tableId: {
type: "$.airtable.tableId",
baseIdProp: "baseId",
},
},
async run({steps, $}) {
const Airtable = require('airtable');
const base = new Airtable({apiKey: this.airtable.$auth.api_key}).base(this.baseId);
const data = []
await base(this.tableId).select({
// pass optional config parameters here
}).eachPage(function page(records, fetchNextPage) {
// This function (`page`) will get called for each page of records.
records.forEach(function(record) {
data.push(record._rawJson)
});
// To fetch the next page of records, call `fetchNextPage`.
// If there are more records, `page` will get called again.
// If there are no more records, `done` will get called.
fetchNextPage();
})
return data
},
})