Unleash the power of your data—on-premises, in the cloud, or at the edge—and reveal insights to transform your business.
Triggers when a new column is added to a table. See the documentation
Triggers when a new row is added or an existing row is updated. See the documentation
Executes a SQL query and returns the results. See the documentation
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()`
},
})
The SWAPI - Star Wars API is a treasure trove of structured data from the Star Wars universe. It's a go-to resource for fetching information about planets, spaceships, vehicles, people, films, and species from the iconic franchise. Using Pipedream, you can harness this data to create automations and workflows that trigger based on specific criteria from SWAPI. For instance, you could set up a workflow that notifies you when new data is added, enrich customer profiles with their favorite Star Wars characters, or even use it for trivia games by pulling random facts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
swapi: {
type: "app",
app: "swapi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://swapi.dev/api/films/1/`,
})
},
})