All-in-one WhatsApp* automation for small teams. Integrate it into your existing workflows easily while you keep using WhatsApp as usual.
Go to siteThe 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`,
},
})
},
})
Customer Support Automation: Automate initial customer interactions on your business's WhatsApp number using a 2Chat-powered chatbot. Set up a Pipedream workflow that triggers whenever a new message is received. The workflow could analyze the message, use AI to understand the query, and either provide an instant reply or escalate complex issues to a human agent. Connect this system to a CRM like Salesforce to log interactions automatically.
Feedback Collection: Use a 2Chat bot to solicit feedback after customer interactions or events. Configure a Pipedream workflow that triggers at the end of a chat session or after a purchase. The workflow can prompt the chatbot to ask for feedback, parse the responses, and save them to a Google Sheets document for analysis and future action.
Event Reminder and Follow-Up: Integrate 2Chat with a calendar app like Google Calendar via Pipedream to manage event reminders and follow-ups. Set up a workflow where the chatbot sends reminders to participants before the event and collects RSVPs or answers inquiries about the event details. After the event, the chatbot can reach out for feedback or provide additional resources related to the event topics.
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.
Checks if a given phone number has a WhatsApp account. See the documentation
Sends a text message to a designated whatsapp-enabled phone number. See the documentation
2Chat uses API keys for authentication. When you connect your 2Chat account, Pipedream securely stores the keys so you can easily authenticate to 2Chat APIs in both code and no-code steps.