BotPenguin lets you create and deploy chatbots for website, WhatsApp, Facebook and Telegram with no coding.
Emit new event when a user interacts with the bot and a new contact or lead is created.
Emit new event for each new incoming message from a user.
Emits an event each time a new contact is created in Zoho CRM
Adds a new WhatsApp contact to your BotPenguin account. See the documentation
Converts a Lead into a Contact or an Account. See the documentation
Downloads an attachment file from Zoho CRM, saves it in the temporary file system and exports the file path for use in a future step.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
botpenguin: {
type: "app",
app: "botpenguin",
}
},
async run({steps, $}) {
const data = [
{
"profile": {
"userDetails": {
"name": "BPTest",
"contact": {
"email": "test@example.com",
"phone": {
"number": "90123456789",
"prefix": "91"
}
},
"tags": [],
"attributes": [],
"userProvidedName": "BPTest"
}
}
}
]
return await axios($, {
method: "post",
url: `https://api.v7.botpenguin.com/inbox/users/import`,
headers: {
Authorization: `Bearer ${this.botpenguin.$auth.access_token}`,
"botid": `${this.botpenguin.$auth.bot_id}`,
"authtype": `Key`,
},
data,
})
},
})
The Zoho CRM API enables the manipulation and retrieval of data within Zoho CRM, a platform for managing your sales, marketing, support, and inventory in a single system. Leveraging this on Pipedream, you can automate tasks like syncing contacts, updating lead statuses, or creating custom CRM operations that trigger actions in other apps. Pipedream's serverless platform allows for real-time data processing, transforming, and orchestrating workflows that respond to events in Zoho CRM with minimal latency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_crm: {
type: "app",
app: "zoho_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_crm.$auth.api_domain}/crm/v2/users?type=CurrentUser`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_crm.$auth.oauth_access_token}`,
},
})
},
})