Beautiful, interactive WhatsApp Marketing for all businesses.
Adds a contact to a specific static list. See the documentation
Send a predefined message to a contact within the Peach app. See the documentation
Create or update a batch of contacts by its ID or email. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peach: {
type: "app",
app: "peach",
}
},
async run({steps, $}) {
const data = {
"name": `John Smith`,
"phone_number": `+919876543210`,
"email": `john.smith@example.com`,
}
return await axios($, {
method: "post",
url: `https://app.trypeach.io/api/v1/contacts`,
headers: {
"Authorization": `${this.peach.$auth.api_token}`,
},
data,
})
},
})
The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubspot: {
type: "app",
app: "hubspot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubapi.com/integrations/v1/me`,
headers: {
Authorization: `Bearer ${this.hubspot.$auth.oauth_access_token}`,
},
})
},
})