The Wonderchat API lets you automate interactions with your Wonderchat account, streamlining conversations and enhancing customer engagement. On Pipedream, you can build workflows that trigger on specific events and automate tasks like sending messages, managing contacts, or integrating with CRMs. By coupling the Wonderchat API with Pipedream’s capabilities, you get a powerful synergy where you can seamlessly connect various apps and services, run serverless code, and manipulate data with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wonderchat: {
type: "app",
app: "wonderchat",
}
},
async run({steps, $}) {
const data = {
"apiKey": `${this.wonderchat.$auth.api_key}`,
"chatbotId": `{{your_chatbot_id}}`,
"question": `{{your_queston}}`,
"chatlogId": `{{your_chatlog_id}}`,
"context": `{{your_context}}`,
}
return await axios($, {
method: "POST",
url: `https://app.wonderchat.io/api/v1/chat`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
Automate Welcome Messages: When a new contact is added in Wonderchat, trigger a Pipedream workflow that sends a personalized welcome message. This small touch can significantly impact user experience and retention.
Sync Contacts with CRM: Whenever a contact is updated or tagged in Wonderchat, use a Pipedream workflow to sync these changes to a CRM like Salesforce. Keeping customer information up-to-date across platforms enhances sales and support efforts.
Customer Support Ticketing: Integrate Wonderchat with a ticketing system such as Zendesk. When a conversation on Wonderchat reaches a certain threshold or keyword is detected, create a support ticket in Zendesk to ensure no query goes unnoticed.
Wonderchat uses API keys for authentication. When you connect your Wonderchat account, Pipedream securely stores the keys so you can easily authenticate to Wonderchat APIs in both code and no-code steps.