Web services API for interacting with Salesforce
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
Adds an existing contact to an existing campaign. See Event SObject and Create Record
Adds an existing lead to an existing campaign. See Event SObject and Create Record
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Converts a SOAP XML Object received from Salesforce to JSON
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesforce_rest_api: {
type: "app",
app: "salesforce_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.salesforce_rest_api.$auth.instancetype}/services/oauth2/userinfo`,
headers: {
Authorization: `Bearer ${this.salesforce_rest_api.$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`,
},
})
}
})