CRM Software Solutions Company
Get a unique address where you can send emails to trigger your workflow.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
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`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});