with 2Chat and Planview Leankit?
Emit new event when a new WhatsApp conversation is started on the user’s 2chat connected number.
Emit new event when a new message is either sent or received on 2Chat.
Emit new event when a WhatsApp order is received on user's 2Chat connected number.
Emit new event when a card is created in a specific lane.
Emit new event when a card is created on a board.
Checks if a given phone number has a WhatsApp account. See the documentation
Create a new card type on a board. See the docs here
Create a comment in a card or task. See the docs here
Add tags in a card or task. See the docs here
The 2Chat API allows developers to build and manage chatbots that can engage users in personalized conversations across various platforms like WhatsApp, Telegram, and more. This API facilitates the creation, training, and integration of chatbots with existing applications, enabling automated responses based on user inputs and behaviors. Utilizing Pipedream's capabilities, developers can orchestrate complex workflows that react to events from 2Chat, process data, and trigger actions in other apps, streamlining communication processes and enhancing user interaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_2chat: {
type: "app",
app: "_2chat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.p.2chat.io/open/contacts/search`,
headers: {
"Content-Type": `application/json`,
"X-User-API-Key": `${this._2chat.$auth.api_key}`,
},
params: {
query: `John`,
results_per_page: `30`,
page_number: `0`,
},
})
},
})
Planview LeanKit API empowers users to automate and integrate their Kanban workflow management. With this API, you can programmatically access boards, cards, and related data to sync with other systems, trigger actions based on board updates, and extract analytics for reporting purposes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planview_leankit: {
type: "app",
app: "planview_leankit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.planview_leankit.$auth.domain}.leankit.com/io/scim/v1/Users`,
auth: {
username: `${this.planview_leankit.$auth.username}`,
password: `${this.planview_leankit.$auth.password}`,
},
})
},
})