Crisp

The all-in-one business messaging platform that gathers teams, conversations, data and knowledge, around one place.

Integrate the Crisp API with the Python API

Setup the Crisp API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Crisp and Python remarkably fast. Free for developers.

Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it

Overview of Crisp

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.

Connect Crisp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}