Affinity is a collective intelligence CRM
Emit new event each time a record is added, updated, or deleted in an Airtable table. See the documentation
Emit new event for each new or modified field in a table
Emit new event for each new or modified record in a table
Emit new event for each new or modified record in a view
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs. See the documentation
Updates a record if recordId
is provided or adds a record to a table.
With the Affinity API, you can build a variety of applications that work with
Affinity data, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
affinity: {
type: "app",
app: "affinity",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.affinity.co/persons`,
auth: {
username: ``,
password: `${this.affinity.$auth.api_key}`,
},
params: {
term: `doe`,
},
})
},
})
Using the Airtable API, you can build applications that can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable_oauth: {
type: "app",
app: "airtable_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/meta/whoami`,
headers: {
Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
},
})
},
})