Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Emit new event when a new opportunity is created in Copper
Emit new event when a person object is newly created in Copper
Relates an existing project with an existing CRM object. See the documentation
Creates a new person or updates an existing one based on email address. See the documentation
Creates a new project or updates an existing one based on the project name. See the documentation
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`,
},
})
},
})