with E2B and Wishpond?
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
},
})
Wishpond's API unlocks a world where digital marketing efforts can be automated and customized at scale. With this powerful tool at your disposal on Pipedream, you can create, manage, and track marketing campaigns effortlessly. Leverage Wishpond to capture leads, nurture them through personalized emails, and analyze the performance of your marketing strategies. By integrating with Pipedream, you capitalize on the ability to connect Wishpond with hundreds of apps, triggering actions based on campaign events, syncing leads to CRMs, and automating follow-up tasks without writing a single line of code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wishpond: {
type: "app",
app: "wishpond",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.wishpond.com/api/v1/leads/`,
headers: {
"X-Api-Token": `${this.wishpond.$auth.api_key}`,
},
})
},
})