Cross-Platform Contacts App
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contacts: {
type: "app",
app: "contacts",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.contactsplus.com/api/v1/account.get`,
headers: {
Authorization: `Bearer ${this.contacts.$auth.oauth_access_token}`,
},
})
},
})
Using the Airtable API, you can build applications that can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable: {
type: "app",
app: "airtable",
},
baseId: {
type: "$.airtable.baseId",
appProp: "airtable",
},
tableId: {
type: "$.airtable.tableId",
baseIdProp: "baseId",
},
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/${this.baseId}/${this.tableId}`,
headers: {
Authorization: `Bearer ${this.airtable.$auth.api_key}`,
"accept": `application/json`,
},
})
}
})