with l3mbda and Zep?
Emit new event when a message is added to a session. See the documentation
Adds memory to an existing session in Zep. See the documentation
The l3mbda API provides a platform to run JavaScript functions in the cloud, allowing you to execute code without setting up servers. On Pipedream, you can leverage the l3mbda API to create dynamic, serverless workflows. This enables you to run custom JavaScript functions as part of an automated process, integrate with other APIs, manipulate data, and respond to webhooks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
l3mbda: {
type: "app",
app: "l3mbda",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clerk.l3mbda.com/oauth/userinfo`,
headers: {
Authorization: `Bearer ${this.l3mbda.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zep: {
type: "app",
app: "zep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getzep.com/api/v2/users-ordered`,
headers: {
"authorization": `Api-Key ${this.zep.$auth.api_key}`,
},
})
},
})