with xAI and Instantly?
Emit new event when a new background job has completed. See the documentation
Emit new event when a new email is received. See the documentation
Emit new event when an activity occurs in your Instantly workspace.
Emit new event when a new lead is created. See the documentation
Create an embedding vector representation corresponding to the input text. See the documentation
Adds a lead or leads to a campaign for tracking or further actions. See the documentation
Create a language model response for a chat conversation. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
x_ai: {
type: "app",
app: "x_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.x.ai/v1/models`,
headers: {
Authorization: `Bearer ${this.x_ai.$auth.api_key}`,
}
})
},
})
import { axios } from "@Pipedream/platform"
export default defineComponent({
props: {
instantly: {
type: "app",
app: "instantly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.instantly.ai/api/v2/accounts`,
headers: {
Authorization: `Bearer ${this.instantly.$auth.api_key}`,
},
})
},
})