Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
Triggers when a new column is added to a table. See the documentation
Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.
Triggers when a new row is added or an existing row is updated. See the documentation
Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.
Executes a SQL query and returns the results. See the documentation
Create a draft from your Google Workspace email account. See the documentation
Download an attachment by attachmentId to the /tmp directory. See the documentation
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}`,
},
})
},
})
With the Microsoft SQL Server API on Pipedream, you can automate your database operations and create powerful integrations. This API allows you to execute queries, manage databases, and trigger actions based on data changes. Implementing workflows that react to database events, manipulate data, or synchronize SQL Server data with other services, becomes effortless with Pipedream's serverless platform.
import sql from "mssql"
export default defineComponent({
props: {
microsoft_sql_server: {
type: "app",
app: "microsoft_sql_server",
}
},
async run({steps, $}) {
const { host, username, password, port, database, encrypt,trustServerCertificate } = this.microsoft_sql_server.$auth
const conn_str = `Server=${host},${port};Database=${database};User Id=${username};Password=${password};Encrypt=${encrypt};TrustServerCertificate=${trustServerCertificate}`;
await sql.connect(conn_str);
return await sql.query`SELECT GETDATE()`
},
})