Instantly build AI Chatbots with your knowledge base.
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,
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.