The all-in-one business messaging platform that gathers teams, conversations, data and knowledge, around one place.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Crisp API allows you to tap into the capabilities of the Crisp Chat platform, which includes managing conversations, updating user information, and handling various customer support interactions programmatically. With Pipedream's integration, you can create bespoke workflows that automate actions based on events in Crisp or connect Crisp with other services to streamline customer engagement and support processes. These automations can help in managing leads, providing real-time support notifications, syncing customer data across platforms, and more.
import Crisp from 'crisp-api';
export default defineComponent({
props: {
crisp: {
type: "app",
app: "crisp",
}
},
async run({steps, $}) {
const client = new Crisp();
client.authenticateTier("plugin", this.crisp.$auth.identifier, this.crisp.$auth.key);
return await client.website.listConversations(this.crisp.$auth.website_id, 1)
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})