Grafbase is the easiest way to build and deploy GraphQL backends.
Emit new event when a record of the selected object type is deleted. See the documentation
Emit new event (at regular intervals) when a record of arbitrary object type (selected as an input parameter by the user) is deleted. See the docs for more information.
Emit new event when a new outbound message is received in Salesforce.
Emit new event when a record of the selected object type is created. See the documentation
Adds an existing contact to an existing campaign. See the documentation
Adds an existing lead to an existing campaign. See the documentation
Converts a SOAP XML Object received from Salesforce to JSON
Creates an Attachment on a parent object. See the documentation
The Grafbase API allows you to interact with your Grafbase backend, enabling CRUD operations on your data models, managing authentication, and triggering custom business logic. Grafbase provides real-time updates and serverless deployment which makes it a perfect partner for Pipedream's serverless platform. You can build workflows to automate tasks, integrate with various services, and respond to events without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grafbase: {
type: "app",
app: "grafbase",
}
},
async run({steps, $}) {
const data = {
"query": `{
__schema {
types {
name
}
}
}`,
}
return await axios($, {
method: "post",
url: `${this.grafbase.$auth.url}`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.grafbase.$auth.api_key}`,
},
data,
})
},
})
The Salesforce (REST API) provides a powerful platform for creating and managing customer relationships with a wide array of features like data manipulation, querying, and complex automation. With Pipedream's serverless execution, you can create workflows that automate your sales processes, sync data with other platforms, enhance customer engagement, and trigger actions based on specific events. Dive into Salesforce data, streamline lead management, track customer interactions, and push or pull data to or from Salesforce seamlessly.
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}`,
},
})
},
})