What do you want to automate

with chatra and E2B?

Prompt, edit and deploy AI agents that connect to chatra, E2B and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Run Code with the E2B API

Run or interpret code using the E2B service. See the documentation

 
Try it
Integrate the chatra API with the E2B API
Setup the chatra API trigger to run a workflow which integrates with the E2B API. Pipedream's integration platform allows you to integrate chatra and E2B remarkably fast. Free for developers.

Overview of chatra

The Chatra API enables the automation of customer support processes by allowing the programmatic sending of messages, retrieval of chat history, and management of ongoing conversations. With Pipedream's serverless platform, you can harness this API to integrate real-time chat capabilities with other applications, set up automated responses based on specific triggers, and analyze customer interactions to enhance support strategies.

Connect chatra

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    chatra: {
      type: "app",
      app: "chatra",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.chatra.io/api/messages/XGDsxHtLppJTJ3vZk`,
      headers: {
        "Content-Type": `application/json`,
        "Authorization": `Chatra.Simple ${this.chatra.$auth.public_key}:${this.chatra.$auth.secret_key}`,
      },
    })
  },
})

Connect E2B

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import 'dotenv/config';
import { Sandbox } from '@e2b/code-interpreter';

export default defineComponent({
  props: {
    e2b: {
      type: "app",
      app: "e2b",
    }
  },
  async run({steps, $}) {

    const sbx = await Sandbox.create({
        apiKey: this.e2b.$auth.api_key
    }); // By default the sandbox is alive for 5 minutes

    return await sbx.runCode('print("hello world")'); // Execute Python inside the sandbox

  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo