with Sellsy and E2B?
The Sellsy API allows you to automate and enhance your customer relationship management and sales processes. Via Pipedream, a serverless integration and automation platform, you can leverage the API to sync data, trigger workflows based on specific actions within Sellsy, and connect Sellsy with a multitude of other services to streamline operations, enhance user engagements, and optimize sales activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sellsy: {
type: "app",
app: "sellsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sellsy.com/v2/teams`,
headers: {
Authorization: `Bearer ${this.sellsy.$auth.oauth_access_token}`,
},
})
},
})
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
},
})