No-code chatbot that empowers businesses to build conversational experiences using private data.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The BuildChatbot API allows you to create and manage chatbots with ease. This API provides a suite of tools to build conversational AI that can engage with users across various platforms. On Pipedream, you can leverage these capabilities to automate interactions, analyze sentiments, and connect with other services. With Pipedream's serverless platform, you can trigger workflows based on chatbot events, send data to and from your chatbot, and integrate with countless apps to extend functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buildchatbot: {
type: "app",
app: "buildchatbot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.buildchatbot.ai/api/v1/profile_details/`,
headers: {
Authorization: `Bearer ${this.buildchatbot.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})