CRM Software Solutions Company
Copper CRM's API unlocks the potential to streamline customer relationship management through automation and integration. On Pipedream, this means you can leverage event-driven workflows to sync contacts, manage deals, and automate tasks. Think of it as connecting Copper's insights directly to other apps or databases, triggering events in real-time based on CRM updates or capturing fresh leads instantaneously.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
copper: {
type: "app",
app: "copper",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.prosperworks.com/developer_api/v1/account`,
headers: {
"X-PW-AccessToken": `${this.copper.$auth.api_key}`,
"X-PW-Application": `developer_api`,
"X-PW-UserEmail": `${this.copper.$auth.email}`,
"Content-Type": `application/json`,
},
})
},
})
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gmail: {
type: "app",
app: "gmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
},
})
},
})