with Exa and Gmail?
Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.
Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.
Emit new event for each new email sent. (Maximum of 100 events emited per execution)
Generates LLM-powered responses to queries, informed by Exa search results with citations. Handles both factual queries requiring direct answers and open-ended questions needing detailed summaries. See the documentation
Identifies and retrieves web pages similar to a provided URL with optional content extraction. See the documentation
Suspend the workflow until approved by email. See the documentation
Retrieves full page contents, summaries, and metadata for a list of URLs. Uses cached results with optional live crawling fallback. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
exa: {
type: "app",
app: "exa",
}
},
async run({steps, $}) {
const data = {
"query": `Tell me about Pipedream — what makes it great?`,
}
return await axios($, {
method: "post",
url: `https://api.exa.ai/search`,
headers: {
"x-api-key": `${this.exa.$auth.api_key}`,
},
data,
})
},
})
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gmail: {
type: "app",
app: "gmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
},
})
},
})