with Ontraport and Google Docs?
Emit new event when a new contact is created. See the docs
Emit new event when a new form is submitted. See the docs
Emit new event when a product is purchased. See the docs
Emit new event when a transaction is created with a product. See the docs
Appends an image to the end of a document. See the documentation
Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. See documentation
Search for a specific file by name. See the documentation for more information
Ontraport's API offers robust capabilities for automating business processes, managing customer relationships, and streamlining marketing efforts. Use it to create dynamic, serverless workflows on Pipedream that react to events in real-time, sync data between services, or enhance customer interactions. With this API, you can automate tasks such as updating contact information, tracking customer behaviors, and sending targeted communications, all customizable to your specific business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ontraport: {
type: "app",
app: "ontraport",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ontraport.com/1/Contacts`,
headers: {
"Api-Key": `${this.ontraport.$auth.api_key}`,
"Api-Appid": `${this.ontraport.$auth.api_appid}`,
},
})
},
})
The Google Docs API allows you to create, read, and update Google Docs programmatically, enabling a wide range of automations and integrations with other apps and services. With Pipedream, you can harness this API to craft custom serverless workflows that trigger on various events, like form submissions, emails, or scheduled times, and perform actions like updating a document, extracting content, or even generating templated reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_docs: {
type: "app",
app: "google_docs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/drive/v3/about?fields=user`,
headers: {
Authorization: `Bearer ${this.google_docs.$auth.oauth_access_token}`,
},
})
},
})