An editorial newsletter tool for writers and publishers
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
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Retrieve records from a table with automatic pagination. Optionally sort and filter results.
Retrieve records in a view with automatic pagination. Optionally sort and filter results.
With the Revue API you can build powerful newsletters that engage and excite
your readers. Create custom newsletters that are tailored to your content and
your audience. Publish rich, mobile-optimized newsletters in minutes by
integrating the Revue API into your website.
With the Revue API you can easily create and deliver newsletters to your
existing subscribers with just a few lines of code. Here are some examples of
what you can build with the Revue API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revue: {
type: "app",
app: "revue",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.getrevue.co/api/v2/accounts/me`,
headers: {
"Authorization": `Token ${this.revue.$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
},
})